MLIR  18.0.0git
Functions
Utils.cpp File Reference
#include "mlir/Dialect/Arith/Utils/Utils.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Complex/IR/Complex.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "llvm/ADT/SmallBitVector.h"

Go to the source code of this file.

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)
 

Function Documentation

◆ convertScalarToComplexDtype()

static Value convertScalarToComplexDtype ( ImplicitLocOpBuilder b,
Value  operand,
ComplexType  targetType,
bool  isUnsigned 
)
static

◆ convertScalarToFpDtype()

static Value convertScalarToFpDtype ( ImplicitLocOpBuilder b,
Value  operand,
FloatType  toType,
bool  isUnsigned 
)
static

◆ convertScalarToIntDtype()

static Value convertScalarToIntDtype ( ImplicitLocOpBuilder b,
Value  operand,
IntegerType  toType,
bool  isUnsigned 
)
static