Displaying 4 results from an estimated 4 matches for "pconst".
Did you mean:
const
2015 May 17
2
[LLVMdev] copy value of a global's data field to another global
Hi all,
I can get access to the data stored in globals as follows:
GlobalVariable* pGvarAct=_set_a_valid_global_;
const_ptr_indicesVec=_the_indexes_
llvm::Constant* pConst;
pConst=ConstantExpr::getGetElementPtr(pGvarAct, const_ptr_indicesVec);
and e.g. use this to repalece an argumrnt of an instruction like:
I->setOperand(someArgumentIndex,pConst);
However, getGetElementPtr returns a pointerType, which holds the actual type
as sub_type.
This is a problem when...
2015 May 18
2
[LLVMdev] copy value of a global's data field to another global
...dey
> <alexander.poddey at gmx.net
>> wrote:
>
>> Hi all,
>>
>> I can get access to the data stored in globals as follows:
>>
>> GlobalVariable* pGvarAct=_set_a_valid_global_;
>> const_ptr_indicesVec=_the_indexes_
>>
>> llvm::Constant* pConst;
>> pConst=ConstantExpr::getGetElementPtr(pGvarAct, const_ptr_indicesVec);
>>
>> and e.g. use this to repalece an argumrnt of an instruction like:
>>
>> I->setOperand(someArgumentIndex,pConst);
>>
>> However, getGetElementPtr returns a pointerType, which...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan,
Sorry for the delay. It's great that you are working on MergeFunctions
as well and I agree, we should definitely try to combine our efforts to
improve MergeFunctions.
Just to give you some context, the pass (with the similar function
merging patch) is already being used in a production setting. From my
point of view, it would be better if we focus on improving its
capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...4 199017 0 0.02 198980 0 0.02 198980
pc1cod.ll 4 30661 0 0.01 30635 0 0.01 30635
pcfrac.ll 17 134568 0 0.02 134541 0 0.02 134541
pcg.ll 17 72576 0 0.01 72547 * * *
pcg_struct.ll 16 19663 0 0.01 19634 0 0.01 19634
pcmp.ll 2 17108 0 0.01 17081 0 0.01 17081
pcompress2.ll 1 5430 0 0.01 5400 0 0.01 5400
pconst.ll 0 1193 0 0.01 1166 0 0.01 1166
pdivmod.ll 1 56092 0 0.01 56065 0 0.02 56065
penalty.ll 1 2377 0 0.01 2352 0 0.01 2352
PercentPrinter.ll 6 21343 0 0.01 21307 0 0.01 19541
perimeter.ll 1 12967 0 0.01 12934 0 0.01 12934
perlin.ll 6 22935 0 0.01 22920 0 0.01 22920
Perm.ll 7 10057 0 0.01 10038 0 0.01...