Lines Matching refs:SourceMgr
138 const SourceMgr &SM) const { in valueFromStringRepr()
242 BinaryOperation::getImplicitFormat(const SourceMgr &SM) const { in getImplicitFormat()
289 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) { in parseVariable()
333 const SourceMgr &SM) { in parseNumericVariableDefinition()
370 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericVariableUse()
406 const SourceMgr &SM) { in parseNumericOperand()
459 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseParenExpr()
494 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseBinop()
538 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseCallExpr()
614 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericSubstitutionBlock()
761 SourceMgr &SM, const FileCheckRequest &Req) { in parsePattern()
775 SM.PrintMessage(PatternLoc, SourceMgr::DK_Error, in parsePattern()
782 PatternLoc, SourceMgr::DK_Error, in parsePattern()
826 SourceMgr::DK_Error, in parsePattern()
870 SourceMgr::DK_Error, in parsePattern()
896 SourceMgr::DK_Error, "unexpected whitespace"); in parsePattern()
916 SourceMgr::DK_Error, in parsePattern()
925 SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in parsePattern()
938 SourceMgr::DK_Error, in parsePattern()
1018 SourceMgr::DK_Error, in parsePattern()
1055 bool Pattern::AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM) { in AddRegExToRegEx()
1059 SM.PrintMessage(SMLoc::getFromPointer(RS.data()), SourceMgr::DK_Error, in AddRegExToRegEx()
1076 const SourceMgr &SM) const { in match()
1203 void Pattern::printSubstitutions(const SourceMgr &SM, StringRef Buffer, in printSubstitutions()
1232 SM.PrintMessage(Range.Start, SourceMgr::DK_Note, OS.str()); in printSubstitutions()
1237 void Pattern::printVariableDefs(const SourceMgr &SM, in printVariableDefs()
1286 SM.PrintMessage(VC.Range.Start, SourceMgr::DK_Note, OS.str(), VC.Range); in printVariableDefs()
1291 const SourceMgr &SM, SMLoc Loc, in ProcessMatchResult()
1311 void Pattern::printFuzzyMatch(const SourceMgr &SM, StringRef Buffer, in printFuzzyMatch()
1349 SM.PrintMessage(MatchRange.Start, SourceMgr::DK_Note, in printFuzzyMatch()
1388 size_t Pattern::FindRegexVarEnd(StringRef Str, SourceMgr &SM) { in FindRegexVarEnd()
1411 SourceMgr::DK_Error, in FindRegexVarEnd()
1455 FileCheckDiag::FileCheckDiag(const SourceMgr &SM, in FileCheckDiag()
1773 SourceMgr &SM, StringRef Buffer, in readCheckFile()
1861 SourceMgr::DK_Error, in readCheckFile()
1868 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Error, in readCheckFile()
1875 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Error, in readCheckFile()
1908 SMLoc::getFromPointer(UsedPrefixStart), SourceMgr::DK_Error, in readCheckFile()
1922 SourceMgr::DK_Error, in readCheckFile()
1974 static Error printMatch(bool ExpectedMatch, const SourceMgr &SM, in printMatch()
2018 Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message); in printMatch()
2019 SM.PrintMessage(MatchRange.Start, SourceMgr::DK_Note, "found here", in printMatch()
2044 static Error printNoMatch(bool ExpectedMatch, const SourceMgr &SM, in printNoMatch()
2111 ExpectedMatch ? SourceMgr::DK_Error : SourceMgr::DK_Remark, in printNoMatch()
2113 SM.PrintMessage(SearchRange.Start, SourceMgr::DK_Note, in printNoMatch()
2127 static Error reportMatchResult(bool ExpectedMatch, const SourceMgr &SM, in reportMatchResult()
2164 size_t FileCheckString::Check(const SourceMgr &SM, StringRef Buffer, in Check()
2245 bool FileCheckString::CheckNext(const SourceMgr &SM, StringRef Buffer) const { in CheckNext()
2259 SM.PrintMessage(Loc, SourceMgr::DK_Error, in CheckNext()
2261 SM.PrintMessage(SMLoc::getFromPointer(Buffer.end()), SourceMgr::DK_Note, in CheckNext()
2263 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in CheckNext()
2269 SM.PrintMessage(Loc, SourceMgr::DK_Error, in CheckNext()
2272 SM.PrintMessage(SMLoc::getFromPointer(Buffer.end()), SourceMgr::DK_Note, in CheckNext()
2274 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in CheckNext()
2276 SM.PrintMessage(SMLoc::getFromPointer(FirstNewLine), SourceMgr::DK_Note, in CheckNext()
2284 bool FileCheckString::CheckSame(const SourceMgr &SM, StringRef Buffer) const { in CheckSame()
2293 SM.PrintMessage(Loc, SourceMgr::DK_Error, in CheckSame()
2296 SM.PrintMessage(SMLoc::getFromPointer(Buffer.end()), SourceMgr::DK_Note, in CheckSame()
2298 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in CheckSame()
2307 const SourceMgr &SM, StringRef Buffer, in CheckNot()
2328 FileCheckString::CheckDag(const SourceMgr &SM, StringRef Buffer, in CheckDag()
2424 SM.PrintMessage(OldStart, SourceMgr::DK_Note, in CheckDag()
2512 ArrayRef<StringRef> CmdlineDefines, SourceMgr &SM) { in defineCmdlineVariables()
2673 bool FileCheck::checkInput(SourceMgr &SM, StringRef Buffer, in checkInput()