MLIR
20.0.0git
|
#include "mlir/Dialect/Arith/Transforms/Passes.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/IR/ImplicitLocOpBuilder.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.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::arith | |
Macros | |
#define | GEN_PASS_DEF_ARITHEXPANDOPSPASS |
Functions | |
static Value | createConst (Location loc, Type type, int value, PatternRewriter &rewriter) |
Create an integer or index constant. More... | |
#define GEN_PASS_DEF_ARITHEXPANDOPSPASS |
Definition at line 19 of file ExpandOps.cpp.
|
static |
Create an integer or index constant.
Definition at line 27 of file ExpandOps.cpp.
References mlir::OpBuilder::create(), mlir::DenseElementsAttr::get(), mlir::getElementTypeOrSelf(), and mlir::Builder::getIntegerAttr().
Referenced by mlir::transform::gpu::createGpuLaunch().