[LLVMdev] IR from Callee Dag Node

Reed Kotler rkotler at mips.com
Mon Apr 29 15:24:49 PDT 2013


On 04/28/2013 09:49 PM, reed kotler wrote:
> Is there a way to find the IR that corresponds to a callee DAG node?
>
> In other words to get the function definition, attributes, etc.?
>
> Tia.
>
> Reed

It looks like you can do this by:

1) getParent will return the Module that some global value is in
2) in Module, getFunction will return the function




More information about the llvm-dev mailing list