MLIR
20.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 void | build (OpBuilder &builder, OperationState &result, int64_t value, Type type) |
Build a constant int op that produces an integer of the specified type, which must be an integer type. More... | |
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 type, which must be an integer type.
Definition at line 264 of file ArithOps.cpp.
References mlir::Builder::getIntegerAttr(), and mlir::Type::isSignlessInteger().
|
static |
Build a constant int op that produces an integer of the specified width.
Definition at line 257 of file ArithOps.cpp.
References mlir::Builder::getIntegerAttr(), and mlir::Builder::getIntegerType().
|
static |
Definition at line 272 of file ArithOps.cpp.
|
inlinestatic |