MLIR  20.0.0git
Public Attributes | List of all members
MlirLogicalResult Struct Reference

A logical result value, essentially a boolean with named states. More...

#include "mlir-c/Support.h"

Public Attributes

int8_t value
 

Detailed Description

A logical result value, essentially a boolean with named states.

LLVM convention for using boolean values to designate success or failure of an operation is a moving target, so MLIR opted for an explicit class. Instances of MlirLogicalResult must only be inspected using the associated functions.

Definition at line 116 of file Support.h.

Member Data Documentation

◆ value

int8_t MlirLogicalResult::value

Definition at line 117 of file Support.h.

Referenced by mlirLogicalResultIsFailure(), and mlirLogicalResultIsSuccess().


The documentation for this struct was generated from the following file: