MLIR 22.0.0git
BuiltinTypes.cpp File Reference
#include "mlir/IR/BuiltinTypes.h"
#include "TypeDetail.h"
#include "mlir/IR/AffineExpr.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinDialect.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/TensorEncoding.h"
#include "mlir/IR/TypeUtilities.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/Sequence.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/IR/BuiltinTypes.cpp.inc"
#include "mlir/IR/BuiltinTypeConstraints.cpp.inc"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define GET_TYPEDEF_CLASSES
 Tablegen Type Definitions.
#define GET_TYPEDEF_LIST
#define FLOAT_TYPE_SEMANTICS(TYPE, SEM)

Functions

bool mlir::isValidVectorTypeElementType (::mlir::Type type)
static LogicalResult checkTensorElementType (function_ref< InFlightDiagnostic()> emitError, Type elementType)

Macro Definition Documentation

◆ FLOAT_TYPE_SEMANTICS

#define FLOAT_TYPE_SEMANTICS ( TYPE,
SEM )
Value:
const llvm::fltSemantics &TYPE::getFloatSemantics() const { \
return APFloat::SEM(); \
}

Definition at line 92 of file BuiltinTypes.cpp.

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Tablegen Type Definitions.

Definition at line 30 of file BuiltinTypes.cpp.

◆ GET_TYPEDEF_LIST

#define GET_TYPEDEF_LIST

Function Documentation

◆ checkTensorElementType()

LogicalResult checkTensorElementType ( function_ref< InFlightDiagnostic()> emitError,
Type elementType )
static