Lines Matching defs:floatTy
157 FloatType floatTy = Float32Type::get(&context);
160 testSplat(floatTy, value);
165 FloatType floatTy = Float64Type::get(&context);
168 testSplat(floatTy, APFloat(value));
173 FloatType floatTy = Float32Type::get(&context);
174 Attribute value = FloatAttr::get(floatTy, 10.0);
176 testSplat(floatTy, value);
181 FloatType floatTy = BFloat16Type::get(&context);
182 Attribute value = FloatAttr::get(floatTy, 10.0);
184 testSplat(floatTy, value);
412 FloatType floatTy = Float32Type::get(&context);
416 ShapedType tensorF32 = RankedTensorType::get({2, 2}, floatTy);
427 RankedTensorType floatValueTy = RankedTensorType::get({1}, floatTy);
448 EXPECT_TRUE(zeroFloatValue.getType() == floatTy);