Home
last modified time | relevance | path

Searched refs:DiagHandler (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp98 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
100 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
120 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
121 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
127 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
158 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
162 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
221 if (pImpl->DiagHandler && in diagnose()
223 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
326 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
[all …]
DLLVMContextImpl.cpp24 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
DLLVMContextImpl.h1251 std::unique_ptr<DiagnosticHandler> DiagHandler;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DConfig.h124 DiagnosticHandlerFunction DiagHandler; member
232 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext()
236 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext()
238 DiagnosticHandlerFunction DiagHandler; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp668 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler()
669 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
685 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
687 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
689 if (!DiagHandler) in setDiagnosticHandler()
708 if (DiagHandler) in emitError()
709 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
715 if (DiagHandler) in emitWarning()
716 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h66 DiagHandlerTy DiagHandler; variable
75 : LineNoCache(nullptr), DiagHandler(nullptr), DiagContext(nullptr) {} in SourceMgr()
85 DiagHandler = DH;
89 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
DYAMLTraits.h1063 SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h100 DiagHandlerTy DiagHandler = nullptr; variable
120 DiagHandler = DH;
124 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
DVirtualFileSystem.h503 llvm::SourceMgr::DiagHandlerTy DiagHandler,
737 SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
772 llvm::SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DLLVMContext.h157 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
177 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h155 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
174 void setDiagnosticHandler(DiagnosticHandlerTy DiagHandler,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLTraits.cpp56 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
58 if (DiagHandler) in Input()
59 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
64 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
66 if (DiagHandler) in Input()
67 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
DSourceMgr.cpp228 if (DiagHandler) { in PrintMessage()
229 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
DVirtualFileSystem.cpp1606 SourceMgr::DiagHandlerTy DiagHandler, in create() argument
1612 SM.setDiagHandler(DiagHandler, DiagContext); in create()
1839 SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML() argument
1842 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML()
1873 SourceMgr::DiagHandlerTy DiagHandler, in collectVFSFromYAML() argument
1879 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext, in collectVFSFromYAML()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp69 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
82 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in addInlineAsmDiagBuffer()
167 if (Res && !DiagInfo->DiagHandler) in EmitInlineAsm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h238 lto_diagnostic_handler_t DiagHandler = nullptr; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h177 LLVMContext::InlineAsmDiagHandlerTy DiagHandler; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTextStub.cpp1093 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function
1111 yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx); in get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp311 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
710 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
2327 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser