Displaying 3 results from an estimated 3 matches for "isasmparser".
Did you mean:
asmparser
2013 Oct 02
1
[LLVMdev] [TableGen][AsmParser][MC] isAsmParserOnly flag in class Instruction
Hi Jim,
I did look at the ARMAsmParser and it seems to me that it is using a switch/case construct to change the opcode and the operands, but this construct may become too large eventually. I was wondering if it is possible to use isAsmParser only flag to call dedicated methods, like dedicated parsers for AsmOperands.
Regards
Vladimir
________________________________
From: Jim Grosbach [grosbach at apple.com]
Sent: Wednesday, October 02, 2013 4:46 AM
To: Vladimir Medic
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] [TableGen][AsmPa...
2013 Oct 02
0
[LLVMdev] [TableGen][AsmParser][MC] isAsmParserOnly flag in class Instruction
...in MipsAsmParser in a post processing methods, but I would like to at least be able to easily identify them, and if possible call some method that handles this to avoid giant switch/case structure in method that processes them. I have seen that in Target.td file in class instruction there is a flag isAsmParserOnly which could be used to mark these macros:
> // Is this instruction a pseudo instruction for use by the assembler parser.
> bit isAsmParserOnly = 0;
>
> but, as far as I can tell, this flag is not available to the AsmParser nor it can be accessed via MCInstrDesc class that we im...
2013 Oct 01
2
[LLVMdev] [TableGen][AsmParser][MC] isAsmParserOnly flag in class Instruction
...in MipsAsmParser in a post processing methods, but I would like to at least be able to easily identify them, and if possible call some method that handles this to avoid giant switch/case structure in method that processes them. I have seen that in Target.td file in class instruction there is a flag isAsmParserOnly which could be used to mark these macros:
// Is this instruction a pseudo instruction for use by the assembler parser.
bit isAsmParserOnly = 0;
but, as far as I can tell, this flag is not available to the AsmParser nor it can be accessed via MCInstrDesc class that we import as externally d...