[LLVMdev] obtain the address and size of LLVM generated temporaries

Chuck Zhao czhao at eecg.toronto.edu
Tue Feb 22 14:01:53 PST 2011


I wonder what is the right approach to obtain the address and size of 
LLVM (compiler) generated temporaries?

E.g.

%0 = %x + %y
store i32 i0, i32 %z, align 4

How can I get the address of %0 (which could be either a stack or heap 
variable)?



Thank you

Chuck




More information about the llvm-dev mailing list