Home
last modified time | relevance | path

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

123

/external/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 …]
/external/llvm-project/llvm/lib/IR/
DLLVMContext.cpp109 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
111 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
131 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
132 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
138 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
185 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
189 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
248 if (pImpl->DiagHandler && in diagnose()
250 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
358 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
[all …]
/external/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
/external/llvm-project/llvm/include/llvm/LTO/
DConfig.h158 DiagnosticHandlerFunction DiagHandler; member
266 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext()
270 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext()
272 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-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()
/external/llvm-project/llvm/lib/LTO/
DLTOCodeGenerator.cpp693 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler()
694 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
710 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
712 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
714 if (!DiagHandler) in setDiagnosticHandler()
733 if (DiagHandler) in emitError()
734 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
740 if (DiagHandler) in emitWarning()
741 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/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/llvm/include/llvm/IR/
DLLVMContext.h146 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
165 void setDiagnosticHandler(DiagnosticHandlerTy DiagHandler,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DLLVMContext.h157 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
177 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h155 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
174 void setDiagnosticHandler(DiagnosticHandlerTy DiagHandler,
/external/llvm-project/llvm/include/llvm/Support/
DSourceMgr.h90 DiagHandlerTy DiagHandler = nullptr; variable
110 DiagHandler = DH;
114 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
/external/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()
/external/llvm-project/llvm/include/llvm/IR/
DLLVMContext.h169 void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler,
189 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/external/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()
/external/llvm-project/llvm/lib/Support/
DYAMLTraits.cpp60 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
62 if (DiagHandler) in Input()
63 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
68 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
70 if (DiagHandler) in Input()
71 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
/external/llvm/lib/IR/
DLLVMContext.cpp172 setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, in setInlineAsmDiagnosticHandler() argument
174 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler()
/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-project/clang/include/clang/Sema/
DSemaInternal.h330 DiagHandler = std::move(other.DiagHandler);
/external/clang/include/clang/Sema/
DSemaInternal.h343 DiagHandler = std::move(other.DiagHandler);
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp70 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
83 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in addInlineAsmDiagBuffer()
169 if (Res && !DiagInfo->DiagHandler) in emitInlineAsm()
/external/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()
/external/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h228 lto_diagnostic_handler_t DiagHandler = nullptr; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h238 lto_diagnostic_handler_t DiagHandler = nullptr; member

123