search for: ptr229

Displaying 4 results from an estimated 4 matches for "ptr229".

2011 Aug 27
2
[LLVMdev] How to break/iterate over nested instructions.
Dear All, I wish to iterate over all instructions (where opCode == desired_opCode). I could iterate over all the instruction expect the nested instructions like: %add.ptr229 = getelementptr inbounds i8* getelementptr inbounds ([4096 x i8]* @_Func1, i32 0, i32 0), i64 %idx.ext228 I wish to break this nested instruction in two instructions. Please let me know if there is already existing method in llvm to do the job. Thanks, Manish -------------- next part ------------...
2011 Aug 27
4
[LLVMdev] How to break/iterate over nested instructions.
...7, 2011 at 12:41 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Manish, > > > I wish to iterate over all instructions (where opCode == desired_opCode). > I > > could iterate over all the instruction expect the nested instructions > like: > > > > %add.ptr229 = getelementptr inbounds i8* getelementptr inbounds ([4096 > x i8]* > > @_Func1, i32 0, i32 0), i64 %idx.ext228 > > this is not a nested instruction. The inner getelementptr is a > ConstantExpr > (a constant) not an instruction. > > > I wish to break this nested instr...
2011 Aug 27
0
[LLVMdev] How to break/iterate over nested instructions.
Hi Manish, > I wish to iterate over all instructions (where opCode == desired_opCode). I > could iterate over all the instruction expect the nested instructions like: > > %add.ptr229 = getelementptr inbounds i8* getelementptr inbounds ([4096 x i8]* > @_Func1, i32 0, i32 0), i64 %idx.ext228 this is not a nested instruction. The inner getelementptr is a ConstantExpr (a constant) not an instruction. > I wish to break this nested instruction in two instructions. Why? Cia...
2011 Aug 28
0
[LLVMdev] How to break/iterate over nested instructions.
...o:baldrick at free.fr>> wrote: > > Hi Manish, > > > I wish to iterate over all instructions (where opCode == > desired_opCode). I > > could iterate over all the instruction expect the nested > instructions like: > > > > %add.ptr229 = getelementptr inbounds i8* getelementptr > inbounds ([4096 x i8]* > > @_Func1, i32 0, i32 0), i64 %idx.ext228 > > this is not a nested instruction. The inner getelementptr is a > ConstantExpr > (a constant) not an instruction. > > > I wish to...