|
MLIR 23.0.0git
|
#include "mlir/Dialect/Arith/Utils/Utils.h"#include "mlir/AsmParser/AsmParser.h"#include "mlir/Dialect/Arith/IR/Arith.h"#include "mlir/Dialect/Complex/IR/Complex.h"#include "mlir/Dialect/Utils/StaticValueUtils.h"#include "mlir/IR/Diagnostics.h"#include "llvm/ADT/SmallBitVector.h"#include "llvm/ADT/SmallVectorExtras.h"#include <numeric>Go to the source code of this file.
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::arith |
Functions | |
| static Value | convertScalarToIntDtype (ImplicitLocOpBuilder &b, Value operand, IntegerType toType, bool isUnsigned) |
| static Value | convertScalarToFpDtype (ImplicitLocOpBuilder &b, Value operand, FloatType toType, bool isUnsigned) |
| static Value | convertScalarToComplexDtype (ImplicitLocOpBuilder &b, Value operand, ComplexType targetType, bool isUnsigned) |
| Value | mlir::arith::createProduct (OpBuilder &builder, Location loc, ArrayRef< Value > values) |
| Value | mlir::arith::createProduct (OpBuilder &builder, Location loc, ArrayRef< Value > values, Type resultType) |
| FloatType | mlir::arith::parseFloatType (MLIRContext *ctx, StringRef name) |
|
static |
Definition at line 189 of file Utils.cpp.
References b, mlir::arith::ConstantFloatOp::create(), mlir::Type::getIntOrFloatBitWidth(), and mlir::Value::getType().
Referenced by mlir::convertScalarToDtype().
|
static |
Definition at line 169 of file Utils.cpp.
References b, and mlir::Value::getType().
Referenced by mlir::convertScalarToDtype().
|
static |
Definition at line 143 of file Utils.cpp.
References b, mlir::Value::getType(), and mlir::Type::isIndex().
Referenced by mlir::convertScalarToDtype().