[LLVMdev] Getting the memory address of all operands on an expression

Abhinash Jain omnia at mailinator.com
Mon Jun 17 23:49:21 PDT 2013


> in LLVM IR, the operands of most expression are registers, so don't have a
memory address.

Yes I agree with your this statement,
But before becoming part of the expressions, the registers will actually
fetch some value from memory, through Load operations.
as shown in example "r3=r1+r2" will be the expression, where registers such
as r1 and r2 contains (fetch) the values from the memory address b and c
resp. .
I want to know the way through which i can get this memory address of b and
c (in hexadecimal format).





--
View this message in context: http://llvm.1065342.n5.nabble.com/Getting-the-memory-address-of-all-operands-on-an-expression-tp58435p58583.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list