MLIR  15.0.0git
Classes | Namespaces | Functions
LogicalResult.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/Optional.h"
+ Include dependency graph for LogicalResult.h:
+ This graph shows which files directly or indirectly include this file:

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
 TODO: Remove this file when SCCP and integer range analysis have been ported to the new framework.
 

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...