Lines Matching refs:SourceMgr

23 #include "llvm/Support/SourceMgr.h"
100 APInt valueFromStringRepr(StringRef StrVal, const SourceMgr &SM) const;
146 getImplicitFormat(const SourceMgr &SM) const {
293 getImplicitFormat(const SourceMgr &SM) const override {
333 getImplicitFormat(const SourceMgr &SM) const override;
457 SourceMgr &SM);
508 static Error get(const SourceMgr &SM, SMLoc Loc, const Twine &ErrMsg,
511 SM.GetMessage(Loc, SourceMgr::DK_Error, ErrMsg), Range);
514 static Error get(const SourceMgr &SM, StringRef Buffer, const Twine &ErrMsg) {
661 const SourceMgr &SM);
675 FileCheckPatternContext *Context, const SourceMgr &SM);
681 /// canonicalization, \p SM provides the SourceMgr used for error reports.
683 bool parsePattern(StringRef PatternStr, StringRef Prefix, SourceMgr &SM,
708 MatchResult match(StringRef Buffer, const SourceMgr &SM) const;
710 void printSubstitutions(const SourceMgr &SM, StringRef Buffer,
713 void printFuzzyMatch(const SourceMgr &SM, StringRef Buffer,
719 void printVariableDefs(const SourceMgr &SM, FileCheckDiag::MatchType MatchTy,
727 bool AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM);
736 /// opening sequence). \p SM holds the SourceMgr used for error reporting.
739 static size_t FindRegexVarEnd(StringRef Str, SourceMgr &SM);
749 const SourceMgr &SM);
758 FileCheckPatternContext *Context, const SourceMgr &SM);
772 FileCheckPatternContext *Context, const SourceMgr &SM);
786 const SourceMgr &SM);
796 FileCheckPatternContext *Context, const SourceMgr &SM);
808 FileCheckPatternContext *Context, const SourceMgr &SM);
844 size_t Check(const SourceMgr &SM, StringRef Buffer, bool IsLabelScanMode,
850 bool CheckNext(const SourceMgr &SM, StringRef Buffer) const;
853 bool CheckSame(const SourceMgr &SM, StringRef Buffer) const;
857 bool CheckNot(const SourceMgr &SM, StringRef Buffer,
862 size_t CheckDag(const SourceMgr &SM, StringRef Buffer,