Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dconst_folding.cpp81 To ConvertFloatToInt(From value) in ConvertFloatToInt() function
106 uint64_t ConvertFloatToInt(From value, DataType::Type targetType) in ConvertFloatToInt() function
111 return static_cast<uint64_t>(ConvertFloatToInt<bool>(value)); in ConvertFloatToInt()
113 return static_cast<uint64_t>(ConvertFloatToInt<uint8_t>(value)); in ConvertFloatToInt()
115 return static_cast<uint64_t>(ConvertFloatToInt<int8_t>(value)); in ConvertFloatToInt()
117 return static_cast<uint64_t>(ConvertFloatToInt<uint16_t>(value)); in ConvertFloatToInt()
119 return static_cast<uint64_t>(ConvertFloatToInt<int16_t>(value)); in ConvertFloatToInt()
121 return static_cast<uint64_t>(ConvertFloatToInt<uint32_t>(value)); in ConvertFloatToInt()
123 return static_cast<uint64_t>(ConvertFloatToInt<int32_t>(value)); in ConvertFloatToInt()
125 return ConvertFloatToInt<uint64_t>(value); in ConvertFloatToInt()
[all …]