Displaying 1 result from an estimated 1 matches for "getelementpr".
Did you mean:
getelementptr
2014 Nov 19
4
[LLVMdev] How to analyze where the address comes from?
Hi,
I want to get the information where the address of load/store comes from,
like below load instruction, %152 may come from a getelementpr, or comes
from some gep+ptrtoint+add+inttoptr... instructions. what's the recommended
way to find the original memory pointer?
%153 = load <2 x i16> addrspace(1)* %152, align 2
going through the use-def chain seems not easy, because the 'add' operation
contains two operands, o...