/art/compiler/optimizing/ |
D | nodes_shared.cc | 46 DataType::Type input_type = instruction->AsTypeConversion()->GetInputType(); in GetOpInfoFromInstruction() local 48 int input_size = DataType::Size(input_type); in GetOpInfoFromInstruction() 50 if (result_type == DataType::Type::kInt32 && input_type == DataType::Type::kInt64) { in GetOpInfoFromInstruction() 58 (input_type == DataType::Type::kUint8 && input_size < result_size)) { in GetOpInfoFromInstruction() 61 (input_type == DataType::Type::kUint16 && input_size < result_size)) { in GetOpInfoFromInstruction()
|
D | data_type.h | 215 static bool IsTypeConversionImplicit(Type input_type, Type result_type); 218 static bool IsZeroExtension(Type input_type, Type result_type) { in IsZeroExtension() argument 220 IsUnsignedType(input_type) && in IsZeroExtension() 221 Size(result_type) > Size(input_type); in IsZeroExtension() 262 inline bool DataType::IsTypeConversionImplicit(Type input_type, Type result_type) { in IsTypeConversionImplicit() argument 264 DCHECK_NE(DataType::Type::kVoid, input_type); in IsTypeConversionImplicit() 272 return result_type == input_type || in IsTypeConversionImplicit() 274 IsIntegralType(input_type) && in IsTypeConversionImplicit() 276 MinValueOfIntegralType(input_type) >= MinValueOfIntegralType(result_type) && in IsTypeConversionImplicit() 277 MaxValueOfIntegralType(input_type) <= MaxValueOfIntegralType(result_type)); in IsTypeConversionImplicit()
|
D | data_type_test.cc | 90 DataType::Type input_type = kIntegralInputTypes[input_index]; in TEST() local 94 DataType::IsTypeConversionImplicit(input_type, result_type)) in TEST() 95 << input_type << " " << result_type; in TEST() 98 for (DataType::Type input_type : kIntegralInputTypes) { in TEST() local 99 EXPECT_FALSE(DataType::IsTypeConversionImplicit(input_type, DataType::Type::kFloat32)); in TEST() 100 EXPECT_FALSE(DataType::IsTypeConversionImplicit(input_type, DataType::Type::kFloat64)); in TEST()
|
D | critical_native_abi_fixup_arm.cc | 36 DataType::Type input_type = input->GetType(); in FixUpArguments() local 38 if (DataType::Is64BitType(input_type)) { in FixUpArguments() 45 if (DataType::IsFloatingPointType(input_type)) { in FixUpArguments() 46 bool is_double = (input_type == DataType::Type::kFloat64); in FixUpArguments()
|
D | instruction_simplifier_shared.h | 31 DataType::Type input_type = conversion->GetInputType(); in CanFitInShifterOperand() local 33 return DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type) && in CanFitInShifterOperand() 34 (result_type != input_type); in CanFitInShifterOperand()
|
D | ssa_builder.cc | 139 DataType::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs() local 140 if (common_type == input_type) { in TypePhiFromInputs() 142 } else if (DataType::Is64BitType(common_type) != DataType::Is64BitType(input_type)) { in TypePhiFromInputs() 149 DCHECK(DataType::IsFloatingPointType(input_type) || in TypePhiFromInputs() 150 input_type == DataType::Type::kReference); in TypePhiFromInputs() 151 common_type = input_type; in TypePhiFromInputs() 152 } else if (DataType::IsIntegralType(input_type)) { in TypePhiFromInputs() 160 (common_type == DataType::Type::kFloat32 && input_type == DataType::Type::kReference) || in TypePhiFromInputs() 161 (common_type == DataType::Type::kReference && input_type == DataType::Type::kFloat32)); in TypePhiFromInputs()
|
D | instruction_simplifier_arm.cc | 284 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion() local 286 if (input_type == result_type) { in VisitTypeConversion() 291 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion()
|
D | instruction_simplifier_arm64.cc | 255 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion() local 257 if (input_type == result_type) { in VisitTypeConversion() 262 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion()
|
D | instruction_simplifier.cc | 1180 static bool IsTypeConversionLossless(DataType::Type input_type, DataType::Type result_type) { in IsTypeConversionLossless() argument 1182 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in IsTypeConversionLossless() 1183 << input_type << "," << result_type; in IsTypeConversionLossless() 1189 return DataType::Size(result_type) > DataType::Size(input_type) && in IsTypeConversionLossless() 1191 !(result_type == DataType::Type::kInt64 && input_type == DataType::Type::kFloat32); in IsTypeConversionLossless() 1245 DataType::Type input_type = type_conversion->GetInputType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly() local 1247 if (!DataType::IsIntegralType(input_type) || in IsTypeConversionForStoringIntoNoWiderFieldOnly() 1249 input_type == DataType::Type::kInt64 || in IsTypeConversionForStoringIntoNoWiderFieldOnly() 1255 if (DataType::Size(input_type) >= DataType::Size(result_type)) { in IsTypeConversionForStoringIntoNoWiderFieldOnly() 1293 DataType::Type input_type = input->GetType(); in VisitTypeConversion() local [all …]
|
D | scheduler_arm.cc | 1061 DataType::Type input_type = instr->GetInputType(); in VisitTypeConversion() local 1072 switch (input_type) { in VisitTypeConversion() 1088 switch (input_type) { in VisitTypeConversion() 1112 switch (input_type) { in VisitTypeConversion() 1136 switch (input_type) { in VisitTypeConversion()
|
D | common_arm64.h | 156 DataType::Type input_type = input->GetType(); in InputCPURegisterOrZeroRegAt() local 158 return (DataType::Size(input_type) >= vixl::aarch64::kXRegSizeInBytes) in InputCPURegisterOrZeroRegAt()
|
D | code_generator_x86_64.cc | 3171 DataType::Type input_type = conversion->GetInputType(); in VisitTypeConversion() local 3172 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 3173 << input_type << " -> " << result_type; in VisitTypeConversion() 3180 DCHECK(DataType::IsIntegralType(input_type)) << input_type; in VisitTypeConversion() 3186 switch (input_type) { in VisitTypeConversion() 3203 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() 3209 switch (input_type) { in VisitTypeConversion() 3233 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() 3239 switch (input_type) { in VisitTypeConversion() 3261 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() [all …]
|
D | graph_checker.cc | 1205 DataType::Type input_type = instruction->InputAt(0)->GetType(); in VisitNeg() local 1207 if (result_type != DataType::Kind(input_type)) { in VisitNeg() 1212 DataType::PrettyDescriptor(input_type))); in VisitNeg() 1317 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion() local 1325 DataType::PrettyDescriptor(input_type))); in VisitTypeConversion()
|
D | code_generator_x86.cc | 2966 DataType::Type input_type = conversion->GetInputType(); in VisitTypeConversion() local 2967 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 2968 << input_type << " -> " << result_type; in VisitTypeConversion() 2973 ((input_type == DataType::Type::kFloat32 || input_type == DataType::Type::kFloat64) in VisitTypeConversion() 2983 switch (input_type) { in VisitTypeConversion() 3007 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() 3014 DCHECK(DataType::IsIntegralType(input_type)) << input_type; in VisitTypeConversion() 3020 switch (input_type) { in VisitTypeConversion() 3039 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() 3045 switch (input_type) { in VisitTypeConversion() [all …]
|
D | nodes_vector.h | 374 DataType::Type input_type = input->AsVecOperation()->GetPackedType(); in HasConsistentPackedTypes() local 375 DCHECK_EQ(HVecOperation::ToUnsignedType(input_type) == HVecOperation::ToUnsignedType(type), in HasConsistentPackedTypes() 376 HVecOperation::ToSignedType(input_type) == HVecOperation::ToSignedType(type)); in HasConsistentPackedTypes() 377 return HVecOperation::ToSignedType(input_type) == HVecOperation::ToSignedType(type); in HasConsistentPackedTypes()
|
D | code_generator_arm_vixl.cc | 3815 DataType::Type input_type = conversion->GetInputType(); in VisitTypeConversion() local 3816 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 3817 << input_type << " -> " << result_type; in VisitTypeConversion() 3822 (((input_type == DataType::Type::kFloat32 || input_type == DataType::Type::kFloat64) in VisitTypeConversion() 3824 || (input_type == DataType::Type::kInt64 && result_type == DataType::Type::kFloat32)) in VisitTypeConversion() 3835 DCHECK(DataType::IsIntegralType(input_type)) << input_type; in VisitTypeConversion() 3841 switch (input_type) { in VisitTypeConversion() 3860 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() 3866 switch (input_type) { in VisitTypeConversion() 3893 LOG(FATAL) << "Unexpected type conversion from " << input_type in VisitTypeConversion() [all …]
|
D | instruction_builder.h | 123 DataType::Type input_type,
|
D | code_generator_arm64.cc | 6390 DataType::Type input_type = conversion->GetInputType(); in VisitTypeConversion() local 6392 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 6393 << input_type << " -> " << result_type; in VisitTypeConversion() 6394 if ((input_type == DataType::Type::kReference) || (input_type == DataType::Type::kVoid) || in VisitTypeConversion() 6396 LOG(FATAL) << "Unexpected type conversion from " << input_type << " to " << result_type; in VisitTypeConversion() 6399 if (DataType::IsFloatingPointType(input_type)) { in VisitTypeConversion() 6414 DataType::Type input_type = conversion->GetInputType(); in VisitTypeConversion() local 6416 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in VisitTypeConversion() 6417 << input_type << " -> " << result_type; in VisitTypeConversion() 6419 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion() [all …]
|
D | loop_optimization.cc | 1849 DataType::Type input_type = input->GetType(); in GenerateVecInv() local 1850 if (type != input_type && (type == DataType::Type::kInt64 || in GenerateVecInv() 1851 input_type == DataType::Type::kInt64)) { in GenerateVecInv()
|
D | instruction_builder.cc | 697 DataType::Type input_type, in Conversion_12x() argument 700 HInstruction* first = LoadLocal(instruction.VRegB(), input_type); in Conversion_12x()
|