Searched refs:ConvertToAPFloat (Results 1 – 1 of 1) sorted by relevance
63 static APFloat ConvertToAPFloat(double val, Type type) { in ConvertToAPFloat() function358 scalar_ty, ConvertToAPFloat(bits_min, element_ty))); in matchAndRewrite()362 scalar_ty, ConvertToAPFloat(bits_max, element_ty))); in matchAndRewrite()367 scalar_ty, ConvertToAPFloat(bits_max - bits_min, element_ty))); in matchAndRewrite()414 DenseElementsAttr::get(scalar_ty, ConvertToAPFloat(0.5, element_ty))); in matchAndRewrite()