|
MLIR 22.0.0git
|
#include <utility>#include "mlir/Dialect/Shape/IR/Shape.h"#include "mlir/Dialect/Arith/IR/Arith.h"#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"#include "mlir/Dialect/CommonFolders.h"#include "mlir/Dialect/Tensor/IR/Tensor.h"#include "mlir/Dialect/Traits.h"#include "mlir/Dialect/UB/IR/UBOps.h"#include "mlir/IR/Builders.h"#include "mlir/IR/BuiltinTypes.h"#include "mlir/IR/DialectImplementation.h"#include "mlir/IR/Matchers.h"#include "mlir/IR/PatternMatch.h"#include "mlir/IR/TypeUtilities.h"#include "mlir/Interfaces/FunctionImplementation.h"#include "mlir/Transforms/InliningUtils.h"#include "llvm/ADT/SetOperations.h"#include "llvm/ADT/TypeSwitch.h"#include "llvm/Support/raw_ostream.h"#include "mlir/Dialect/Shape/IR/ShapeOpsDialect.cpp.inc"#include "ShapeCanonicalization.inc"#include "mlir/Dialect/Shape/IR/ShapeOps.cpp.inc"#include "mlir/Dialect/Shape/IR/ShapeOpsTypes.cpp.inc"Go to the source code of this file.
Macros | |
| #define | GET_OP_LIST |
| #define | GET_TYPEDEF_LIST |
| #define | GET_OP_CLASSES |
| #define | GET_TYPEDEF_CLASSES |
Functions | |
| static bool | isErrorPropagationPossible (TypeRange operandTypes) |
| static LogicalResult | verifySizeOrIndexOp (Operation *op) |
| static LogicalResult | verifyShapeOrExtentTensorOp (Operation *op) |
| template<typename... Ty> | |
| static bool | eachHasOnlyOneOfTypes (TypeRange typeRange) |
| template<typename... Ty, typename... ranges> | |
| static bool | eachHasOnlyOneOfTypes (TypeRange l, ranges... rs) |
| static bool | hasAtMostSingleNonScalar (ArrayRef< Attribute > attributes) |
| #define GET_OP_LIST |
| #define GET_TYPEDEF_LIST |
|
static |
Definition at line 101 of file Shape.cpp.
References eachHasOnlyOneOfTypes().
Definition at line 96 of file Shape.cpp.
Referenced by eachHasOnlyOneOfTypes().
Definition at line 974 of file Shape.cpp.
References getNumElements().
Definition at line 66 of file Shape.cpp.
Referenced by verifyShapeOrExtentTensorOp(), and verifySizeOrIndexOp().
|
static |
Definition at line 83 of file Shape.cpp.
References mlir::Operation::emitOpError(), mlir::ValueTypeRange< ValueRangeT >::front(), mlir::Operation::getNumResults(), mlir::Operation::getOperandTypes(), mlir::Operation::getResultTypes(), isErrorPropagationPossible(), and success().
|
static |
Definition at line 71 of file Shape.cpp.
References mlir::Operation::emitOpError(), mlir::ValueTypeRange< ValueRangeT >::front(), mlir::Operation::getNumResults(), mlir::Operation::getOperandTypes(), mlir::Operation::getResultTypes(), isErrorPropagationPossible(), and success().