Home
last modified time | relevance | path

Searched defs:floatAttr (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconstant_utils.cc35 auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); in CreateConstOpWithSingleValue() local
40 auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); in CreateConstOpWithSingleValue() local
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DQuantizeUtils.cpp26 FloatAttr floatAttr = origRealValue.cast<FloatAttr>(); in convertPrimitiveValueAttr() local
/external/llvm-project/mlir/test/lib/IR/
DTestMatchers.cpp128 FloatAttr floatAttr; in test2() local
/external/llvm-project/mlir/unittests/TableGen/
DStructsGenTest.cpp32 auto floatAttr = mlir::FloatAttr::get(floatType, 0.25); in getTestStruct() local
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp1432 if (auto floatAttr = valueAttr.dyn_cast<FloatAttr>()) { in prepareConstantScalar() local
1540 uint32_t Serializer::prepareConstantFp(Location loc, FloatAttr floatAttr, in prepareConstantFp()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp119 if (auto floatAttr = attr.dyn_cast<FloatAttr>()) in getLLVMConstant() local
/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp1519 } else if (auto floatAttr = attr.dyn_cast<FloatAttr>()) { in printAttribute() local