|
| | MCTargetAsmParser (const MCTargetAsmParser &)=delete |
| |
| MCTargetAsmParser & | operator= (const MCTargetAsmParser &)=delete |
| |
| | ~MCTargetAsmParser () override |
| |
| const MCSubtargetInfo & | getSTI () const |
| |
| const FeatureBitset & | getAvailableFeatures () const |
| |
| void | setAvailableFeatures (const FeatureBitset &Value) |
| |
| bool | isParsingInlineAsm () |
| |
| void | setParsingInlineAsm (bool Value) |
| |
| MCTargetOptions | getTargetOptions () const |
| |
| void | setSemaCallback (MCAsmParserSemaCallback *Callback) |
| |
| virtual bool | parsePrimaryExpr (const MCExpr *&Res, SMLoc &EndLoc) |
| |
| virtual bool | ParseRegister (unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc)=0 |
| |
| virtual bool | ParseInstruction (ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands)=0 |
| | ParseInstruction - Parse one assembly instruction. More...
|
| |
| virtual bool | ParseInstruction (ParseInstructionInfo &Info, StringRef Name, AsmToken Token, OperandVector &Operands) |
| |
| virtual bool | ParseDirective (AsmToken DirectiveID)=0 |
| | ParseDirective - Parse a target specific assembler directive. More...
|
| |
| virtual bool | MatchAndEmitInstruction (SMLoc IDLoc, unsigned &Opcode, OperandVector &Operands, MCStreamer &Out, uint64_t &ErrorInfo, bool MatchingInlineAsm)=0 |
| | MatchAndEmitInstruction - Recognize a series of operands of a parsed instruction as an actual MCInst and emit it to the specified MCStreamer. More...
|
| |
| virtual bool | OmitRegisterFromClobberLists (unsigned RegNo) |
| | Allows targets to let registers opt out of clobber lists. More...
|
| |
| virtual unsigned | validateTargetOperandClass (MCParsedAsmOperand &Op, unsigned Kind) |
| | Allow a target to add special case operand matching for things that tblgen doesn't/can't handle effectively. More...
|
| |
| virtual unsigned | checkEarlyTargetMatchPredicate (MCInst &Inst, const OperandVector &Operands) |
| | Validate the instruction match against any complex target predicates before rendering any operands to it. More...
|
| |
| virtual unsigned | checkTargetMatchPredicate (MCInst &Inst) |
| | checkTargetMatchPredicate - Validate the instruction match against any complex target predicates not expressible via match classes. More...
|
| |
| virtual void | convertToMapAndConstraints (unsigned Kind, const OperandVector &Operands)=0 |
| |
| virtual bool | regsEqual (const MCParsedAsmOperand &Op1, const MCParsedAsmOperand &Op2) const |
| | Returns whether two registers are equal and is used by the tied-operands checks in the AsmMatcher. More...
|
| |
| virtual bool | equalIsAsmAssignment () |
| |
| virtual bool | isLabel (AsmToken &Token) |
| |
| virtual bool | starIsStartOfStatement () |
| |
| virtual const MCExpr * | applyModifierToExpr (const MCExpr *E, MCSymbolRefExpr::VariantKind, MCContext &Ctx) |
| |
| virtual void | doBeforeLabelEmit (MCSymbol *Symbol) |
| |
| virtual void | onLabelParsed (MCSymbol *Symbol) |
| |
| virtual void | flushPendingInstructions (MCStreamer &Out) |
| | Ensure that all previously parsed instructions have been emitted to the output streamer, if the target does not emit them immediately. More...
|
| |
| virtual const MCExpr * | createTargetUnaryExpr (const MCExpr *E, AsmToken::TokenKind OperatorToken, MCContext &Ctx) |
| |
| virtual void | onEndOfFile () |
| |
| | MCAsmParserExtension (const MCAsmParserExtension &)=delete |
| |
| MCAsmParserExtension & | operator= (const MCAsmParserExtension &)=delete |
| |
| virtual | ~MCAsmParserExtension () |
| |
| virtual void | Initialize (MCAsmParser &Parser) |
| | Initialize the extension for parsing using the given Parser. More...
|
| |
| MCContext & | getContext () |
| |
| MCAsmLexer & | getLexer () |
| |
| const MCAsmLexer & | getLexer () const |
| |
| MCAsmParser & | getParser () |
| |
| const MCAsmParser & | getParser () const |
| |
| SourceMgr & | getSourceManager () |
| |
| MCStreamer & | getStreamer () |
| |
| bool | Warning (SMLoc L, const Twine &Msg) |
| |
| bool | Error (SMLoc L, const Twine &Msg, SMRange Range=SMRange()) |
| |
| void | Note (SMLoc L, const Twine &Msg) |
| |
| bool | TokError (const Twine &Msg) |
| |
| const AsmToken & | Lex () |
| |
| const AsmToken & | getTok () |
| |
| bool | parseToken (AsmToken::TokenKind T, const Twine &Msg="unexpected token") |
| |
| bool | parseMany (function_ref< bool()> parseOne, bool hasComma=true) |
| |
| bool | parseOptionalToken (AsmToken::TokenKind T) |
| |
| bool | check (bool P, const Twine &Msg) |
| |
| bool | check (bool P, SMLoc Loc, const Twine &Msg) |
| |
| bool | addErrorSuffix (const Twine &Suffix) |
| |
| bool | HasBracketExpressions () const |
| |
MCTargetAsmParser - Generic interface to target specific assembly parsers.
Definition at line 310 of file MCTargetAsmParser.h.