Displaying 2 results from an estimated 2 matches for "tp25638981p25640284".
Did you mean:
tp25638981p25640242
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
Hey Oscar,
I want to extract information from the instruction.
Think writing a simple interpreter.
I already have the CallInst instance (described above in the message).
Via ci->getOperand(1) say I can get the 'i32 8' parameter and I can get the
'i32' and '8' separately as Nick described.
But I need to extract the %0 from the CallInst instance somehow. I am not
sure
2009 Sep 28
3
[LLVMdev] Printing Function Arguments
ivtm <martinaide1 at yahoo.com> writes:
> Another question, I need to get the "%0" below in the:
>
> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1]
>
> that is, the return register.
What information do you want, exactly?
In your example, %0 is the CallInst. So if you have
CallInst *ci = CallInst::Create(...
then use `ci' whenever