Displaying 2 results from an estimated 2 matches for "asmreader".
2009 Sep 23
1
[LLVMdev] Extending LLVM: Adding instructions, intrinsics, types, etc.
Hello all,
I am trying to add a new type; however, I found the information in the web
site out of date. The modification was: 2008-12-11 12:23:24 -0600.
I am interested in the below files:
1. llvm/lib/AsmReader/Lexer.l: add ability to parse in the type from text
assembly
2. llvm/lib/AsmReader/llvmAsmParser.y: add a token for that type
I could not find them.
Could someone tell me what will be new way to add a type.
Thanks in advance,
--
Juan Carlos
-------------- next part --------------
An HTML...
2009 Jun 28
0
[LLVMdev] The document fault in llvm doc. And a comiling error
...Lattner
In section
Adding a new instruction
4.llvm/lib/AsmParser/Lexer.l: add a new token to parse your instruction
from assembly text file
5.llvm/lib/AsmParser/llvmAsmParser.y: add the grammar on how your
instruction can be read and what it will construct as a result
Adding a new type
3.llvm/lib/AsmReader/Lexer.l: add ability to parse in the type from text
assembly
4.llvm/lib/AsmReader/llvmAsmParser.y: add a token for that type
also, this file need to add a meta data that set charset to utf-8
such as <meta http-equiv="content-type" content="text/html; charset=UTF-8">
and...