Lines Matching refs:AsmToks
44 ArrayRef<Token> AsmToks; member in __anon362010ca0111::ClangAsmParserCallback
52 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks), in ClangAsmParserCallback()
54 assert(AsmToks.size() == AsmTokOffsets.size()); in ClangAsmParserCallback()
81 unsigned FirstIndex = FirstOrigToken - AsmToks.begin(); in LookupInlineAsmIdentifier()
87 (AsmTokOffsets[LastIndex] + AsmToks[LastIndex].getLength() - in LookupInlineAsmIdentifier()
137 FirstOrigToken = &AsmToks[FirstTokIndex]; in findTokensForString()
142 TempToks.push_back(AsmToks[i]); in findTokensForString()
164 if (TokIndex < AsmToks.size()) { in translateLocation()
165 const Token &Tok = AsmToks[TokIndex]; in translateLocation()
284 ArrayRef<Token> AsmToks, in buildMSAsmString() argument
287 assert(!AsmToks.empty() && "Didn't expect an empty AsmToks!"); in buildMSAsmString()
292 for (unsigned i = 0, e = AsmToks.size(); i < e; ++i) { in buildMSAsmString()
293 const Token &Tok = AsmToks[i]; in buildMSAsmString()
334 assert(TokOffsets.size() == AsmToks.size()); in buildMSAsmString()
383 SmallVector<Token, 4> AsmToks; in ParseMicrosoftAsmStatement() local
420 AsmToks.push_back(Tok); in ParseMicrosoftAsmStatement()
476 AsmToks.push_back(Tok); in ParseMicrosoftAsmStatement()
502 AsmToks.push_back(Tok); in ParseMicrosoftAsmStatement()
549 if (!TheTarget || AsmToks.empty()) { in ParseMicrosoftAsmStatement()
550 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, StringRef(), in ParseMicrosoftAsmStatement()
558 if (buildMSAsmString(PP, AsmLoc, AsmToks, TokOffsets, AsmString)) in ParseMicrosoftAsmStatement()
601 ClangAsmParserCallback Callback(*this, AsmLoc, AsmString, AsmToks, in ParseMicrosoftAsmStatement()
645 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, AsmStringIR, in ParseMicrosoftAsmStatement()