[llvm-dev] Insert function definition at the top of the module
Jajoo, Malhar via llvm-dev
llvm-dev at lists.llvm.org
Tue May 23 08:32:47 PDT 2017
Hi,
Just have a question here,
Short:
How would you insert a function definition at the top of the LLVM Module?
Long:
I'm trying to create monomorphic functions , so when I encounter a function call ,
I create concrete types for the template function.
While I'm doing this , i need to codegen the function definition at the top of the module ,
in order for my function call to execute correctly.
Any clue as to how this can be done ?
Thanks ,
Malhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170523/23214a56/attachment.html>
More information about the llvm-dev
mailing list