Displaying 4 results from an estimated 4 matches for "ext228".
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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/201108...
2011 Aug 27
4
[LLVMdev] How to break/iterate over nested instructions.
...er 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?
>
> Ciao, Duncan.
>
> Please let me know
> > if there is al...
2011 Aug 27
0
[LLVMdev] How to break/iterate over nested instructions.
...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?
Ciao, Duncan.
Please let me know
> if there is already existing method in llvm to do the job.
>
> Than...
2011 Aug 28
0
[LLVMdev] How to break/iterate over nested instructions.
...pCode ==
> 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?
>
> Ciao, Duncan.
>
> Please let me k...