MLIR
18.0.0git
|
Go to the source code of this file.
Classes | |
struct | mlir::LogicalResult |
This class represents an efficient way to signal success or failure. More... | |
class | mlir::FailureOr< T > |
This class provides support for representing a failure result, or a valid value of type T . More... | |
class | mlir::ParseResult |
This class represents success/failure for parsing-like operations that find it important to chain together failable operations with || . More... | |
Namespaces | |
mlir | |
This header declares functions that assist transformations in the MemRef dialect. | |
Functions | |
LogicalResult | mlir::success (bool isSuccess=true) |
Utility function to generate a LogicalResult. More... | |
LogicalResult | mlir::failure (bool isFailure=true) |
Utility function to generate a LogicalResult. More... | |
bool | mlir::succeeded (LogicalResult result) |
Utility function that returns true if the provided LogicalResult corresponds to a success value. More... | |
bool | mlir::failed (LogicalResult result) |
Utility function that returns true if the provided LogicalResult corresponds to a failure value. More... | |
template<typename T , typename = std::enable_if_t<!std::is_convertible_v<T, bool>>> | |
auto | mlir::success (T &&t) |
Wrap a value on the success path in a FailureOr of the same value type. More... | |