Lines Matching refs:AsmParser
118 class AsmParser : public MCAsmParser { class
205 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
207 AsmParser(const AsmParser &) = delete;
208 AsmParser &operator=(const AsmParser &) = delete;
209 ~AsmParser() override;
726 class HLASMAsmParser final : public AsmParser {
743 : AsmParser(SM, Ctx, Out, MAI, CB), Lexer(getLexer()), Out(Out) { in HLASMAsmParser()
773 AsmParser::AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out, in AsmParser() function in AsmParser
824 AsmParser::~AsmParser() { in ~AsmParser()
835 void AsmParser::printMacroInstantiations() { in printMacroInstantiations()
842 void AsmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) { in Note()
848 bool AsmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) { in Warning()
858 bool AsmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) { in printError()
865 bool AsmParser::enterIncludeFile(const std::string &Filename) { in enterIncludeFile()
880 bool AsmParser::processIncbinFile(const std::string &Filename, int64_t Skip, in processIncbinFile()
903 void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) { in jumpToLoc()
909 const AsmToken &AsmParser::Lex() { in Lex()
943 bool AsmParser::enabledGenDwarfForAssembly() { in enabledGenDwarfForAssembly()
966 bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) { in Run()
1086 bool AsmParser::checkForValidSection() { in checkForValidSection()
1096 void AsmParser::eatToEndOfStatement() { in eatToEndOfStatement()
1105 StringRef AsmParser::parseStringToEndOfStatement() { in parseStringToEndOfStatement()
1115 StringRef AsmParser::parseStringToComma() { in parseStringToComma()
1131 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr()
1143 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr()
1158 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc, in parsePrimaryExpr()
1394 bool AsmParser::parseExpression(const MCExpr *&Res) { in parseExpression()
1400 AsmParser::applyModifierToExpr(const MCExpr *E, in applyModifierToExpr()
1502 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseExpression()
1540 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpression()
1545 bool AsmParser::parseParenExprOfDepth(unsigned ParenDepth, const MCExpr *&Res, in parseParenExprOfDepth()
1565 bool AsmParser::parseAbsoluteExpression(int64_t &Res) { in parseAbsoluteExpression()
1737 unsigned AsmParser::getBinOpPrecedence(AsmToken::TokenKind K, in getBinOpPrecedence()
1746 bool AsmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, in parseBinOpRHS()
1781 bool AsmParser::parseStatement(ParseStatementInfo &Info, in parseStatement()
2318 bool AsmParser::parseAndMatchAndEmitTargetInstruction(ParseStatementInfo &Info, in parseAndMatchAndEmitTargetInstruction()
2392 AsmParser::parseCurlyBlockScope(SmallVectorImpl<AsmRewrite> &AsmStrRewrites) { in parseCurlyBlockScope()
2410 bool AsmParser::parseCppHashLineFilenameComment(SMLoc L, bool SaveLocInfo) { in parseCppHashLineFilenameComment()
2442 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler()
2443 auto *Parser = static_cast<AsmParser *>(Context); in DiagHandler()
2502 bool AsmParser::expandMacro(raw_svector_ostream &OS, MCAsmMacro &Macro, in expandMacro()
2681 bool AsmParser::parseMacroArgument(MCAsmMacroArgument &MA, bool Vararg) { in parseMacroArgument()
2750 bool AsmParser::parseMacroArguments(const MCAsmMacro *M, in parseMacroArguments()
2867 bool AsmParser::handleMacroEntry(MCAsmMacro *M, SMLoc NameLoc) { in handleMacroEntry()
2917 void AsmParser::handleMacroExit() { in handleMacroExit()
2931 bool AsmParser::parseAssignment(StringRef Name, AssignmentKind Kind) { in parseAssignment()
2975 bool AsmParser::parseIdentifier(StringRef &Res) { in parseIdentifier()
3020 bool AsmParser::parseDirectiveSet(StringRef IDVal, AssignmentKind Kind) { in parseDirectiveSet()
3028 bool AsmParser::parseEscapedString(std::string &Data) { in parseEscapedString()
3109 bool AsmParser::parseAngleBracketString(std::string &Data) { in parseAngleBracketString()
3127 bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) { in parseDirectiveAscii()
3149 bool AsmParser::parseDirectiveReloc(SMLoc DirectiveLoc) { in parseDirectiveReloc()
3190 bool AsmParser::parseDirectiveValue(StringRef IDVal, unsigned Size) { in parseDirectiveValue()
3211 static bool parseHexOcta(AsmParser &Asm, uint64_t &hi, uint64_t &lo) { in parseHexOcta()
3233 bool AsmParser::parseDirectiveOctaValue(StringRef IDVal) { in parseDirectiveOctaValue()
3253 bool AsmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { in parseRealValue()
3297 bool AsmParser::parseDirectiveRealValue(StringRef IDVal, in parseDirectiveRealValue()
3313 bool AsmParser::parseDirectiveZero() { in parseDirectiveZero()
3335 bool AsmParser::parseDirectiveFill() { in parseDirectiveFill()
3378 bool AsmParser::parseDirectiveOrg() { in parseDirectiveOrg()
3398 bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) { in parseDirectiveAlign()
3513 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) { in parseDirectiveFile()
3630 bool AsmParser::parseDirectiveLine() { in parseDirectiveLine()
3648 bool AsmParser::parseDirectiveLoc() { in parseDirectiveLoc()
3742 bool AsmParser::parseDirectiveStabs() { in parseDirectiveStabs()
3748 bool AsmParser::parseDirectiveCVFile() { in parseDirectiveCVFile()
3785 bool AsmParser::parseCVFunctionId(int64_t &FunctionId, in parseCVFunctionId()
3795 bool AsmParser::parseCVFileId(int64_t &FileNumber, StringRef DirectiveName) { in parseCVFileId()
3810 bool AsmParser::parseDirectiveCVFuncId() { in parseDirectiveCVFuncId()
3831 bool AsmParser::parseDirectiveCVInlineSiteId() { in parseDirectiveCVInlineSiteId()
3890 bool AsmParser::parseDirectiveCVLoc() { in parseDirectiveCVLoc()
3952 bool AsmParser::parseDirectiveCVLinetable() { in parseDirectiveCVLinetable()
3974 bool AsmParser::parseDirectiveCVInlineLinetable() { in parseDirectiveCVInlineLinetable()
4008 void AsmParser::initializeCVDefRangeTypeMap() { in initializeCVDefRangeTypeMap()
4017 bool AsmParser::parseDirectiveCVDefRange() { in parseDirectiveCVDefRange()
4126 bool AsmParser::parseDirectiveCVString() { in parseDirectiveCVString()
4140 bool AsmParser::parseDirectiveCVStringTable() { in parseDirectiveCVStringTable()
4147 bool AsmParser::parseDirectiveCVFileChecksums() { in parseDirectiveCVFileChecksums()
4154 bool AsmParser::parseDirectiveCVFileChecksumOffset() { in parseDirectiveCVFileChecksumOffset()
4166 bool AsmParser::parseDirectiveCVFPOData() { in parseDirectiveCVFPOData()
4180 bool AsmParser::parseDirectiveCFISections() { in parseDirectiveCFISections()
4205 bool AsmParser::parseDirectiveCFIStartProc() { in parseDirectiveCFIStartProc()
4227 bool AsmParser::parseDirectiveCFIEndProc() { in parseDirectiveCFIEndProc()
4238 bool AsmParser::parseRegisterOrRegisterNumber(int64_t &Register, in parseRegisterOrRegisterNumber()
4254 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfa()
4266 bool AsmParser::parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfaOffset()
4277 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIRegister()
4289 bool AsmParser::parseDirectiveCFIWindowSave(SMLoc DirectiveLoc) { in parseDirectiveCFIWindowSave()
4298 bool AsmParser::parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIAdjustCfaOffset()
4309 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfaRegister()
4320 bool AsmParser::parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc) { in parseDirectiveCFILLVMDefAspaceCfa()
4334 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIOffset()
4348 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIRelOffset()
4385 bool AsmParser::parseDirectiveCFIPersonalityOrLsda(bool IsPersonality) { in parseDirectiveCFIPersonalityOrLsda()
4410 bool AsmParser::parseDirectiveCFIRememberState(SMLoc DirectiveLoc) { in parseDirectiveCFIRememberState()
4419 bool AsmParser::parseDirectiveCFIRestoreState(SMLoc DirectiveLoc) { in parseDirectiveCFIRestoreState()
4428 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) { in parseDirectiveCFISameValue()
4440 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) { in parseDirectiveCFIRestore()
4451 bool AsmParser::parseDirectiveCFIEscape(SMLoc DirectiveLoc) { in parseDirectiveCFIEscape()
4474 bool AsmParser::parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc) { in parseDirectiveCFIReturnColumn()
4484 bool AsmParser::parseDirectiveCFISignalFrame(SMLoc DirectiveLoc) { in parseDirectiveCFISignalFrame()
4494 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) { in parseDirectiveCFIUndefined()
4506 bool AsmParser::parseDirectiveCFILabel(SMLoc Loc) { in parseDirectiveCFILabel()
4520 bool AsmParser::parseDirectiveAltmacro(StringRef Directive) { in parseDirectiveAltmacro()
4530 bool AsmParser::parseDirectiveMacrosOnOff(StringRef Directive) { in parseDirectiveMacrosOnOff()
4539 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) { in parseDirectiveMacro()
4680 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, in checkForBadMacro()
4770 bool AsmParser::parseDirectiveExitMacro(StringRef Directive) { in parseDirectiveExitMacro()
4791 bool AsmParser::parseDirectiveEndMacro(StringRef Directive) { in parseDirectiveEndMacro()
4810 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) { in parseDirectivePurgeMacro()
4830 bool AsmParser::parseDirectiveBundleAlignMode() { in parseDirectiveBundleAlignMode()
4847 bool AsmParser::parseDirectiveBundleLock() { in parseDirectiveBundleLock()
4870 bool AsmParser::parseDirectiveBundleUnlock() { in parseDirectiveBundleUnlock()
4880 bool AsmParser::parseDirectiveSpace(StringRef IDVal) { in parseDirectiveSpace()
4901 bool AsmParser::parseDirectiveDCB(StringRef IDVal, unsigned Size) { in parseDirectiveDCB()
4938 bool AsmParser::parseDirectiveRealDCB(StringRef IDVal, const fltSemantics &Semantics) { in parseDirectiveRealDCB()
4965 bool AsmParser::parseDirectiveDS(StringRef IDVal, unsigned Size) { in parseDirectiveDS()
4985 bool AsmParser::parseDirectiveLEB128(bool Signed) { in parseDirectiveLEB128()
5005 bool AsmParser::parseDirectiveSymbolAttribute(MCSymbolAttr Attr) { in parseDirectiveSymbolAttribute()
5032 bool AsmParser::parseDirectiveComm(bool IsLocal) { in parseDirectiveComm()
5098 bool AsmParser::parseDirectiveAbort(SMLoc DirectiveLoc) { in parseDirectiveAbort()
5113 bool AsmParser::parseDirectiveInclude() { in parseDirectiveInclude()
5134 bool AsmParser::parseDirectiveIncbin() { in parseDirectiveIncbin()
5174 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) { in parseDirectiveIf()
5216 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) { in parseDirectiveIfb()
5238 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfc()
5264 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfeqs()
5302 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) { in parseDirectiveIfdef()
5328 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) { in parseDirectiveElseIf()
5358 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) { in parseDirectiveElse()
5380 bool AsmParser::parseDirectiveEnd(SMLoc DirectiveLoc) { in parseDirectiveEnd()
5393 bool AsmParser::parseDirectiveError(SMLoc L, bool WithMessage) { in parseDirectiveError()
5418 bool AsmParser::parseDirectiveWarning(SMLoc L) { in parseDirectiveWarning()
5443 bool AsmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) { in parseDirectiveEndIf()
5458 void AsmParser::initializeDirectiveKindMap() { in initializeDirectiveKindMap()
5633 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) { in parseMacroLikeBody()
5675 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc, in instantiateMacroLikeBody()
5696 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc, StringRef Dir) { in parseDirectiveRept()
5731 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) { in parseDirectiveIrp()
5763 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) { in parseDirectiveIrpc()
5803 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) { in parseDirectiveEndr()
5815 bool AsmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit()
5832 bool AsmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign()
5848 bool AsmParser::parseDirectivePrint(SMLoc DirectiveLoc) { in parseDirectivePrint()
5859 bool AsmParser::parseDirectiveAddrsig() { in parseDirectiveAddrsig()
5866 bool AsmParser::parseDirectiveAddrsigSym() { in parseDirectiveAddrsigSym()
5875 bool AsmParser::parseDirectivePseudoProbe() { in parseDirectivePseudoProbe()
5948 bool AsmParser::parseDirectiveLTODiscard() { in parseDirectiveLTODiscard()
5985 bool AsmParser::parseMSInlineAsm( in parseMSInlineAsm()
6469 return new AsmParser(SM, C, Out, MAI, CB); in createMCAsmParser()