18 : MCOptions(MCOptions), STI(&STI), MII(MII) {}
48 if (
getTok().getLoc() != StartTokLoc)
Target independent representation for an assembler token.
const AsmToken & getTok()
MCAsmParser & getParser()
MCSubtargetInfo & getSubtargetCopy(const MCSubtargetInfo &STI)
Interface to description of machine instruction set.
MCParsedAsmOperand - This abstract class represents a source-level assembly instruction operand.
virtual bool isReg() const =0
isReg - Is this a register operand?
virtual MCRegister getReg() const =0
Generic base class for all target subtargets.
virtual ParseStatus parseDirective(AsmToken DirectiveID)
Parses a target-specific assembler directive.
MCSubtargetInfo & copySTI()
Create a copy of STI and return a non-const reference to it.
virtual bool ParseDirective(AsmToken DirectiveID)
ParseDirective - Parse a target specific assembler directive This method is deprecated,...
MCTargetAsmParser(MCTargetOptions const &, const MCSubtargetInfo &STI, const MCInstrInfo &MII)
virtual bool areEqualRegs(const MCParsedAsmOperand &Op1, const MCParsedAsmOperand &Op2) const
Returns whether two operands are registers and are equal.
const MCSubtargetInfo & getSTI() const
~MCTargetAsmParser() override
const MCSubtargetInfo * STI
Current STI.
Ternary parse status returned by various parse* methods.
static constexpr StatusTy Failure
static constexpr StatusTy Success
static constexpr StatusTy NoMatch
Represents a location in source code.
This is an optimization pass for GlobalISel generic memory operations.