MLIR
22.0.0git
|
Specialization of arith.constant
op that returns an integer value.
More...
#include "mlir/Dialect/Arith/IR/Arith.h"
Public Member Functions | |
int64_t | value () |
Static Public Member Functions | |
::mlir::TypeID | resolveTypeID () |
static void | build (OpBuilder &builder, OperationState &result, int64_t value, unsigned width) |
Build a constant int op that produces an integer of the specified width. More... | |
static ConstantIntOp | create (OpBuilder &builder, Location location, int64_t value, unsigned width) |
static ConstantIntOp | create (ImplicitLocOpBuilder &builder, int64_t value, unsigned width) |
static void | build (OpBuilder &builder, OperationState &result, Type type, int64_t value) |
Build a constant int op that produces an integer of the specified type, which must be an integer type. More... | |
static ConstantIntOp | create (OpBuilder &builder, Location location, Type type, int64_t value) |
static ConstantIntOp | create (ImplicitLocOpBuilder &builder, Type type, int64_t value) |
static void | build (OpBuilder &builder, OperationState &result, Type type, const APInt &value) |
Build a constant int op that produces an integer from an APInt. More... | |
static ConstantIntOp | create (OpBuilder &builder, Location location, Type type, const APInt &value) |
static ConstantIntOp | create (ImplicitLocOpBuilder &builder, Type type, const APInt &value) |
static bool | classof (Operation *op) |
Specialization of arith.constant
op that returns an integer value.
|
static |
Build a constant int op that produces an integer of the specified width.
Definition at line 251 of file ArithOps.cpp.
References mlir::Builder::getIntegerAttr(), and mlir::Builder::getIntegerType().
|
static |
Build a constant int op that produces an integer from an APInt.
Definition at line 296 of file ArithOps.cpp.
References mlir::Builder::getIntegerAttr().
|
static |
Build a constant int op that produces an integer of the specified type, which must be an integer type.
Definition at line 275 of file ArithOps.cpp.
References mlir::Builder::getIntegerAttr().
|
static |
Definition at line 318 of file ArithOps.cpp.
|
static |
Definition at line 269 of file ArithOps.cpp.
References mlir::ImplicitLocOpBuilder::getLoc().
|
static |
Definition at line 312 of file ArithOps.cpp.
References mlir::ImplicitLocOpBuilder::getLoc().
|
static |
Definition at line 291 of file ArithOps.cpp.
References mlir::ImplicitLocOpBuilder::getLoc().
|
static |
Definition at line 258 of file ArithOps.cpp.
Referenced by mlir::sparse_tensor::constantI1(), mlir::sparse_tensor::constantI16(), mlir::sparse_tensor::constantI32(), mlir::sparse_tensor::constantI64(), mlir::sparse_tensor::constantI8(), createFullPartialLinalgCopy(), createFullPartialVectorTransferWrite(), createLinalgBodyCalculationForElementwiseOp(), getLaneId(), getZero(), and propagateIfConditionsImpl().
|
static |
Definition at line 302 of file ArithOps.cpp.
|
static |
Definition at line 281 of file ArithOps.cpp.
|
inlinestatic |