Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContext.cpp115 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
117 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
137 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
138 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
144 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
172 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
176 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
239 if (pImpl->DiagHandler && in diagnose()
241 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
344 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DConfig.h97 DiagnosticHandlerFunction DiagHandler; member
201 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext()
205 llvm::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext()
207 DiagnosticHandlerFunction DiagHandler; member
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp641 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler2()
642 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler2()
646 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
648 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
650 if (!DiagHandler) in setDiagnosticHandler()
669 if (DiagHandler) in emitError()
670 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
676 if (DiagHandler) in emitWarning()
677 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp637 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler()
638 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
654 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
656 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
658 if (!DiagHandler) in setDiagnosticHandler()
677 if (DiagHandler) in emitError()
678 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
684 if (DiagHandler) in emitWarning()
685 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSourceMgr.h61 DiagHandlerTy DiagHandler; variable
67 SourceMgr() : LineNoCache(0), DiagHandler(0), DiagContext(0) {} in SourceMgr()
77 DiagHandler = DH;
81 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
/external/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()
/external/llvm/include/llvm/Support/
DSourceMgr.h71 DiagHandlerTy DiagHandler; variable
80 : LineNoCache(nullptr), DiagHandler(nullptr), DiagContext(nullptr) {} in SourceMgr()
90 DiagHandler = DH;
94 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContext.cpp62 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
64 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h101 DiagHandlerTy DiagHandler = nullptr; variable
119 DiagHandler = DH;
123 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
/external/llvm/include/llvm/IR/
DLLVMContext.h146 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
165 void setDiagnosticHandler(DiagnosticHandlerTy DiagHandler,
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h155 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
174 void setDiagnosticHandler(DiagnosticHandlerTy DiagHandler,
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp41 LLVMContext::InlineAsmDiagHandlerTy DiagHandler; member
67 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in SrcMgrDiagHandler()
97 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DLLVMContext.h184 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
204 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DYAMLTraits.cpp57 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
59 if (DiagHandler) in Input()
60 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
65 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
67 if (DiagHandler) in Input()
68 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
DSourceMgr.cpp233 if (DiagHandler) { in PrintMessage()
234 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp184 if (DiagHandler) { in PrintMessage()
185 DiagHandler(GetMessage(Loc, Msg, Type, ShowLine), DiagContext); in PrintMessage()
/external/swiftshader/third_party/LLVM/include/llvm/
DLLVMContext.h65 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp46 LLVMContext::InlineAsmDiagHandlerTy DiagHandler; member
72 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
112 DiagInfo.DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()
/external/llvm/lib/IR/
DLLVMContext.cpp172 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
174 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp71 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
109 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in EmitInlineAsm()
165 if (Res && !DiagInfo->DiagHandler) in EmitInlineAsm()
/external/clang/include/clang/Sema/
DSemaInternal.h343 DiagHandler = std::move(other.DiagHandler);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h234 lto_diagnostic_handler_t DiagHandler = nullptr; member
/external/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h228 lto_diagnostic_handler_t DiagHandler = nullptr; member
/external/llvm/lib/Support/
DSourceMgr.cpp201 if (DiagHandler) { in PrintMessage()
202 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
DYAMLTraits.cpp49 SourceMgr::DiagHandlerTy DiagHandler, in Input() argument
54 if (DiagHandler) in Input()
55 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()

12