search for: emilythomas007

Displaying 5 results from an estimated 5 matches for "emilythomas007".

2013 Aug 14
2
[LLVMdev] gerate LLVM IR from an AST output from ANTLR
Hi, I am a complete newbie to LLVM. I have an ANTLR parser, that outputs an AST. I want to comvert this AST to a LLVM IR, Can someone point me some relevant documentation/examples/ etc. on how to go about doing this? TIA. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130814/919cb805/attachment.html>
2013 Aug 14
0
[LLVMdev] gerate LLVM IR from an AST output from ANTLR
On Wed, Aug 14, 2013 at 12:31 PM, emily thomas <emilythomas007 at gmail.com>wrote: > Hi, > I am a complete newbie to LLVM. I have an ANTLR parser, that outputs an > AST. I want to comvert this AST to a LLVM IR, Can someone point me some > relevant documentation/examples/ etc. on how to go about doing this? > TIA. > > http://llvm.org/...
2013 Aug 15
1
[LLVMdev] gerate LLVM IR from an AST output from ANTLR
...er. I already have an AST, and if I dont want to touch the parser code, is there a way to generate the IR? or do I just walk the tree and generate the iR? On Wed, Aug 14, 2013 at 3:36 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Wed, Aug 14, 2013 at 12:31 PM, emily thomas <emilythomas007 at gmail.com>wrote: > >> Hi, >> I am a complete newbie to LLVM. I have an ANTLR parser, that outputs an >> AST. I want to comvert this AST to a LLVM IR, Can someone point me some >> relevant documentation/examples/ etc. on how to go about doing this? >> TIA. &gt...
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
2013 Sep 10
1
[LLVMdev] function creation question
I have an AST, and I walk it to generate llvm-IR. For function definitions, I need to be able to generate functions : vector<datatypes> foo (param_list) i.e. my return value is a vector of different datatype.s, similar to the param list. My question is, what do i put my elelment type in the vector? It can be a vector of any of the element types.. i.e. the first value can be a float, the