Displaying 1 result from an estimated 1 matches for "allocaint".
Did you mean:
allocainst
2011 Oct 12
1
[LLVMdev] getting object from BitCastInst?
...eral things like:
GlobalVariable, Function, LoadInst or BitCastInst depending on how
much "indirection" is used.
In the case of BitCastInst my dump shows "%ptr.addr = alloca i8*,
align 8", I would like to isolate this just to "ptr". Ive tried doing
another dyn_cast to AllocaInt, but I couldn't find any relevant
methods. How Can I do this?
BitCastInst *bitcastRHS =
dyn_cast<BitCastInst>(rhs);
if(bitcastRHS != NULL) {
LoadInst *load = dyn_cast<LoadInst>(bitcastRHS->getOperand(0));
if(load != NULL)...