Lines Matching refs:MAI
34 AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) { in AsmLexer() argument
35 AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@"); in AsmLexer()
36 LexMotorolaIntegers = MAI.shouldUseMotorolaIntegers(); in AsmLexer()
180 if (!MAI.shouldAllowAdditionalComments()) { in LexSlash()
711 if (MAI.getRestrictCommentStringToStartOfStatement() && !IsAtStartOfStatement) in isAtStartOfComment()
714 StringRef CommentString = MAI.getCommentString(); in isAtStartOfComment()
727 return strncmp(Ptr, MAI.getSeparatorString(), in isAtStatementSeparator()
728 strlen(MAI.getSeparatorString())) == 0; in isAtStatementSeparator()
752 if (MAI.shouldAllowAdditionalComments()) in LexToken()
760 CurPtr += strlen(MAI.getSeparatorString()) - 1; in LexToken()
764 StringRef(TokStart, strlen(MAI.getSeparatorString()))); in LexToken()
781 (MAI.doesAllowQuestionAtStartOfIdentifier() && CurChar == '?')) in LexToken()
829 if (MAI.doesAllowDollarAtStartOfIdentifier()) in LexToken()
834 if (MAI.doesAllowAtAtStartOfIdentifier()) in LexToken()
875 if (MAI.hasMipsExpressions()) { in LexToken()
918 if (MAI.doesAllowHashAtStartOfIdentifier()) in LexToken()