MLIR
24.0.0git
include
mlir
Transforms
CompositePass.h
Go to the documentation of this file.
1
//===- CompositePass.h - Composite pass utilities ---------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef MLIR_TRANSFORMS_COMPOSITEPASS_H
10
#define MLIR_TRANSFORMS_COMPOSITEPASS_H
11
12
namespace
mlir
{
13
14
/// Action to take when `CompositeFixedPointPass` fails to converge within
15
/// its configured maximum number of iterations.
16
enum class
ConvergenceFailureAction
{
17
/// Emit a warning.
18
Warn
,
19
/// Emit an error and fail the pass.
20
Error
,
21
/// Do nothing.
22
Silent
,
23
};
24
25
}
// namespace mlir
26
27
#endif
// MLIR_TRANSFORMS_COMPOSITEPASS_H
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:30
mlir::DiagnosticSeverity::Error
@ Error
Definition
Diagnostics.h:44
mlir::ConvergenceFailureAction
ConvergenceFailureAction
Action to take when CompositeFixedPointPass fails to converge within its configured maximum number of...
Definition
CompositePass.h:16
mlir::ConvergenceFailureAction::Silent
@ Silent
Do nothing.
Definition
CompositePass.h:22
mlir::ConvergenceFailureAction::Warn
@ Warn
Emit a warning.
Definition
CompositePass.h:18
Generated on
for MLIR by
1.14.0