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;
1090 MasmParser::MasmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
1121 MasmParser::~MasmParser() {
1130 void MasmParser::printMacroInstantiations() {
1140 void MasmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) {
1146 bool MasmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) {
1156 bool MasmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) {
1163 bool MasmParser::enterIncludeFile(const std::string &Filename) {
1176 void MasmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer,
1183 bool MasmParser::expandMacros() {
1227 const AsmToken &MasmParser::Lex(ExpandKind ExpandNextToken) {
1290 const AsmToken MasmParser::peekTok(bool ShouldSkipSpace) {
1313 bool MasmParser::enabledGenDwarfForAssembly() {
1336 bool MasmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
1456 bool MasmParser::checkForValidSection() {
1467 void MasmParser::eatToEndOfStatement() {
1488 MasmParser::parseStringRefsTo(AsmToken::TokenKind EndTok) {
1511 std::string MasmParser::parseStringTo(AsmToken::TokenKind EndTok) {
1520 StringRef MasmParser::parseStringToEndOfStatement() {
1535 bool MasmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
1547 bool MasmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
1564 bool MasmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
1838 bool MasmParser::parseExpression(const MCExpr *&Res) {
1887 bool MasmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1903 bool MasmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1908 bool MasmParser::parseParenExprOfDepth(unsigned ParenDepth, const MCExpr *&Res,
1928 bool MasmParser::parseAbsoluteExpression(int64_t &Res) {
2020 unsigned MasmParser::getBinOpPrecedence(AsmToken::TokenKind K,
2029 bool MasmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res,
2082 bool MasmParser::parseStatement(ParseStatementInfo &Info,
2725 bool MasmParser::parseCurlyBlockScope(
2744 bool MasmParser::parseCppHashLineFilenameComment(SMLoc L) {
2773 void MasmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
2774 const MasmParser *Parser = static_cast<const MasmParser *>(Context);
2831 bool MasmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
2999 bool MasmParser::parseMacroArgument(const MCAsmMacroParameter *MP,
3094 bool MasmParser::parseMacroArguments(const MCAsmMacro *M,
3209 bool MasmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc,
3260 void MasmParser::handleMacroExit() {
3272 bool MasmParser::handleMacroInvocation(const MCAsmMacro *M, SMLoc NameLoc) {
3331 bool MasmParser::parseIdentifier(StringRef &Res,
3386 bool MasmParser::parseDirectiveEquate(StringRef IDVal, StringRef Name,
3511 bool MasmParser::parseEscapedString(std::string &Data) {
3536 bool MasmParser::parseAngleBracketString(std::string &Data) {
3552 bool MasmParser::parseTextItem(std::string &Data) {
3624 bool MasmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
3640 bool MasmParser::emitIntValue(const MCExpr *Value, unsigned Size) {
3660 bool MasmParser::parseScalarInitializer(unsigned Size,
3705 bool MasmParser::parseScalarInstList(unsigned Size,
3721 bool MasmParser::emitIntegralValues(unsigned Size, unsigned *Count) {
3735 bool MasmParser::addIntegralField(StringRef Name, unsigned Size) {
3757 bool MasmParser::parseDirectiveValue(StringRef IDVal, unsigned Size) {
3771 bool MasmParser::parseDirectiveNamedValue(StringRef TypeName, unsigned Size,
3794 static bool parseHexOcta(MasmParser &Asm, uint64_t &hi, uint64_t &lo) {
3813 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) {
3875 bool MasmParser::parseRealInstList(const fltSemantics &Semantics,
3921 bool MasmParser::emitRealValues(const fltSemantics &Semantics,
3939 bool MasmParser::addRealField(StringRef Name, const fltSemantics &Semantics,
3964 bool MasmParser::parseDirectiveRealValue(StringRef IDVal,
3979 bool MasmParser::parseDirectiveNamedRealValue(StringRef TypeName,
4003 bool MasmParser::parseOptionalAngleBracketOpen() {
4021 bool MasmParser::parseAngleBracketClose(const Twine &Msg) {
4032 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4069 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4123 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4163 bool MasmParser::parseFieldInitializer(const FieldInfo &Field,
4176 bool MasmParser::parseStructInitializer(const StructInfo &Structure,
4236 bool MasmParser::parseStructInstList(
4280 bool MasmParser::emitFieldValue(const FieldInfo &Field,
4290 bool MasmParser::emitFieldValue(const FieldInfo &Field,
4299 bool MasmParser::emitFieldValue(const FieldInfo &Field,
4312 bool MasmParser::emitFieldValue(const FieldInfo &Field) {
4324 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4340 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4356 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4372 bool MasmParser::emitFieldInitializer(const FieldInfo &Field,
4388 bool MasmParser::emitStructInitializer(const StructInfo &Structure,
4417 bool MasmParser::emitStructValues(const StructInfo &Structure,
4434 bool MasmParser::addStructField(StringRef Name, const StructInfo &Structure) {
4461 bool MasmParser::parseDirectiveStructValue(const StructInfo &Structure,
4475 bool MasmParser::parseDirectiveNamedStructValue(const StructInfo &Structure,
4504 bool MasmParser::parseDirectiveStruct(StringRef Directive,
4545 bool MasmParser::parseDirectiveNestedStruct(StringRef Directive,
4567 bool MasmParser::parseDirectiveEnds(StringRef Name, SMLoc NameLoc) {
4588 bool MasmParser::parseDirectiveNestedEnds() {
4661 bool MasmParser::parseDirectiveOrg() {
4696 bool MasmParser::emitAlignTo(int64_t Alignment) {
4727 bool MasmParser::parseDirectiveAlign() {
4759 bool MasmParser::parseDirectiveEven() {
4769 bool MasmParser::parseDirectiveFile(SMLoc DirectiveLoc) {
4887 bool MasmParser::parseDirectiveLine() {
4908 bool MasmParser::parseDirectiveLoc() {
5002 bool MasmParser::parseDirectiveStabs() {
5008 bool MasmParser::parseDirectiveCVFile() {
5045 bool MasmParser::parseCVFunctionId(int64_t &FunctionId,
5055 bool MasmParser::parseCVFileId(int64_t &FileNumber, StringRef DirectiveName) {
5070 bool MasmParser::parseDirectiveCVFuncId() {
5091 bool MasmParser::parseDirectiveCVInlineSiteId() {
5150 bool MasmParser::parseDirectiveCVLoc() {
5212 bool MasmParser::parseDirectiveCVLinetable() {
5236 bool MasmParser::parseDirectiveCVInlineLinetable() {
5270 void MasmParser::initializeCVDefRangeTypeMap() {
5279 bool MasmParser::parseDirectiveCVDefRange() {
5388 bool MasmParser::parseDirectiveCVString() {
5402 bool MasmParser::parseDirectiveCVStringTable() {
5409 bool MasmParser::parseDirectiveCVFileChecksums() {
5416 bool MasmParser::parseDirectiveCVFileChecksumOffset() {
5428 bool MasmParser::parseDirectiveCVFPOData() {
5442 bool MasmParser::parseDirectiveCFISections() {
5473 bool MasmParser::parseDirectiveCFIStartProc() {
5493 bool MasmParser::parseDirectiveCFIEndProc() {
5499 bool MasmParser::parseRegisterOrRegisterNumber(int64_t &Register,
5515 bool MasmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) {
5528 bool MasmParser::parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc) {
5539 bool MasmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) {
5552 bool MasmParser::parseDirectiveCFIWindowSave(SMLoc DirectiveLoc) {
5559 bool MasmParser::parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc) {
5570 bool MasmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) {
5581 bool MasmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) {
5596 bool MasmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) {
5634 bool MasmParser::parseDirectiveCFIPersonalityOrLsda(bool IsPersonality) {
5658 bool MasmParser::parseDirectiveCFIRememberState(SMLoc DirectiveLoc) {
5665 bool MasmParser::parseDirectiveCFIRestoreState(SMLoc DirectiveLoc) {
5672 bool MasmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) {
5684 bool MasmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) {
5695 bool MasmParser::parseDirectiveCFIEscape(SMLoc DirectiveLoc) {
5718 bool MasmParser::parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc) {
5728 bool MasmParser::parseDirectiveCFISignalFrame() {
5738 bool MasmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) {
5754 bool MasmParser::parseDirectiveMacro(StringRef Name, SMLoc NameLoc) {
5893 bool MasmParser::parseDirectiveExitMacro(SMLoc DirectiveLoc,
5918 bool MasmParser::parseDirectiveEndMacro(StringRef Directive) {
5937 bool MasmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) {
5960 bool MasmParser::parseDirectiveExtern() {
5995 bool MasmParser::parseDirectiveSymbolAttribute(MCSymbolAttr Attr) {
6019 bool MasmParser::parseDirectiveComm(bool IsLocal) {
6096 bool MasmParser::parseDirectiveComment(SMLoc DirectiveLoc) {
6115 bool MasmParser::parseDirectiveInclude() {
6136 bool MasmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) {
6165 bool MasmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
6188 bool MasmParser::parseDirectiveIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
6227 bool MasmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
6264 bool MasmParser::parseDirectiveElseIf(SMLoc DirectiveLoc,
6305 bool MasmParser::parseDirectiveElseIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
6339 bool MasmParser::parseDirectiveElseIfdef(SMLoc DirectiveLoc,
6385 bool MasmParser::parseDirectiveElseIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
6438 bool MasmParser::parseDirectiveElse(SMLoc DirectiveLoc) {
6460 bool MasmParser::parseDirectiveEnd(SMLoc DirectiveLoc) {
6472 bool MasmParser::parseDirectiveError(SMLoc DirectiveLoc) {
6490 bool MasmParser::parseDirectiveErrorIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
6517 bool MasmParser::parseDirectiveErrorIfdef(SMLoc DirectiveLoc,
6561 bool MasmParser::parseDirectiveErrorIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
6621 bool MasmParser::parseDirectiveErrorIfe(SMLoc DirectiveLoc, bool ExpectZero) {
6648 bool MasmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) {
6663 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) {
6970 bool MasmParser::parseDirectiveWhile(SMLoc DirectiveLoc) {
7003 bool MasmParser::parseDirectiveFor(SMLoc DirectiveLoc, StringRef Dir) {
7087 bool MasmParser::parseDirectiveForc(SMLoc DirectiveLoc, StringRef Directive) {
7137 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
7154 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
7170 bool MasmParser::parseDirectiveRadix(SMLoc DirectiveLoc) {
7189 bool MasmParser::parseDirectiveEcho(SMLoc DirectiveLoc) {
7220 bool MasmParser::defineMacro(StringRef Name, StringRef Value) {
7237 bool MasmParser::lookUpField(StringRef Name, AsmFieldInfo &Info) const {
7243 bool MasmParser::lookUpField(StringRef Base, StringRef Member,
7263 bool MasmParser::lookUpField(const StructInfo &Structure, StringRef Member,
7308 bool MasmParser::lookUpType(StringRef Name, AsmTypeInfo &Info) const {
7340 bool MasmParser::parseMSInlineAsm(
7601 void MasmParser::initializeBuiltinSymbolMap() {
7632 const MCExpr *MasmParser::evaluateBuiltinValue(BuiltinSymbol Symbol,
7654 MasmParser::evaluateBuiltinTextMacro(BuiltinSymbol Symbol, SMLoc StartLoc) {
7690 return new MasmParser(SM, C, Out, MAI, TM, CB);