Lines Matching refs:AsmParser
115 class AsmParser : public MCAsmParser { class
116 AsmParser(const AsmParser &) = delete;
117 void operator=(const AsmParser &) = delete;
181 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
183 ~AsmParser() override;
505 AsmParser::AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out, in AsmParser() function in AsmParser
538 AsmParser::~AsmParser() { in ~AsmParser()
543 void AsmParser::printMacroInstantiations() { in printMacroInstantiations()
553 void AsmParser::Note(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) { in Note()
558 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) { in Warning()
568 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) { in Error()
575 bool AsmParser::enterIncludeFile(const std::string &Filename) { in enterIncludeFile()
590 bool AsmParser::processIncbinFile(const std::string &Filename) { in processIncbinFile()
602 void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) { in jumpToLoc()
608 const AsmToken &AsmParser::Lex() { in Lex()
627 bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) { in Run()
709 void AsmParser::checkForValidSection() { in checkForValidSection()
717 void AsmParser::eatToEndOfStatement() { in eatToEndOfStatement()
726 StringRef AsmParser::parseStringToEndOfStatement() { in parseStringToEndOfStatement()
736 StringRef AsmParser::parseStringToComma() { in parseStringToComma()
752 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr()
767 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr()
783 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parsePrimaryExpr()
961 bool AsmParser::parseExpression(const MCExpr *&Res) { in parseExpression()
967 AsmParser::applyModifierToExpr(const MCExpr *E, in applyModifierToExpr()
1030 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseExpression()
1068 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpression()
1073 bool AsmParser::parseParenExprOfDepth(unsigned ParenDepth, const MCExpr *&Res, in parseParenExprOfDepth()
1094 bool AsmParser::parseAbsoluteExpression(int64_t &Res) { in parseAbsoluteExpression()
1261 unsigned AsmParser::getBinOpPrecedence(AsmToken::TokenKind K, in getBinOpPrecedence()
1270 bool AsmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, in parseBinOpRHS()
1304 bool AsmParser::parseStatement(ParseStatementInfo &Info, in parseStatement()
1799 void AsmParser::eatToEndOfLine() { in eatToEndOfLine()
1809 bool AsmParser::parseCppHashLineFilenameComment(SMLoc L) { in parseCppHashLineFilenameComment()
1844 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler()
1845 const AsmParser *Parser = static_cast<const AsmParser *>(Context); in DiagHandler()
1905 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body, in expandMacro()
2072 bool AsmParser::parseMacroArgument(MCAsmMacroArgument &MA, bool Vararg) { in parseMacroArgument()
2140 bool AsmParser::parseMacroArguments(const MCAsmMacro *M, in parseMacroArguments()
2241 const MCAsmMacro *AsmParser::lookupMacro(StringRef Name) { in lookupMacro()
2246 void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) { in defineMacro()
2250 void AsmParser::undefineMacro(StringRef Name) { MacroMap.erase(Name); } in undefineMacro()
2252 bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) { in handleMacroEntry()
2294 void AsmParser::handleMacroExit() { in handleMacroExit()
2304 bool AsmParser::parseAssignment(StringRef Name, bool allow_redef, in parseAssignment()
2330 bool AsmParser::parseIdentifier(StringRef &Res) { in parseIdentifier()
2369 bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) { in parseDirectiveSet()
2382 bool AsmParser::parseEscapedString(std::string &Data) { in parseEscapedString()
2442 bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) { in parseDirectiveAscii()
2475 bool AsmParser::parseDirectiveReloc(SMLoc DirectiveLoc) { in parseDirectiveReloc()
2520 bool AsmParser::parseDirectiveValue(unsigned Size) { in parseDirectiveValue()
2556 bool AsmParser::parseDirectiveOctaValue() { in parseDirectiveOctaValue()
2606 bool AsmParser::parseDirectiveRealValue(const fltSemantics &Semantics) { in parseDirectiveRealValue()
2664 bool AsmParser::parseDirectiveZero() { in parseDirectiveZero()
2690 bool AsmParser::parseDirectiveFill() { in parseDirectiveFill()
2760 bool AsmParser::parseDirectiveOrg() { in parseDirectiveOrg()
2788 bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) { in parseDirectiveAlign()
2887 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) { in parseDirectiveFile()
2945 bool AsmParser::parseDirectiveLine() { in parseDirectiveLine()
2970 bool AsmParser::parseDirectiveLoc() { in parseDirectiveLoc()
3066 bool AsmParser::parseDirectiveStabs() { in parseDirectiveStabs()
3072 bool AsmParser::parseDirectiveCFISections() { in parseDirectiveCFISections()
3103 bool AsmParser::parseDirectiveCFIStartProc() { in parseDirectiveCFIStartProc()
3115 bool AsmParser::parseDirectiveCFIEndProc() { in parseDirectiveCFIEndProc()
3121 bool AsmParser::parseRegisterOrRegisterNumber(int64_t &Register, in parseRegisterOrRegisterNumber()
3137 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfa()
3156 bool AsmParser::parseDirectiveCFIDefCfaOffset() { in parseDirectiveCFIDefCfaOffset()
3167 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIRegister()
3186 bool AsmParser::parseDirectiveCFIWindowSave() { in parseDirectiveCFIWindowSave()
3193 bool AsmParser::parseDirectiveCFIAdjustCfaOffset() { in parseDirectiveCFIAdjustCfaOffset()
3204 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfaRegister()
3215 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIOffset()
3235 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIRelOffset()
3279 bool AsmParser::parseDirectiveCFIPersonalityOrLsda(bool IsPersonality) { in parseDirectiveCFIPersonalityOrLsda()
3308 bool AsmParser::parseDirectiveCFIRememberState() { in parseDirectiveCFIRememberState()
3315 bool AsmParser::parseDirectiveCFIRestoreState() { in parseDirectiveCFIRestoreState()
3322 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) { in parseDirectiveCFISameValue()
3334 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) { in parseDirectiveCFIRestore()
3345 bool AsmParser::parseDirectiveCFIEscape() { in parseDirectiveCFIEscape()
3368 bool AsmParser::parseDirectiveCFISignalFrame() { in parseDirectiveCFISignalFrame()
3379 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) { in parseDirectiveCFIUndefined()
3392 bool AsmParser::parseDirectiveMacrosOnOff(StringRef Directive) { in parseDirectiveMacrosOnOff()
3403 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) { in parseDirectiveMacro()
3527 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, in checkForBadMacro()
3617 bool AsmParser::parseDirectiveExitMacro(StringRef Directive) { in parseDirectiveExitMacro()
3638 bool AsmParser::parseDirectiveEndMacro(StringRef Directive) { in parseDirectiveEndMacro()
3657 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) { in parseDirectivePurgeMacro()
3674 bool AsmParser::parseDirectiveBundleAlignMode() { in parseDirectiveBundleAlignMode()
3700 bool AsmParser::parseDirectiveBundleLock() { in parseDirectiveBundleLock()
3729 bool AsmParser::parseDirectiveBundleUnlock() { in parseDirectiveBundleUnlock()
3742 bool AsmParser::parseDirectiveSpace(StringRef IDVal) { in parseDirectiveSpace()
3776 bool AsmParser::parseDirectiveLEB128(bool Signed) { in parseDirectiveLEB128()
3802 bool AsmParser::parseDirectiveSymbolAttribute(MCSymbolAttr Attr) { in parseDirectiveSymbolAttribute()
3835 bool AsmParser::parseDirectiveComm(bool IsLocal) { in parseDirectiveComm()
3909 bool AsmParser::parseDirectiveAbort() { in parseDirectiveAbort()
3930 bool AsmParser::parseDirectiveInclude() { in parseDirectiveInclude()
3956 bool AsmParser::parseDirectiveIncbin() { in parseDirectiveIncbin()
3981 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) { in parseDirectiveIf()
4028 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) { in parseDirectiveIfb()
4052 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfc()
4082 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfeqs()
4128 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) { in parseDirectiveIfdef()
4155 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) { in parseDirectiveElseIf()
4186 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) { in parseDirectiveElse()
4210 bool AsmParser::parseDirectiveEnd(SMLoc DirectiveLoc) { in parseDirectiveEnd()
4225 bool AsmParser::parseDirectiveError(SMLoc L, bool WithMessage) { in parseDirectiveError()
4254 bool AsmParser::parseDirectiveWarning(SMLoc L) { in parseDirectiveWarning()
4280 bool AsmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) { in parseDirectiveEndIf()
4297 void AsmParser::initializeDirectiveKindMap() { in initializeDirectiveKindMap()
4416 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) { in parseMacroLikeBody()
4459 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc, in instantiateMacroLikeBody()
4480 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc, StringRef Dir) { in parseDirectiveRept()
4522 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) { in parseDirectiveIrp()
4564 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) { in parseDirectiveIrpc()
4611 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) { in parseDirectiveEndr()
4623 bool AsmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit()
4640 bool AsmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign()
4679 bool AsmParser::parseMSInlineAsm( in parseMSInlineAsm()
4986 return new AsmParser(SM, C, Out, MAI); in createMCAsmParser()