[llvm-dev] how to get the instruction from the operand
Hui Zhang via llvm-dev
llvm-dev at lists.llvm.org
Thu Aug 20 19:12:48 PDT 2015
Hello,
for example, I have the llvm bitcode:
%1 = getelementptr inbounds %People %localPeople, i32 0, i32 1
store i32* %1 i32** %temp
if I have the pointer to the temp, which is 'Value *temp', how do I get
'Value *localPeople' ? Is there any way to back traverse the instruction ?
thanks !
--
Best regards
Hui Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150820/8f92864d/attachment.html>
More information about the llvm-dev
mailing list