Lines Matching refs:AsmString

40   StringRef AsmString;  member in __anonc60b55280111::ClangAsmParserCallback
49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString, in ClangAsmParserCallback() argument
51 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks), in ClangAsmParserCallback()
142 assert(!std::less<const char *>()(Str.begin(), AsmString.begin()) && in findTokensForString()
143 !std::less<const char *>()(AsmString.end(), Str.end())); in findTokensForString()
146 unsigned FirstCharOffset = Str.begin() - AsmString.begin(); in findTokensForString()
158 unsigned LastCharOffset = Str.end() - AsmString.begin(); in findTokensForString()
547 SmallString<512> AsmString; in ParseMicrosoftAsmStatement() local
549 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, AsmString, in ParseMicrosoftAsmStatement()
561 if (buildMSAsmString(PP, AsmLoc, AsmToks, TokOffsets, AsmString)) in ParseMicrosoftAsmStatement()
597 llvm::MemoryBuffer::getMemBuffer(AsmString, "<MS inline asm>"); in ParseMicrosoftAsmStatement()
624 ClangAsmParserCallback Callback(*this, AsmLoc, AsmString, AsmToks, in ParseMicrosoftAsmStatement()
741 ExprResult AsmString(ParseAsmStringLiteral(/*ForAsmLabel*/ false)); in ParseAsmStatement() local
745 if (!(getLangOpts().GNUAsm || AsmString.isInvalid())) { in ParseAsmStatement()
746 const auto *SL = cast<StringLiteral>(AsmString.get()); in ParseAsmStatement()
751 if (AsmString.isInvalid()) { in ParseAsmStatement()
768 AsmString.get(), Clobbers, /*NumLabels*/ 0, T.getCloseLocation()); in ParseAsmStatement()
867 AsmString.get(), Clobbers, NumLabels, in ParseAsmStatement()