LLVM 23.0.0git
LFIAsmParser Class Reference
Inheritance diagram for LFIAsmParser:
[legend]

Public Member Functions

 LFIAsmParser (MCLFIRewriter *Exp)
void Initialize (MCAsmParser &Parser) override
 Initialize the extension for parsing using the given Parser.
bool parseRewriteDisable (StringRef Directive, SMLoc Loc)
 ::= {.lfi_rewrite_disable}
bool parseRewriteEnable (StringRef Directive, SMLoc Loc)
 ::= {.lfi_rewrite_enable}
Public Member Functions inherited from llvm::MCAsmParserExtension
 MCAsmParserExtension (const MCAsmParserExtension &)=delete
MCAsmParserExtensionoperator= (const MCAsmParserExtension &)=delete
virtual ~MCAsmParserExtension ()
MCContextgetContext ()
AsmLexergetLexer ()
const AsmLexergetLexer () const
MCAsmParsergetParser ()
const MCAsmParsergetParser () const
SourceMgrgetSourceManager ()
MCStreamergetStreamer ()
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 AsmTokenLex ()
const AsmTokengetTok ()
bool parseToken (AsmToken::TokenKind T, const Twine &Msg="unexpected token")
bool parseEOL ()
bool parseMany (function_ref< bool()> parseOne, bool hasComma=true)
bool parseOptionalToken (AsmToken::TokenKind T)
bool parseDirectiveCGProfile (StringRef, SMLoc)
 parseDirectiveCGProfile ::= .cg_profile identifier, identifier, <number>
bool maybeParseUniqueID (int64_t &UniqueID)
bool check (bool P, const Twine &Msg)
bool check (bool P, SMLoc Loc, const Twine &Msg)
bool addErrorSuffix (const Twine &Suffix)
bool HasBracketExpressions () const

Additional Inherited Members

Protected Member Functions inherited from llvm::MCAsmParserExtension
 MCAsmParserExtension ()
Static Protected Member Functions inherited from llvm::MCAsmParserExtension
template<typename T, bool(T::*)(StringRef, SMLoc) Handler>
static bool HandleDirective (MCAsmParserExtension *Target, StringRef Directive, SMLoc DirectiveLoc)
Protected Attributes inherited from llvm::MCAsmParserExtension
bool BracketExpressionsSupported = false

Detailed Description

Definition at line 19 of file LFIAsmParser.cpp.

Constructor & Destructor Documentation

◆ LFIAsmParser()

LFIAsmParser::LFIAsmParser ( MCLFIRewriter * Exp)
inline

Definition at line 30 of file LFIAsmParser.cpp.

Member Function Documentation

◆ Initialize()

void LFIAsmParser::Initialize ( MCAsmParser & Parser)
inlineoverridevirtual

Initialize the extension for parsing using the given Parser.

The extension should use the AsmParser interfaces to register its parsing routines.

Reimplemented from llvm::MCAsmParserExtension.

Definition at line 31 of file LFIAsmParser.cpp.

References llvm::MCAsmParserExtension::Initialize().

◆ parseRewriteDisable()

◆ parseRewriteEnable()


The documentation for this class was generated from the following file: