Displaying 3 results from an estimated 3 matches for "tp25638981p25639806".
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
ivtm wrote:
> I am processing the LLVM instructions and right now I am at the 'call'
> instruction.
> For now I just want to print the argument type.
>
> For example in the following:
>
> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1]
>
> I need to get access to 'i32' and '8' separately.
>
> I do:
>
>
2009 Sep 28
2
[LLVMdev] Printing Function Arguments
I am processing the LLVM instructions and right now I am at the 'call'
instruction.
For now I just want to print the argument type.
For example in the following:
%0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1]
I need to get access to 'i32' and '8' separately.
I do:
CallInst *CI = dyn_cast<CallInst>(I);
Value *v = CI->getOperand(1)
2009 Sep 28
3
[LLVMdev] Printing Function Arguments
...> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
View this message in context: http://www.nabble.com/Printing-Function-Arguments-tp25638981p25639806.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.