Lines Matching defs:ParallelDiagnosticHandlerImpl
773 struct ParallelDiagnosticHandlerImpl : public llvm::PrettyStackTraceEntry { struct
774 struct ThreadDiagnostic {
788 ParallelDiagnosticHandlerImpl(MLIRContext *ctx) : handlerID(0), context(ctx) { in ParallelDiagnosticHandlerImpl() function
804 ~ParallelDiagnosticHandlerImpl() override { in ~ParallelDiagnosticHandlerImpl()
819 void emitDiagnostics(std::function<void(Diagnostic)> emitFn) const { in emitDiagnostics()
831 void setOrderIDForThread(size_t orderID) { in setOrderIDForThread()
838 void eraseOrderIDForThread() { in eraseOrderIDForThread()
845 void print(raw_ostream &os) const override { in print()
877 llvm::sys::SmartMutex<true> mutex;
880 DenseMap<uint64_t, size_t> threadToOrderID;
883 mutable std::vector<ThreadDiagnostic> diagnostics;
886 DiagnosticEngine::HandlerID handlerID;
889 MLIRContext *context;