Home
last modified time | relevance | path

Searched refs:floatTy (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/unittests/IR/
DAttributeTest.cpp121 FloatType floatTy = FloatType::getF32(&context); in TEST() local
124 testSplat(floatTy, value); in TEST()
129 FloatType floatTy = FloatType::getF64(&context); in TEST() local
132 testSplat(floatTy, APFloat(value)); in TEST()
137 FloatType floatTy = FloatType::getF32(&context); in TEST() local
138 Attribute value = FloatAttr::get(floatTy, 10.0); in TEST()
140 testSplat(floatTy, value); in TEST()
145 FloatType floatTy = FloatType::getBF16(&context); in TEST() local
146 Attribute value = FloatAttr::get(floatTy, 10.0); in TEST()
148 testSplat(floatTy, value); in TEST()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp1190 Type floatTy; in processType() local
1193 floatTy = opBuilder.getF16Type(); in processType()
1196 floatTy = opBuilder.getF32Type(); in processType()
1199 floatTy = opBuilder.getF64Type(); in processType()
1205 typeMap[operands[0]] = floatTy; in processType()
/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp556 if (FloatType floatTy = eltType.dyn_cast<FloatType>()) { in getAttr() local
558 if (failed(getFloatAttrElements(loc, floatTy, floatValues))) in getAttr()