17 : MCOptions(MCOptions), STI(&STI), MII(MII) {}
47 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.
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)
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.