Searched defs:floatAttr (Results 1 – 7 of 7) sorted by relevance
35 auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); in CreateConstOpWithSingleValue() local40 auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); in CreateConstOpWithSingleValue() local
26 FloatAttr floatAttr = origRealValue.cast<FloatAttr>(); in convertPrimitiveValueAttr() local
128 FloatAttr floatAttr; in test2() local
32 auto floatAttr = mlir::FloatAttr::get(floatType, 0.25); in getTestStruct() local
1432 if (auto floatAttr = valueAttr.dyn_cast<FloatAttr>()) { in prepareConstantScalar() local1540 uint32_t Serializer::prepareConstantFp(Location loc, FloatAttr floatAttr, in prepareConstantFp()
119 if (auto floatAttr = attr.dyn_cast<FloatAttr>()) in getLLVMConstant() local
1519 } else if (auto floatAttr = attr.dyn_cast<FloatAttr>()) { in printAttribute() local