MLIR
20.0.0git
|
#include "mlir/IR/ODSSupport.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Diagnostics.h"
Go to the source code of this file.
Functions | |
template<typename DenseArrayTy , typename T > | |
LogicalResult | convertDenseArrayFromAttr (MutableArrayRef< T > storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError, StringRef denseArrayTyStr) |
template<typename DenseArrayTy , typename T > | |
LogicalResult | convertDenseArrayFromAttr (SmallVectorImpl< T > &storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError, StringRef denseArrayTyStr) |
LogicalResult convertDenseArrayFromAttr | ( | MutableArrayRef< T > | storage, |
Attribute | attr, | ||
function_ref< InFlightDiagnostic()> | emitError, | ||
StringRef | denseArrayTyStr | ||
) |
Definition at line 82 of file ODSSupport.cpp.
References copy(), and mlir::emitError().
LogicalResult convertDenseArrayFromAttr | ( | SmallVectorImpl< T > & | storage, |
Attribute | attr, | ||
function_ref< InFlightDiagnostic()> | emitError, | ||
StringRef | denseArrayTyStr | ||
) |
Definition at line 113 of file ODSSupport.cpp.
References copy(), and mlir::emitError().