Home
last modified time | relevance | path

Searched refs:IsTypeConversionImplicit (Results 1 – 10 of 10) 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.h236 static bool IsTypeConversionImplicit(Type input_type, Type result_type);
237 static bool IsTypeConversionImplicit(int64_t value, Type result_type);
283 inline bool DataType::IsTypeConversionImplicit(Type input_type, Type result_type) { in IsTypeConversionImplicit() function
301 inline bool DataType::IsTypeConversionImplicit(int64_t value, Type result_type) { in IsTypeConversionImplicit() function
Dinstruction_simplifier.cc454 DCHECK(DataType::IsTypeConversionImplicit(conv_type, instruction->GetResultType())); in TryReplaceShiftsByConstantWithTypeConversion()
460 if (DataType::IsTypeConversionImplicit(shl_value->GetType(), conv_type)) { in TryReplaceShiftsByConstantWithTypeConversion()
1257 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in IsTypeConversionLossless()
1395 if (DataType::IsTypeConversionImplicit(original_type, result_type)) { in VisitTypeConversion()
1454 if (DataType::IsTypeConversionImplicit(original_input->GetType(), result_type)) { in VisitTypeConversion()
1677 } else if (DataType::IsTypeConversionImplicit(input_other->GetType(), new_type)) { in VisitAnd()
Dload_store_elimination.cc585 DataType::IsTypeConversionImplicit(value->GetType(), expected_type) || in FindOrAddTypeConversionIfNecessary()
2207 DCHECK(DataType::IsTypeConversionImplicit(type, phi->GetType())) in MaterializeLoopPhis()
2215 DCHECK(DataType::IsTypeConversionImplicit(input->GetType(), phi->GetType())) in MaterializeLoopPhis()
Dcode_generator_arm64.cc6535 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
6559 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
Dcode_generator_riscv64.cc5274 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
5302 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
Dcode_generator_x86_64.cc3342 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
3476 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
Dcode_generator_x86.cc3089 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
3263 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
Dcode_generator_arm_vixl.cc3901 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
4056 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion()
Dnodes.h6094 return DataType::IsTypeConversionImplicit(GetInputType(), GetResultType());