Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Ddata_type_test.cc62 TEST(DataType, IsTypeConversionImplicit) { in TEST() argument
94 DataType::IsTypeConversionImplicit(input_type, result_type)) in TEST()
99 EXPECT_FALSE(DataType::IsTypeConversionImplicit(input_type, DataType::Type::kFloat32)); in TEST()
100 EXPECT_FALSE(DataType::IsTypeConversionImplicit(input_type, DataType::Type::kFloat64)); in TEST()
103 EXPECT_FALSE(DataType::IsTypeConversionImplicit(DataType::Type::kFloat32, result_type)); in TEST()
104 EXPECT_FALSE(DataType::IsTypeConversionImplicit(DataType::Type::kFloat64, result_type)); in TEST()
107 DataType::IsTypeConversionImplicit(DataType::Type::kFloat32, DataType::Type::kFloat32)); in TEST()
109 DataType::IsTypeConversionImplicit(DataType::Type::kFloat32, DataType::Type::kFloat64)); in TEST()
111 DataType::IsTypeConversionImplicit(DataType::Type::kFloat64, DataType::Type::kFloat32)); in TEST()
113 DataType::IsTypeConversionImplicit(DataType::Type::kFloat64, DataType::Type::kFloat64)); in TEST()
Ddata_type.h210 static bool IsTypeConversionImplicit(Type input_type, Type result_type);
211 static bool IsTypeConversionImplicit(int64_t value, Type result_type);
257 inline bool DataType::IsTypeConversionImplicit(Type input_type, Type result_type) { in IsTypeConversionImplicit() function
275 inline bool DataType::IsTypeConversionImplicit(int64_t value, Type result_type) { in IsTypeConversionImplicit() function
Dinstruction_simplifier.cc1079 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in IsTypeConversionLossless()
1190 if (DataType::IsTypeConversionImplicit(original_type, result_type)) { in VisitTypeConversion()
1219 if (DataType::IsTypeConversionImplicit(original_input->GetType(), result_type)) { in VisitTypeConversion()
1440 } else if (DataType::IsTypeConversionImplicit(input_other->GetType(), new_type)) { in VisitAnd()
Dload_store_elimination.cc126 !DataType::IsTypeConversionImplicit(value->GetType(), expected_type)) { in AddTypeConversionIfNecessary()