Lines Matching refs:AsFloat
42 } else if (const analysis::Float* float_type = type->AsFloat()) { in ElementWidth()
52 if (type->AsFloat()) { in HasFloatingPoint()
55 return vec_type->element_type()->AsFloat() != nullptr; in HasFloatingPoint()
92 assert(c->type()->AsFloat()); in NegateFloatingPointConstant()
93 uint32_t width = c->type()->AsFloat()->width(); in NegateFloatingPointConstant()
149 if (component_type->AsFloat()) { in NegateVectorConstant()
168 } else if (c->type()->AsFloat()) { in NegateConstant()
181 assert(c->type()->AsFloat()); in Reciprocal()
183 uint32_t width = c->type()->AsFloat()->width(); in Reciprocal()
417 assert(type->AsFloat()); in PerformFloatingPointOperation()
418 uint32_t width = type->AsFloat()->width(); in PerformFloatingPointOperation()
542 if (ele_type->AsFloat()) { in PerformOperation()
556 } else if (type->AsFloat()) { in PerformOperation()
1580 assert(a_const->type()->AsFloat()); in FMixFeedingExtract()
1740 uint32_t width = fc->type()->AsFloat()->width(); in getFloatConstantKind()
1964 vector_type->element_type()->AsFloat(); in DotProductDoingExtract()