[LLVMdev] how to get the address of operand

Keoncheol Shin kcshin at arcs.kaist.ac.kr
Tue Oct 30 19:33:15 PDT 2007


Hi,

I tried to write code transformation pass using LLVM.

But I couldn't find how to get the address of some operand (i.e. '&'
operation in C).

If an integer type variable is generated by AllocaInst(), is there any
method to get the address of that variable?

 

Thanks,

Keoncheol

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071031/8f01e5e4/attachment.html>


More information about the llvm-dev mailing list