/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 | 210 static bool IsTypeConversionImplicit(Type input_type, Type result_type); 213 static bool IsZeroExtension(Type input_type, Type result_type) { in IsZeroExtension() argument 215 IsUnsignedType(input_type) && in IsZeroExtension() 216 Size(result_type) > Size(input_type); in IsZeroExtension() 257 inline bool DataType::IsTypeConversionImplicit(Type input_type, Type result_type) { in IsTypeConversionImplicit() argument 259 DCHECK_NE(DataType::Type::kVoid, input_type); in IsTypeConversionImplicit() 267 return result_type == input_type || in IsTypeConversionImplicit() 269 IsIntegralType(input_type) && in IsTypeConversionImplicit() 271 MinValueOfIntegralType(input_type) >= MinValueOfIntegralType(result_type) && in IsTypeConversionImplicit() 272 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 | instruction_simplifier_shared.h | 30 DataType::Type input_type = conversion->GetInputType(); in CanFitInShifterOperand() local 32 return DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type) && in CanFitInShifterOperand() 33 (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 | 273 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion() local 275 if (input_type == result_type) { in VisitTypeConversion() 280 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion()
|
D | instruction_simplifier_arm64.cc | 244 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion() local 246 if (input_type == result_type) { in VisitTypeConversion() 251 if (DataType::IsIntegralType(result_type) && DataType::IsIntegralType(input_type)) { in VisitTypeConversion()
|
D | instruction_simplifier.cc | 1077 static bool IsTypeConversionLossless(DataType::Type input_type, DataType::Type result_type) { in IsTypeConversionLossless() argument 1079 DCHECK(!DataType::IsTypeConversionImplicit(input_type, result_type)) in IsTypeConversionLossless() 1080 << input_type << "," << result_type; in IsTypeConversionLossless() 1086 return DataType::Size(result_type) > DataType::Size(input_type) && in IsTypeConversionLossless() 1088 !(result_type == DataType::Type::kInt64 && input_type == DataType::Type::kFloat32); in IsTypeConversionLossless() 1112 DataType::Type input_type = type_conversion->GetInputType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly() local 1114 if (!DataType::IsIntegralType(input_type) || in IsTypeConversionForStoringIntoNoWiderFieldOnly() 1116 input_type == DataType::Type::kInt64 || in IsTypeConversionForStoringIntoNoWiderFieldOnly() 1122 if (DataType::Size(input_type) >= DataType::Size(result_type)) { in IsTypeConversionForStoringIntoNoWiderFieldOnly() 1160 DataType::Type input_type = input->GetType(); in VisitTypeConversion() local [all …]
|
D | scheduler_arm.cc | 1054 DataType::Type input_type = instr->GetInputType(); in VisitTypeConversion() local 1065 switch (input_type) { in VisitTypeConversion() 1081 switch (input_type) { in VisitTypeConversion() 1105 switch (input_type) { in VisitTypeConversion() 1129 switch (input_type) { in VisitTypeConversion()
|
D | graph_checker.cc | 1037 DataType::Type input_type = instruction->InputAt(0)->GetType(); in VisitNeg() local 1039 if (result_type != DataType::Kind(input_type)) { in VisitNeg() 1044 DataType::PrettyDescriptor(input_type))); in VisitNeg() 1132 DataType::Type input_type = instruction->GetInputType(); in VisitTypeConversion() local 1140 DataType::PrettyDescriptor(input_type))); in VisitTypeConversion()
|
D | common_arm64.h | 150 DataType::Type input_type = input->GetType(); in InputCPURegisterOrZeroRegAt() local 152 return (DataType::Size(input_type) >= vixl::aarch64::kXRegSizeInBytes) in InputCPURegisterOrZeroRegAt()
|
D | nodes_vector.h | 306 DataType::Type input_type = input->AsVecOperation()->GetPackedType(); in HasConsistentPackedTypes() local 307 DCHECK_EQ(HVecOperation::ToUnsignedType(input_type) == HVecOperation::ToUnsignedType(type), in HasConsistentPackedTypes() 308 HVecOperation::ToSignedType(input_type) == HVecOperation::ToSignedType(type)); in HasConsistentPackedTypes() 309 return HVecOperation::ToSignedType(input_type) == HVecOperation::ToSignedType(type); in HasConsistentPackedTypes()
|
D | instruction_builder.h | 129 DataType::Type input_type,
|
D | loop_optimization.cc | 1688 DataType::Type input_type = input->GetType(); in GenerateVecInv() local 1689 if (type != input_type && (type == DataType::Type::kInt64 || in GenerateVecInv() 1690 input_type == DataType::Type::kInt64)) { in GenerateVecInv()
|
D | instruction_builder.cc | 631 DataType::Type input_type, in Conversion_12x() argument 634 HInstruction* first = LoadLocal(instruction.VRegB(), input_type); in Conversion_12x()
|