[LLVMdev] Question about function arguments

Duncan Sands baldrick at free.fr
Thu Jul 22 00:34:02 PDT 2010


Hi Hemanth,

> Thanks for the clarification. My doubt is to know how I can extract the
> values contained in the arguments from LLVM IR.

the argument *is* the value, it doesn't need to be extracted: just pass
the argument as an operand when creating your instruction.

Ciao,

Duncan.



More information about the llvm-dev mailing list