Lines Matching defs:ParallelDiagnosticHandlerImpl
908 struct ParallelDiagnosticHandlerImpl : public llvm::PrettyStackTraceEntry { struct
909 struct ThreadDiagnostic {
923 ParallelDiagnosticHandlerImpl(MLIRContext *ctx) : context(ctx) { in ParallelDiagnosticHandlerImpl() function
939 ~ParallelDiagnosticHandlerImpl() override { in ~ParallelDiagnosticHandlerImpl()
954 void emitDiagnostics(llvm::function_ref<void(Diagnostic &)> emitFn) const { in emitDiagnostics()
966 void setOrderIDForThread(size_t orderID) { in setOrderIDForThread()
973 void eraseOrderIDForThread() { in eraseOrderIDForThread()
980 void print(raw_ostream &os) const override { in print()
1012 llvm::sys::SmartMutex<true> mutex;
1015 DenseMap<uint64_t, size_t> threadToOrderID;
1018 mutable std::vector<ThreadDiagnostic> diagnostics;
1021 DiagnosticEngine::HandlerID handlerID = 0;
1024 MLIRContext *context;