[LLVMdev] LoadInst result
chisophugis at gmail.com
Sun Feb 2 18:54:00 PST 2014
-- Sean Silva
On Sat, Feb 1, 2014 at 3:43 AM, <nizam at cse.iitm.ac.in> wrote:
> I have a LLVM instruction like the following
> %0 = load i32** %pp, align 8
> I have a LoadInst &inst handle to this instruction. In addition, i could
> access the pointer being loaded from using the inst.getPointerOperand...
> However, is there a way to access the handle to the value being loaded?
> Essentially, i wanted to access the %0 in the statement listed.
> The end goal is to do some amount of points-to analysis. I have this
> pointer %pp being loaded into %0 and later i have a store instruction
> storing %0 into some other pointer. If i cannot establish the %0 link here,
> i would not be able to establish points-to.
> Any help in this regards would be appreciated. Thanks
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev