|
MLIR 22.0.0git
|
Specialization of arith.constant op that returns a floating point value. More...
#include "mlir/Dialect/Arith/IR/Arith.h"
Public Member Functions | |
| APFloat | value () |
Static Public Member Functions | |
| ::mlir::TypeID | resolveTypeID () |
| static void | build (OpBuilder &builder, OperationState &result, FloatType type, const APFloat &value) |
| Build a constant float op that produces a float of the specified type. | |
| static ConstantFloatOp | create (OpBuilder &builder, Location location, FloatType type, const APFloat &value) |
| static ConstantFloatOp | create (ImplicitLocOpBuilder &builder, FloatType type, const APFloat &value) |
| static bool | classof (Operation *op) |
Specialization of arith.constant op that returns a floating point value.
|
static |
Build a constant float op that produces a float of the specified type.
Definition at line 324 of file ArithOps.cpp.
References mlir::Builder::getFloatAttr(), result, and value().
Referenced by create().
Definition at line 347 of file ArithOps.cpp.
|
static |
Definition at line 342 of file ArithOps.cpp.
References create(), mlir::ImplicitLocOpBuilder::getLoc(), and value().
|
static |
Definition at line 330 of file ArithOps.cpp.
References build(), mlir::OpBuilder::create(), result, and value().
Referenced by convertScalarToComplexDtype(), create(), and getZero().
|
inlinestatic |
Definition at line 95 of file Arith.h.
References mlir::TypeID::get().
|
inline |