search for: desired_opcode

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

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 alread...
2011 Aug 27
4
[LLVMdev] How to break/iterate over nested instructions.
...have a work around if breaking is not possible, but I think it may be a common requirement by other passes too. Thanks! Manish On Sat, Aug 27, 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....
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 (...
2011 Aug 28
0
[LLVMdev] How to break/iterate over nested instructions.
...ement by other passes too. > > Thanks! > Manish > > On Sat, Aug 27, 2011 at 12:41 AM, Duncan Sands <baldrick at free.fr > <mailto: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...