[LLVMdev] How to break/iterate over nested instructions.

Manish Gupta manishg at cs.ucsd.edu
Fri Aug 26 18:34:13 PDT 2011


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/20110826/5095603a/attachment.html>


More information about the llvm-dev mailing list