|
MLIR 22.0.0git
|
#include "mlir/Dialect/Arith/IR/Arith.h"#include "mlir/Dialect/Arith/Transforms/Passes.h"#include "mlir/Dialect/Vector/IR/VectorOps.h"#include "mlir/IR/BuiltinTypeInterfaces.h"#include "mlir/IR/Location.h"#include "mlir/IR/TypeUtilities.h"#include "mlir/Transforms/DialectConversion.h"#include "mlir/Dialect/Arith/Transforms/Passes.h.inc"Go to the source code of this file.
Classes | |
| class | mlir::arith::impl::ArithExpandOpsPassBase< DerivedT > |
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::arith |
| namespace | mlir::arith::impl |
Macros | |
| #define | GEN_PASS_DEF_ARITHEXPANDOPSPASS |
Functions | |
| std::unique_ptr<::mlir::Pass > | mlir::arith::impl::createArithExpandOpsPass () |
| std::unique_ptr<::mlir::Pass > | mlir::arith::impl::createArithExpandOpsPass (ArithExpandOpsPassOptions options) |
| std::unique_ptr<::mlir::Pass > | mlir::arith::createArithExpandOpsPass () |
| std::unique_ptr<::mlir::Pass > | mlir::arith::createArithExpandOpsPass (ArithExpandOpsPassOptions options) |
| static Value | createConst (Location loc, Type type, int value, PatternRewriter &rewriter) |
| Create an integer or index constant. | |
| static Value | createFloatConst (Location loc, Type type, APFloat value, PatternRewriter &rewriter) |
| Create a float constant. | |
| static Type | cloneToShapedType (Type cloneFrom, Type cloneTo) |
| Creates shapedType using shape from cloneFrom and base type from cloneTo. | |
| #define GEN_PASS_DEF_ARITHEXPANDOPSPASS |
Definition at line 19 of file ExpandOps.cpp.
Creates shapedType using shape from cloneFrom and base type from cloneTo.
Definition at line 50 of file ExpandOps.cpp.
|
static |
Create an integer or index constant.
Definition at line 27 of file ExpandOps.cpp.
References mlir::DenseElementsAttr::get(), mlir::getElementTypeOrSelf(), and mlir::Builder::getIntegerAttr().
Referenced by mlir::transform::gpu::createGpuLaunch().
|
static |
Create a float constant.
Definition at line 38 of file ExpandOps.cpp.
References mlir::DenseElementsAttr::get(), mlir::getElementTypeOrSelf(), and mlir::Builder::getFloatAttr().