|
MLIR 24.0.0git
|
#include "mlir/Conversion/ArithCommon/CeilFloorDivExpansion.h"#include "mlir/Dialect/Arith/IR/Arith.h"#include "mlir/IR/PatternMatch.h"#include "mlir/IR/TypeUtilities.h"Go to the source code of this file.
Functions | |
| static Value | createConst (Location loc, Type type, int value, PatternRewriter &rewriter) |
| Create an integer or index constant. | |
|
static |
Create an integer or index constant.
Definition at line 17 of file CeilFloorDivExpansion.cpp.
References mlir::DenseElementsAttr::get(), mlir::getElementTypeOrSelf(), and mlir::Builder::getIntegerAttr().
Referenced by mlir::transform::gpu::createGpuLaunch().