Displaying 1 result from an estimated 1 matches for "ec968b82".
Did you mean:
8c96eb82
2013 Aug 27
1
[LLVMdev] adding customized functions to the modules
I am new to llvm, so I apologise for the trivial question.
I have an AST from antlr, and I am walking the tree and generating llvm IR
from it. When I get a function definition, I call
<module>->getOrInsertFunction(..). But, my function arguments can have
parameter or return types not defined in enum TypeID. So, is there a way
to map such functions? Or is the only way to do this is to