Lines Matching refs:AsmString
40 StringRef AsmString;
42 /// The tokens we streamed into AsmString and handed off to MC.
45 /// The offset of each token in AsmToks within AsmString.
49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString,
51 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks),
121 assert(!std::less<const char *>()(Str.begin(), AsmString.begin()) &&
122 !std::less<const char *>()(AsmString.end(), Str.end()));
125 unsigned FirstCharOffset = Str.begin() - AsmString.begin();
137 unsigned LastCharOffset = Str.end() - AsmString.begin();
522 SmallString<512> AsmString;
524 if (buildMSAsmString(PP, AsmLoc, AsmToks, TokOffsets, AsmString))
540 llvm::MemoryBuffer::getMemBuffer(AsmString, "<MS inline asm>");
563 ClangAsmParserCallback Callback(*this, AsmLoc, AsmString, AsmToks,
664 ExprResult AsmString(ParseAsmStringLiteral());
668 if (!(getLangOpts().GNUAsm || AsmString.isInvalid())) {
669 const auto *SL = cast<StringLiteral>(AsmString.get());
674 if (AsmString.isInvalid()) {
690 Constraints, Exprs, AsmString.get(),
750 Constraints, Exprs, AsmString.get(), Clobbers, T.getCloseLocation());