Home
last modified time | relevance | path

Searched refs:SrcMgr (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DError.cpp23 SourceMgr SrcMgr; variable
36 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); in PrintMessage()
38 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, in PrintMessage()
53 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning()
63 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
DMain.cpp94 SrcMgr.AddNewSourceBuffer(std::move(*FileOrErr), SMLoc()); in TableGenMain()
98 SrcMgr.setIncludeDirs(IncludeDirs); in TableGenMain()
100 TGParser Parser(SrcMgr, MacroNames, Records); in TableGenMain()
DTGLexer.cpp46 TGLexer::TGLexer(SourceMgr &SM, ArrayRef<std::string> Macros) : SrcMgr(SM) { in TGLexer()
47 CurBuffer = SrcMgr.getMainFileID(); in TGLexer()
48 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
79 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in processEOF()
88 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); in processEOF()
89 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in processEOF()
379 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude()
388 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
DTGLexer.h75 SourceMgr &SrcMgr; variable
98 TGLexer(SourceMgr &SrcMgr, ArrayRef<std::string> Macros);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp50 unsigned BufNum = DiagInfo->SrcMgr.FindBufferContainingLoc(Diag.getLoc()); in srcMgrDiagHandler()
78 Context.setInlineSourceManager(&DiagInfo->SrcMgr); in addInlineAsmDiagBuffer()
84 DiagInfo->SrcMgr.setDiagHandler(srcMgrDiagHandler, DiagInfo.get()); in addInlineAsmDiagBuffer()
88 SourceMgr &SrcMgr = DiagInfo->SrcMgr; in addInlineAsmDiagBuffer() local
96 unsigned BufNum = SrcMgr.AddNewSourceBuffer(std::move(Buffer), SMLoc()); in addInlineAsmDiagBuffer()
136 DiagInfo->SrcMgr.setIncludeDirs(MCOptions.IASSearchPaths); in EmitInlineAsm()
139 DiagInfo->SrcMgr, OutContext, *OutStreamer, *MAI, BufNum)); in EmitInlineAsm()
570 auto &SrcMgr = DiagInfo->SrcMgr; in EmitInlineAsm() local
572 SrcMgr.getMemoryBuffer(BufNum)->getBuffer().begin()); in EmitInlineAsm()
583 SrcMgr.PrintMessage(Loc, SourceMgr::DK_Warning, Msg); in EmitInlineAsm()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp63 : SrcMgr(mgr), InlineSrcMgr(nullptr), MAI(mai), MRI(mri), MOFI(mofi), in MCContext()
70 if (SrcMgr && SrcMgr->getNumBuffers()) in MCContext()
72 SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID())->getBufferIdentifier(); in MCContext()
696 if (SrcMgr) in reportError()
697 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg); in reportError()
712 if (SrcMgr) in reportWarning()
713 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Warning, Msg); in reportWarning()
DMCDwarf.cpp1208 SourceMgr &SrcMgr, SMLoc &Loc) { in Make() argument
1229 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in Make()
1230 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer); in Make()
/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() argument
42 auto Fetch = std::make_unique<EntryStage>(SrcMgr); in createDefaultPipeline()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DModuleSymbolTable.cpp108 SourceMgr SrcMgr; in initializeRecordStreamer() local
109 SrcMgr.AddNewSourceBuffer(std::move(Buffer), SMLoc()); in initializeRecordStreamer()
111 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
/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/MCParser/
DAsmParser.cpp127 SourceMgr &SrcMgr; member in __anoncbbc4b130111::AsmParser
208 SourceMgr &getSourceManager() override { return SrcMgr; } in getSourceManager()
309 SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges); in printMessage()
703 : Lexer(MAI), Ctx(Ctx), Out(Out), MAI(MAI), SrcMgr(SM), in AsmParser()
707 SavedDiagHandler = SrcMgr.getDiagHandler(); in AsmParser()
708 SavedDiagContext = SrcMgr.getDiagContext(); in AsmParser()
710 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
711 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in AsmParser()
747 SrcMgr.setDiagHandler(SavedDiagHandler, SavedDiagContext); in ~AsmParser()
786 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in enterIncludeFile()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DContext.h70 SourceMgr &SrcMgr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLTraits.cpp57 : IO(Ctxt), Strm(new Stream(InputContent, SrcMgr, false, &EC)) { in Input()
59 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
65 : IO(Ctxt), Strm(new Stream(Input, SrcMgr, false, &EC)) { in Input()
67 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCContext.h71 const SourceMgr *SrcMgr;
314 const SourceMgr *getSourceManager() const { return SrcMgr; } in getSourceManager()
DMCDwarf.h431 static void Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h175 SourceMgr SrcMgr; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DYAMLTraits.h1526 SourceMgr SrcMgr; // must be before Strm
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h1192 llvm::SourceMgr SrcMgr; // must be before Strm