<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Folks, <div><br></div><div> I have a LLVM instruction like the following
<div><div><br></div><div> %0 = load i32** %pp, align 8</div><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt;"><br></div></div></div><div>I have a LoadInst &inst handle to this instruction. In addition, i could access the pointer being loaded from using the inst.getPointerOperand...</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Any help in this regards would be appreciated. Thanks</div><div><br></div><div>BR/Nizam</div><div><br></div> <br><div><br></div></div></body></html>