[LLVMdev] Moving Instructions.

Devang Patel devang.patel at gmail.com
Mon Apr 5 15:01:58 PDT 2010


See Instruction.h
-
Devang

On Mon, Apr 5, 2010 at 11:45 AM, Rohith Goparaju <rgoparaj at umail.iu.edu> wrote:
> Hi,
>
>  Is there a way in which i can move an instruction from one basicblock to
> another?.(without giving the instruction a new name).
>  I'm actually trying to move the body of a given loop into  a new function.
> If i would be able to move basicblocks's that would be ideal. So is there a
> way to move a basicblock into a function?.
>
> Thanks,
> Rohith.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list