Lines Matching defs:MasmParser
378 class MasmParser : public MCAsmParser {
471 MasmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
473 MasmParser(const MasmParser &) = delete;
474 MasmParser &operator=(const MasmParser &) = delete;
475 ~MasmParser() override;
1092 MasmParser::MasmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
1123 MasmParser::~MasmParser() {
1132 void MasmParser::printMacroInstantiations() {
1142 void MasmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) {
1148 bool MasmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) {
1158 bool MasmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) {
1165 bool MasmParser::enterIncludeFile(const std::string &Filename) {
1178 void MasmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer,
1185 bool MasmParser::expandMacros() {
1229 const AsmToken &MasmParser::Lex(ExpandKind ExpandNextToken) {
1292 const AsmToken MasmParser::peekTok(bool ShouldSkipSpace) {
1315 bool MasmParser::enabledGenDwarfForAssembly() {
1338 bool MasmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
1458 bool MasmParser::checkForValidSection() {
1468 void MasmParser::eatToEndOfStatement() {
1489 MasmParser::parseStringRefsTo(AsmToken::TokenKind EndTok) {
1512 std::string MasmParser::parseStringTo(AsmToken::TokenKind EndTok) {
1521 StringRef MasmParser::parseStringToEndOfStatement() {
1536 bool MasmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
1548 bool MasmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
1565 bool MasmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
1839 bool MasmParser::parseExpression(const MCExpr *&Res) {
1888 bool MasmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1904 bool MasmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1909 bool MasmParser::parseParenExprOfDepth(unsigned ParenDepth, const MCExpr *&Res,
1929 bool MasmParser::parseAbsoluteExpression(int64_t &Res) {
2021 unsigned MasmParser::getBinOpPrecedence(AsmToken::TokenKind K,
2030 bool MasmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res,
2083 bool MasmParser::parseStatement(ParseStatementInfo &Info,
2726 bool MasmParser::parseCurlyBlockScope(
2745 bool MasmParser::parseCppHashLineFilenameComment(SMLoc L) {
2774 void MasmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
2775 const MasmParser *Parser = static_cast<const MasmParser *>(Context);
2832 bool MasmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
3000 bool MasmParser::parseMacroArgument(const MCAsmMacroParameter *MP,
3095 bool MasmParser::parseMacroArguments(const MCAsmMacro *M,
3210 bool MasmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc,
3261 void MasmParser::handleMacroExit() {
3273 bool MasmParser::handleMacroInvocation(const MCAsmMacro *M, SMLoc NameLoc) {
3332 bool MasmParser::parseIdentifier(StringRef &Res,
3387 bool MasmParser::parseDirectiveEquate(StringRef IDVal, StringRef Name,
3512 bool MasmParser::parseEscapedString(std::string &Data) {
3537 bool MasmParser::parseAngleBracketString(std::string &Data) {
3553 bool MasmParser::parseTextItem(std::string &Data) {
3625 bool MasmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
3641 bool MasmParser::emitIntValue(const MCExpr *Value, unsigned Size) {
3661 bool MasmParser::parseScalarInitializer(unsigned Size,
3706 bool MasmParser::parseScalarInstList(unsigned Size,
3722 bool MasmParser::emitIntegralValues(unsigned Size, unsigned *Count) {
3736 bool MasmParser::addIntegralField(StringRef Name, unsigned Size) {
3758 bool MasmParser::parseDirectiveValue(StringRef IDVal, unsigned Size) {
3772 bool MasmParser::parseDirectiveNamedValue(StringRef TypeName, unsigned Size,
3795 static bool parseHexOcta(MasmParser &Asm, uint64_t &hi, uint64_t &lo) {
3814 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) {
3876 bool MasmParser::parseRealInstList(const fltSemantics &Semantics,
3922 bool MasmParser::emitRealValues(const fltSemantics &Semantics,
3940 bool MasmParser::addRealField(StringRef Name, const fltSemantics &Semantics,
3965 bool MasmParser::parseDirectiveRealValue(StringRef IDVal,
3980 bool MasmParser::parseDirectiveNamedRealValue(StringRef TypeName,
4004 bool MasmParser::parseOptionalAngleBracketOpen() {
4022 bool MasmParser::parseAngleBracketClose(const Twine &Msg) {
4033 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4070 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4124 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4164 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4177 bool MasmParser::parseStructInitializer(const StructInfo &Structure,
4237 bool MasmParser::parseStructInstList(
4281 bool MasmParser::emitFieldValue(const FieldInfo &Field,
4291 bool MasmParser::emitFieldValue(const FieldInfo &Field,
4300 bool MasmParser::emitFieldValue(const FieldInfo &Field,
4313 bool MasmParser::emitFieldValue(const FieldInfo &Field) {
4325 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4341 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4357 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4373 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4389 bool MasmParser::emitStructInitializer(const StructInfo &Structure,
4418 bool MasmParser::emitStructValues(const StructInfo &Structure,
4435 bool MasmParser::addStructField(StringRef Name, const StructInfo &Structure) {
4462 bool MasmParser::parseDirectiveStructValue(const StructInfo &Structure,
4476 bool MasmParser::parseDirectiveNamedStructValue(const StructInfo &Structure,
4505 bool MasmParser::parseDirectiveStruct(StringRef Directive,
4546 bool MasmParser::parseDirectiveNestedStruct(StringRef Directive,
4568 bool MasmParser::parseDirectiveEnds(StringRef Name, SMLoc NameLoc) {
4589 bool MasmParser::parseDirectiveNestedEnds() {
4662 bool MasmParser::parseDirectiveOrg() {
4697 bool MasmParser::emitAlignTo(int64_t Alignment) {
4728 bool MasmParser::parseDirectiveAlign() {
4760 bool MasmParser::parseDirectiveEven() {
4770 bool MasmParser::parseDirectiveFile(SMLoc DirectiveLoc) {
4888 bool MasmParser::parseDirectiveLine() {
4909 bool MasmParser::parseDirectiveLoc() {
5003 bool MasmParser::parseDirectiveStabs() {
5009 bool MasmParser::parseDirectiveCVFile() {
5046 bool MasmParser::parseCVFunctionId(int64_t &FunctionId,
5056 bool MasmParser::parseCVFileId(int64_t &FileNumber, StringRef DirectiveName) {
5071 bool MasmParser::parseDirectiveCVFuncId() {
5092 bool MasmParser::parseDirectiveCVInlineSiteId() {
5151 bool MasmParser::parseDirectiveCVLoc() {
5213 bool MasmParser::parseDirectiveCVLinetable() {
5237 bool MasmParser::parseDirectiveCVInlineLinetable() {
5271 void MasmParser::initializeCVDefRangeTypeMap() {
5280 bool MasmParser::parseDirectiveCVDefRange() {
5389 bool MasmParser::parseDirectiveCVString() {
5403 bool MasmParser::parseDirectiveCVStringTable() {
5410 bool MasmParser::parseDirectiveCVFileChecksums() {
5417 bool MasmParser::parseDirectiveCVFileChecksumOffset() {
5429 bool MasmParser::parseDirectiveCVFPOData() {
5443 bool MasmParser::parseDirectiveCFISections() {
5474 bool MasmParser::parseDirectiveCFIStartProc() {
5494 bool MasmParser::parseDirectiveCFIEndProc() {
5500 bool MasmParser::parseRegisterOrRegisterNumber(int64_t &Register,
5516 bool MasmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) {
5529 bool MasmParser::parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc) {
5540 bool MasmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) {
5553 bool MasmParser::parseDirectiveCFIWindowSave(SMLoc DirectiveLoc) {
5560 bool MasmParser::parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc) {
5571 bool MasmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) {
5582 bool MasmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) {
5597 bool MasmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) {
5635 bool MasmParser::parseDirectiveCFIPersonalityOrLsda(bool IsPersonality) {
5659 bool MasmParser::parseDirectiveCFIRememberState(SMLoc DirectiveLoc) {
5666 bool MasmParser::parseDirectiveCFIRestoreState(SMLoc DirectiveLoc) {
5673 bool MasmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) {
5685 bool MasmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) {
5696 bool MasmParser::parseDirectiveCFIEscape(SMLoc DirectiveLoc) {
5719 bool MasmParser::parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc) {
5729 bool MasmParser::parseDirectiveCFISignalFrame() {
5739 bool MasmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) {
5755 bool MasmParser::parseDirectiveMacro(StringRef Name, SMLoc NameLoc) {
5894 bool MasmParser::parseDirectiveExitMacro(SMLoc DirectiveLoc,
5919 bool MasmParser::parseDirectiveEndMacro(StringRef Directive) {
5938 bool MasmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) {
5961 bool MasmParser::parseDirectiveExtern() {
5996 bool MasmParser::parseDirectiveSymbolAttribute(MCSymbolAttr Attr) {
6020 bool MasmParser::parseDirectiveComm(bool IsLocal) {
6097 bool MasmParser::parseDirectiveComment(SMLoc DirectiveLoc) {
6116 bool MasmParser::parseDirectiveInclude() {
6137 bool MasmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) {
6166 bool MasmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
6189 bool MasmParser::parseDirectiveIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
6228 bool MasmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
6265 bool MasmParser::parseDirectiveElseIf(SMLoc DirectiveLoc,
6306 bool MasmParser::parseDirectiveElseIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
6340 bool MasmParser::parseDirectiveElseIfdef(SMLoc DirectiveLoc,
6386 bool MasmParser::parseDirectiveElseIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
6439 bool MasmParser::parseDirectiveElse(SMLoc DirectiveLoc) {
6461 bool MasmParser::parseDirectiveEnd(SMLoc DirectiveLoc) {
6473 bool MasmParser::parseDirectiveError(SMLoc DirectiveLoc) {
6491 bool MasmParser::parseDirectiveErrorIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
6518 bool MasmParser::parseDirectiveErrorIfdef(SMLoc DirectiveLoc,
6562 bool MasmParser::parseDirectiveErrorIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
6622 bool MasmParser::parseDirectiveErrorIfe(SMLoc DirectiveLoc, bool ExpectZero) {
6649 bool MasmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) {
6664 void MasmParser::initializeDirectiveKindMap() {
6788 bool MasmParser::isMacroLikeDirective() {
6806 MCAsmMacro *MasmParser::parseMacroLikeBody(SMLoc DirectiveLoc) {
6848 bool MasmParser::expandStatement(SMLoc Loc) {
6905 void MasmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
6909 void MasmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
6934 bool MasmParser::parseDirectiveRepeat(SMLoc DirectiveLoc, StringRef Dir) {
6971 bool MasmParser::parseDirectiveWhile(SMLoc DirectiveLoc) {
7005 bool MasmParser::parseDirectiveFor(SMLoc DirectiveLoc, StringRef Dir) {
7089 bool MasmParser::parseDirectiveForc(SMLoc DirectiveLoc, StringRef Directive) {
7139 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
7156 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
7172 bool MasmParser::parseDirectiveRadix(SMLoc DirectiveLoc) {
7191 bool MasmParser::parseDirectiveEcho(SMLoc DirectiveLoc) {
7222 bool MasmParser::defineMacro(StringRef Name, StringRef Value) {
7239 bool MasmParser::lookUpField(StringRef Name, AsmFieldInfo &Info) const {
7245 bool MasmParser::lookUpField(StringRef Base, StringRef Member,
7265 bool MasmParser::lookUpField(const StructInfo &Structure, StringRef Member,
7310 bool MasmParser::lookUpType(StringRef Name, AsmTypeInfo &Info) const {
7342 bool MasmParser::parseMSInlineAsm(
7603 void MasmParser::initializeBuiltinSymbolMap() {
7634 const MCExpr *MasmParser::evaluateBuiltinValue(BuiltinSymbol Symbol,
7656 MasmParser::evaluateBuiltinTextMacro(BuiltinSymbol Symbol, SMLoc StartLoc) {
7692 return new MasmParser(SM, C, Out, MAI, TM, CB);