Home
last modified time | relevance | path

Searched refs:SourceMgr (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h41 class SourceMgr {
106 SourceMgr() = default;
107 SourceMgr(const SourceMgr &) = delete;
108 SourceMgr &operator=(const SourceMgr &) = delete;
109 SourceMgr(SourceMgr &&) = default;
110 SourceMgr &operator=(SourceMgr &&) = default;
111 ~SourceMgr() = default;
262 const SourceMgr *SM = nullptr;
267 SourceMgr::DiagKind Kind = SourceMgr::DK_Error;
276 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic()
[all …]
DFileCheck.h131 FileCheckDiag(const SourceMgr &SM, const Check::FileCheckType &CheckTy,
162 bool readCheckFile(SourceMgr &SM, StringRef Buffer, Regex &PrefixRE);
176 bool checkInput(SourceMgr &SM, StringRef Buffer,
DYAMLParser.h54 class SourceMgr; variable
86 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
89 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DError.cpp23 SourceMgr SrcMgr;
26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
30 if (Kind == SourceMgr::DK_Error) in PrintMessage()
38 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, in PrintMessage()
45 PrintMessage(NoteLoc, SourceMgr::DK_Note, Msg); in PrintNote()
49 PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg); in PrintWarning()
53 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning()
59 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError()
63 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
DTGLexer.h27 class SourceMgr; variable
75 SourceMgr &SrcMgr;
98 TGLexer(SourceMgr &SrcMgr, ArrayRef<std::string> Macros);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheckImpl.h287 SourceMgr &SM);
334 static Error get(const SourceMgr &SM, SMLoc Loc, const Twine &ErrMsg) { in get()
336 SM.GetMessage(Loc, SourceMgr::DK_Error, ErrMsg)); in get()
339 static Error get(const SourceMgr &SM, StringRef Buffer, const Twine &ErrMsg) { in get()
454 const SourceMgr &SM);
468 FileCheckPatternContext *Context, const SourceMgr &SM);
476 bool parsePattern(StringRef PatternStr, StringRef Prefix, SourceMgr &SM,
491 const SourceMgr &SM) const;
494 void printSubstitutions(const SourceMgr &SM, StringRef Buffer,
496 void printFuzzyMatch(const SourceMgr &SM, StringRef Buffer,
[all …]
DSourceMgr.cpp40 unsigned SourceMgr::AddIncludeFile(const std::string &Filename, in AddIncludeFile()
61 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { in FindBufferContainingLoc()
72 unsigned SourceMgr::SrcBuffer::getLineNumber(const char *Ptr) const { in getLineNumber()
103 SourceMgr::SrcBuffer::SrcBuffer(SourceMgr::SrcBuffer &&Other) in SrcBuffer()
110 SourceMgr::SrcBuffer::~SrcBuffer() { in ~SrcBuffer()
125 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { in getLineAndColumn()
150 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack()
163 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage()
225 void SourceMgr::PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic, in PrintMessage()
242 void SourceMgr::PrintMessage(raw_ostream &OS, SMLoc Loc, in PrintMessage()
[all …]
DFileCheck.cpp72 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) { in parseVariable()
116 Optional<size_t> LineNumber, const SourceMgr &SM) { in parseNumericVariableDefinition()
150 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericVariableUse()
184 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericOperand()
219 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseBinop()
261 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericSubstitutionBlock()
310 SourceMgr &SM, const FileCheckRequest &Req) { in parsePattern()
324 SM.PrintMessage(PatternLoc, SourceMgr::DK_Error, in parsePattern()
331 PatternLoc, SourceMgr::DK_Error, in parsePattern()
369 SourceMgr::DK_Error, in parsePattern()
[all …]
DYAMLParser.cpp254 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true,
256 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true,
265 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, in printError()
281 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); in setError()
512 SourceMgr &SM;
594 SourceMgr SM; in dumpTokens()
678 SourceMgr SM; in scanTokens()
756 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner()
762 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner()
1770 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h27 class SourceMgr; variable
35 class SourceMgr {
71 SourceMgr(const SourceMgr&) = delete;
72 void operator=(const SourceMgr&) = delete;
74 SourceMgr() in SourceMgr() function
76 ~SourceMgr();
229 const SourceMgr *SM;
233 SourceMgr::DiagKind Kind;
241 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {} in SMDiagnostic()
243 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic()
[all …]
DYAMLParser.h50 class SourceMgr; variable
79 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
82 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DParser.cpp29 SourceMgr SM; in parseAssemblyInto()
61 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
91 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex()
113 SourceMgr SM; in parseSummaryIndexAssemblyInto()
139 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseSummaryIndexAssemblyFile()
149 SourceMgr SM; in parseConstantValue()
166 SourceMgr SM; in parseType()
170 SourceMgr::DK_Error, "expected end of string"); in parseType()
178 SourceMgr SM; in parseTypeAtBeginning()
DLLLexer.h32 SourceMgr &SM;
49 explicit LLLexer(StringRef StartBuf, SourceMgr &SM, SMDiagnostic &,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp41 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule()
59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule()
81 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR()
102 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/Stages/
DEntryStage.h29 SourceMgr &SM;
39 EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { } in EntryStage()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DSourceMgr.h28 class SourceMgr {
36 SourceMgr(ArrayRef<UniqueInst> S, unsigned Iter) in SourceMgr() function
DContext.h70 SourceMgr &SrcMgr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h34 class SourceMgr; variable
101 virtual StringRef LookupInlineAsmLabel(StringRef Identifier, SourceMgr &SM,
144 virtual SourceMgr &getSourceManager() = 0;
304 MCAsmParser *createMCAsmParser(SourceMgr &, MCContext &, MCStreamer &,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/MIRParser/
DMIParser.h29 class SourceMgr; variable
162 SourceMgr *SM;
177 PerFunctionMIParsingState(MachineFunction &MF, SourceMgr &SM,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp53 SourceMgr SM;
184 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str()))); in error()
190 DS_Error, SM.GetMessage(Loc, SourceMgr::DK_Error, Message))); in error()
195 assert(Error.getKind() == SourceMgr::DK_Error && "Expected an error"); in error()
203 case SourceMgr::DK_Error: in reportDiagnostic()
206 case SourceMgr::DK_Warning: in reportDiagnostic()
209 case SourceMgr::DK_Note: in reportDiagnostic()
212 case SourceMgr::DK_Remark: in reportDiagnostic()
431 SourceMgr BlockSM; in initializeMachineFunction()
455 SourceMgr InsnSM; in initializeMachineFunction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DYAMLRemarkParser.h35 YAMLParseError(StringRef Message, SourceMgr &SM, yaml::Stream &Stream,
57 SourceMgr SM;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCContext.h60 class SourceMgr; variable
71 const SourceMgr *SrcMgr;
74 SourceMgr *InlineSrcMgr;
307 const SourceMgr *Mgr = nullptr,
314 const SourceMgr *getSourceManager() const { return SrcMgr; } in getSourceManager()
316 void setInlineSourceManager(SourceMgr *SM) { InlineSrcMgr = SM; } in setInlineSourceManager()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DError.h36 extern SourceMgr SrcMgr;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp61 const MCObjectFileInfo *mofi, const SourceMgr *mgr, in MCContext()
697 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg); in reportError()
699 InlineSrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg); in reportError()
713 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Warning, Msg); in reportWarning()
715 InlineSrcMgr->PrintMessage(Loc, SourceMgr::DK_Warning, Msg); in reportWarning()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DContext.cpp31 Context::createDefaultPipeline(const PipelineOptions &Opts, SourceMgr &SrcMgr) { in createDefaultPipeline()

123