Home | History | Annotate | Download | only in MCParser

Lines Matching refs:AsmParser

1 //===- AsmParser.cpp - Parser for Assembly Files --------------------------===//
113 class AsmParser : public MCAsmParser {
114 AsmParser(const AsmParser &) = delete;
115 void operator=(const AsmParser &) = delete;
176 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
178 ~AsmParser() override;
489 AsmParser::AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
520 AsmParser::~AsmParser() {
525 void AsmParser::printMacroInstantiations() {
535 void AsmParser::Note(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
540 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
548 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
555 bool AsmParser::enterIncludeFile(const std::string &Filename) {
570 bool AsmParser::processIncbinFile(const std::string &Filename) {
582 void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) {
588 const AsmToken &AsmParser::Lex() {
607 bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
690 void AsmParser::checkForValidSection() {
698 void AsmParser::eatToEndOfStatement() {
707 StringRef AsmParser::parseStringToEndOfStatement() {
717 StringRef AsmParser::parseStringToComma() {
733 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
748 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
764 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
941 bool AsmParser::parseExpression(const MCExpr *&Res) {
947 AsmParser::applyModifierToExpr(const MCExpr *E,
1010 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1048 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1053 bool AsmParser::parseAbsoluteExpression(int64_t &Res) {
1145 bool AsmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res,
1179 bool AsmParser::parseStatement(ParseStatementInfo &Info,
1655 void AsmParser::eatToEndOfLine() {
1665 bool AsmParser::parseCppHashLineFilenameComment(const SMLoc &L) {
1700 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
1701 const AsmParser *Parser = static_cast<const AsmParser *>(Context);
1761 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
1920 bool AsmParser::parseMacroArgument(MCAsmMacroArgument &MA, bool Vararg) {
1988 bool AsmParser::parseMacroArguments(const MCAsmMacro *M,
2089 const MCAsmMacro *AsmParser::lookupMacro(StringRef Name) {
2094 void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) {
2098 void AsmParser::undefineMacro(StringRef Name) { MacroMap.erase(Name); }
2100 bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) {
2140 void AsmParser::handleMacroExit() {
2173 bool AsmParser::parseAssignment(StringRef Name, bool allow_redef,
2238 bool AsmParser::parseIdentifier(StringRef &Res) {
2277 bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) {
2290 bool AsmParser::parseEscapedString(std::string &Data) {
2350 bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2383 bool AsmParser::parseDirectiveValue(unsigned Size) {
2419 bool AsmParser::parseDirectiveOctaValue() {
2469 bool AsmParser::parseDirectiveRealValue(const fltSemantics &Semantics) {
2527 bool AsmParser::parseDirectiveZero() {
2553 bool AsmParser::parseDirectiveFill() {
2623 bool AsmParser::parseDirectiveOrg() {
2658 bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
2753 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) {
2811 bool AsmParser::parseDirectiveLine() {
2836 bool AsmParser::parseDirectiveLoc() {
2932 bool AsmParser::parseDirectiveStabs() {
2938 bool AsmParser::parseDirectiveCFISections() {
2969 bool AsmParser::parseDirectiveCFIStartProc() {
2981 bool AsmParser::parseDirectiveCFIEndProc() {
2987 bool AsmParser::parseRegisterOrRegisterNumber(int64_t &Register,
3003 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) {
3022 bool AsmParser::parseDirectiveCFIDefCfaOffset() {
3033 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) {
3052 bool AsmParser::parseDirectiveCFIWindowSave() {
3059 bool AsmParser::parseDirectiveCFIAdjustCfaOffset() {
3070 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) {
3081 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) {
3101 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) {
3145 bool AsmParser::parseDirectiveCFIPersonalityOrLsda(bool IsPersonality) {
3174 bool AsmParser::parseDirectiveCFIRememberState() {
3181 bool AsmParser::parseDirectiveCFIRestoreState() {
3188 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) {
3200 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) {
3211 bool AsmParser::parseDirectiveCFIEscape() {
3234 bool AsmParser::parseDirectiveCFISignalFrame() {
3245 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) {
3258 bool AsmParser::parseDirectiveMacrosOnOff(StringRef Directive) {
3269 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) {
3393 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name,
3483 bool AsmParser::parseDirectiveExitMacro(StringRef Directive) {
3504 bool AsmParser::parseDirectiveEndMacro(StringRef Directive) {
3523 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) {
3540 bool AsmParser::parseDirectiveBundleAlignMode() {
3566 bool AsmParser::parseDirectiveBundleLock() {
3595 bool AsmParser::parseDirectiveBundleUnlock() {
3608 bool AsmParser::parseDirectiveSpace(StringRef IDVal) {
3642 bool AsmParser::parseDirectiveLEB128(bool Signed) {
3668 bool AsmParser::parseDirectiveSymbolAttribute(MCSymbolAttr Attr) {
3701 bool AsmParser::parseDirectiveComm(bool IsLocal) {
3775 bool AsmParser::parseDirectiveAbort() {
3796 bool AsmParser::parseDirectiveInclude() {
3822 bool AsmParser::parseDirectiveIncbin() {
3847 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) {
3894 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
3918 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) {
3948 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) {
3994 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
4021 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) {
4052 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) {
4076 bool AsmParser::parseDirectiveEnd(SMLoc DirectiveLoc) {
4091 bool AsmParser::parseDirectiveError(SMLoc L, bool WithMessage) {
4120 bool AsmParser::parseDirectiveWarning(SMLoc L) {
4146 bool AsmParser
4163 void AsmParser::initializeDirectiveKindMap() {
4281 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) {
4325 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
4346 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc, StringRef Dir) {
4387 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) {
4427 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) {
4472 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) {
4484 bool AsmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
4501 bool AsmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
4541 bool AsmParser::parseMSInlineAsm(
4748 return new AsmParser(SM, C, Out, MAI);