Searched refs:StatusScopedDiagnosticHandler (Results 1 – 18 of 18) sorted by relevance
22 StatusScopedDiagnosticHandler::StatusScopedDiagnosticHandler( in StatusScopedDiagnosticHandler() function in mlir::StatusScopedDiagnosticHandler30 StatusScopedDiagnosticHandler::~StatusScopedDiagnosticHandler() { in ~StatusScopedDiagnosticHandler()37 bool StatusScopedDiagnosticHandler::ok() const { return diag_str_.empty(); } in ok()39 Status StatusScopedDiagnosticHandler::ConsumeStatus() { in ConsumeStatus()49 Status StatusScopedDiagnosticHandler::Combine(Status status) { in Combine()65 LogicalResult StatusScopedDiagnosticHandler::handler(Diagnostic* diag) { in handler()
30 TEST(ErrorUtilTest, StatusScopedDiagnosticHandler) { in TEST() argument37 TF_ASSERT_OK(StatusScopedDiagnosticHandler(&context).Combine(Status::OK())); in TEST()42 StatusScopedDiagnosticHandler handler(&context); in TEST()51 StatusScopedDiagnosticHandler(&context).Combine(err))); in TEST()61 StatusScopedDiagnosticHandler ssdh(&context); in TEST()
37 class StatusScopedDiagnosticHandler : public SourceMgrDiagnosticHandler {42 explicit StatusScopedDiagnosticHandler(MLIRContext* context,45 ~StatusScopedDiagnosticHandler();
45 mlir::StatusScopedDiagnosticHandler error_handler(mlir_context); in DeserializeMlirModule()
74 mlir::StatusScopedDiagnosticHandler status_handler(&context); in DumpTextualIRToFile()
267 mlir::StatusScopedDiagnosticHandler error_handler(module.getContext()); in RefineShapes()362 mlir::StatusScopedDiagnosticHandler error_handler(module_op.getContext()); in LegalizeToHlo()608 mlir::StatusScopedDiagnosticHandler diag_handler(module_op.getContext()); in CompileGraphSetup()
27 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in ConvertHloToMlirHlo()34 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in ConvertHloToMlirHlo()
1776 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in ConvertMlirHloToHlo()1807 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in BuildHloFromMlirHlo()
63 mlir::StatusScopedDiagnosticHandler statusHandler(module.getContext()); in RunPassPipelineOnModule()229 mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context); in ExperimentalConvertSavedModelV1ToMlir()246 mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context); in ExperimentalRunPassPipeline()265 mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context); in ExperimentalRunPassPipeline()
75 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in RunTPUBridge()179 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in RunBridgeWithStandardPipeline()
63 StatusScopedDiagnosticHandler diag_handler(module.getContext()); in Run()
40 StatusScopedDiagnosticHandler statusHandler(&context, in SparsifyModel()
44 mlir::StatusScopedDiagnosticHandler status_handler(context); in Import()
423 mlir::StatusScopedDiagnosticHandler error_handler_;3836 mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); in LiftVariables()
59 StatusScopedDiagnosticHandler statusHandler(&context, in QuantizeModel()
105 mlir::StatusScopedDiagnosticHandler statusHandler(module.getContext(), in ConvertTFOpsToTfjsJSON()
159 mlir::StatusScopedDiagnosticHandler statusHandler(module.getContext(), in ConvertTFExecutorToTFLOrFlatbuffer()
531 StatusScopedDiagnosticHandler diag_handler(func_.getContext()); in GetFunctionDef()