MLIR
20.0.0git
|
#include "mlir-c/Support.h"
#include "mlir/CAPI/Wrap.h"
#include "mlir/Support/TypeID.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/LogicalResult.h"
Go to the source code of this file.
Namespaces | |
llvm | |
The OpAsmOpInterface, see OpAsmInterface.td for more details. | |
Functions | |
MlirStringRef | wrap (llvm::StringRef ref) |
Converts a StringRef into its MLIR C API equivalent. More... | |
llvm::StringRef | unwrap (MlirStringRef ref) |
Creates a StringRef out of its MLIR C API equivalent. More... | |
MlirLogicalResult | wrap (llvm::LogicalResult res) |
llvm::LogicalResult | unwrap (MlirLogicalResult res) |
|
inline |
Definition at line 44 of file Support.h.
References mlirLogicalResultIsSuccess().
|
inline |
Creates a StringRef out of its MLIR C API equivalent.
Definition at line 34 of file Support.h.
References MlirStringRef::data, and MlirStringRef::length.
|
inline |
Definition at line 38 of file Support.h.
References mlirLogicalResultFailure(), and mlirLogicalResultSuccess().
|
inline |
Converts a StringRef into its MLIR C API equivalent.
Definition at line 29 of file Support.h.
References mlirStringRefCreate().