Searched refs:IsTypeConversionImplicit (Results 1 – 4 of 4) sorted by relevance
/art/compiler/optimizing/ |
D | data_type_test.cc | 62 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()
|
D | data_type.h | 210 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
|
D | instruction_simplifier.cc | 1079 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()
|
D | load_store_elimination.cc | 126 !DataType::IsTypeConversionImplicit(value->GetType(), expected_type)) { in AddTypeConversionIfNecessary()
|