|
MLIR 24.0.0git
|
#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/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/SmallVectorExtras.h"#include "llvm/Support/raw_ostream.h"#include <utility>#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_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) |
|
static |
Definition at line 99 of file Shape.cpp.
References eachHasOnlyOneOfTypes().
Definition at line 94 of file Shape.cpp.
Referenced by eachHasOnlyOneOfTypes().
Definition at line 64 of file Shape.cpp.
Referenced by verifyShapeOrExtentTensorOp(), and verifySizeOrIndexOp().
|
static |
Definition at line 81 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 69 of file Shape.cpp.
References mlir::Operation::emitOpError(), mlir::ValueTypeRange< ValueRangeT >::front(), mlir::Operation::getNumResults(), mlir::Operation::getOperandTypes(), mlir::Operation::getResultTypes(), isErrorPropagationPossible(), and success().