/art/compiler/optimizing/ |
D | data_type_test.cc | 42 CheckConversion<DataType::Type::kFloat32, Primitive::kPrimFloat>(); in TEST() 99 EXPECT_FALSE(DataType::IsTypeConversionImplicit(input_type, DataType::Type::kFloat32)); in TEST() 103 EXPECT_FALSE(DataType::IsTypeConversionImplicit(DataType::Type::kFloat32, 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()
|
D | data_type-inl.h | 35 case Primitive::kPrimFloat: return DataType::Type::kFloat32; in DataTypeFromPrimitive() 53 case DataType::Type::kFloat32: return Primitive::kPrimFloat; in DataTypeToPrimitive() 79 case DataType::Type::kFloat32: return 'f'; // Java float (F). in TypeId()
|
D | code_generator_vector_x86_64.cc | 44 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 95 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 124 case DataType::Type::kFloat32: in VisitVecExtractScalar() 154 case DataType::Type::kFloat32: in VisitVecExtractScalar() 177 case DataType::Type::kFloat32: in CreateVecUnOpLocations() 250 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 289 case DataType::Type::kFloat32: in VisitVecNeg() 328 case DataType::Type::kFloat32: in VisitVecAbs() 379 case DataType::Type::kFloat32: in VisitVecNot() 406 case DataType::Type::kFloat32: in CreateVecBinOpLocations() [all …]
|
D | code_generator_vector_x86.cc | 49 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 104 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 136 case DataType::Type::kFloat32: in VisitVecExtractScalar() 171 case DataType::Type::kFloat32: in VisitVecExtractScalar() 194 case DataType::Type::kFloat32: in CreateVecUnOpLocations() 267 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 306 case DataType::Type::kFloat32: in VisitVecNeg() 345 case DataType::Type::kFloat32: in VisitVecAbs() 396 case DataType::Type::kFloat32: in VisitVecNot() 423 case DataType::Type::kFloat32: in CreateVecBinOpLocations() [all …]
|
D | side_effects_test.cc | 34 DataType::Type::kFloat32, 168 SideEffects::FieldReadOfType(DataType::Type::kFloat32, /* is_volatile= */ false)); in TEST() 171 SideEffects::ArrayReadOfType(DataType::Type::kFloat32)); in TEST() 253 SideEffects::ArrayReadOfType(DataType::Type::kFloat32).ToString().c_str()); in TEST() 262 s = s.Union(SideEffects::ArrayReadOfType(DataType::Type::kFloat32)); in TEST()
|
D | data_type.h | 42 kFloat32, enumerator 63 case Type::kFloat32: in SizeShift() 90 case Type::kFloat32: in Size() 126 return type == Type::kFloat32 || type == Type::kFloat64; in IsFloatingPointType()
|
D | scheduler_arm.cc | 152 case DataType::Type::kFloat32: in HandleBinaryOperationLantencies() 176 case DataType::Type::kFloat32: in VisitMul() 192 case DataType::Type::kFloat32: in HandleBitwiseOperationLantencies() 640 case DataType::Type::kFloat32: in VisitCompare() 809 case DataType::Type::kFloat32: { in VisitArrayGet() 894 case DataType::Type::kFloat32: { in VisitArraySet() 954 case DataType::Type::kFloat32: in VisitDiv() 1061 case DataType::Type::kFloat32: in HandleFieldGetLatencies() 1125 case DataType::Type::kFloat32: in HandleFieldSetLatencies() 1178 case DataType::Type::kFloat32: in VisitTypeConversion() [all …]
|
D | common_arm.h | 90 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in OutputSRegister() 102 if (type == DataType::Type::kFloat32) { in OutputVRegister() 111 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in InputSRegisterAt() 123 if (type == DataType::Type::kFloat32) { in InputVRegisterAt()
|
D | licm_test.cc | 187 parameter_, int_constant_, float_constant_, DataType::Type::kFloat32, 0); in TEST_F() 202 parameter_, int_constant_, DataType::Type::kFloat32, 0); in TEST_F() 205 parameter_, get_array, float_constant_, DataType::Type::kFloat32, 0); in TEST_F()
|
D | code_generator_vector_arm64_sve.cc | 91 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 146 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 179 case DataType::Type::kFloat32: in VisitVecExtractScalar() 202 case DataType::Type::kFloat32: in VisitVecExtractScalar() 228 case DataType::Type::kFloat32: in CreateVecUnOpLocations() 290 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 323 case DataType::Type::kFloat32: in VisitVecNeg() 359 case DataType::Type::kFloat32: in VisitVecAbs() 418 case DataType::Type::kFloat32: in CreateVecBinOpLocations() 457 case DataType::Type::kFloat32: in VisitVecAdd() [all …]
|
D | code_generator_vector_arm64_neon.cc | 91 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 148 case DataType::Type::kFloat32: in VisitVecReplicateScalar() 183 case DataType::Type::kFloat32: in VisitVecExtractScalar() 206 case DataType::Type::kFloat32: in VisitVecExtractScalar() 234 case DataType::Type::kFloat32: in CreateVecUnOpLocations() 295 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv() 330 case DataType::Type::kFloat32: in VisitVecNeg() 369 case DataType::Type::kFloat32: in VisitVecAbs() 422 case DataType::Type::kFloat32: in CreateVecBinOpLocations() 462 case DataType::Type::kFloat32: in VisitVecAdd() [all …]
|
D | instruction_simplifier_arm.cc | 216 || type == DataType::Type::kFloat32 in VisitArrayGet() 238 || type == DataType::Type::kFloat32 in VisitArraySet()
|
D | instruction_builder.cc | 1889 constexpr DataType::Type kFloat32 = DataType::Type::kFloat32; in BuildSimpleIntrinsic() local 1980 instruction = new (allocator_) HMin(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic() 1992 instruction = new (allocator_) HMax(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic() 2004 instruction = new (allocator_) HAbs(kFloat32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic() 2997 Unop_12x<HNeg>(instruction, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction() 3022 Conversion_12x(instruction, DataType::Type::kInt32, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction() 3037 Conversion_12x(instruction, DataType::Type::kInt64, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction() 3047 Conversion_12x(instruction, DataType::Type::kFloat32, DataType::Type::kInt32, dex_pc); in ProcessDexInstruction() 3052 Conversion_12x(instruction, DataType::Type::kFloat32, DataType::Type::kInt64, dex_pc); in ProcessDexInstruction() 3057 Conversion_12x(instruction, DataType::Type::kFloat32, DataType::Type::kFloat64, dex_pc); in ProcessDexInstruction() [all …]
|
D | ssa_builder.cc | 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() 302 type == DataType::Type::kInt32 ? DataType::Type::kFloat32 : DataType::Type::kFloat64, in CreateFloatOrDoubleEquivalentOfArrayGet()
|
D | code_generator_riscv64.cc | 118 case DataType::Type::kFloat32: in Riscv64ReturnLocation() 232 if (type == DataType::Type::kFloat32) { in GetNextLocation() 799 if (type == DataType::Type::kFloat32) { in FpBinOp() 858 if (type == DataType::Type::kFloat32) { in FpUnOp() 916 case DataType::Type::kFloat32: in Load() 951 case DataType::Type::kFloat32: in Store() 1037 case DataType::Type::kFloat32: in ShNAdd() 1101 ? (double_slot ? DataType::Type::kFloat64 : DataType::Type::kFloat32) in Exchange() 1409 case DataType::Type::kFloat32: in GenerateTestAndBranch() 2132 case DataType::Type::kFloat32: in HandleBinaryOp() [all …]
|
D | code_generator_x86_64.cc | 1238 case DataType::Type::kFloat32: in GenerateStaticOrDirectCall() 1755 case DataType::Type::kFloat32: in SetInForReturnValue() 2064 case DataType::Type::kFloat32: in LoadFromMemoryNoReference() 2178 case DataType::Type::kFloat32: { in GenerateCompareTest() 2231 case DataType::Type::kFloat32: { in GenerateCompareTestAndBranch() 2559 case DataType::Type::kFloat32: in HandleCondition() 2602 case DataType::Type::kFloat32: { in HandleCondition() 2740 case DataType::Type::kFloat32: in VisitCompare() 2776 case DataType::Type::kFloat32: { in VisitCompare() 2917 case DataType::Type::kFloat32: { in VisitReturn() [all …]
|
D | scheduler_arm64.cc | 194 case DataType::Type::kFloat32: in VisitDiv() 375 if (instr->GetPackedType() == DataType::Type::kFloat32) { in VisitVecDiv()
|
D | code_generator_x86.cc | 1224 case DataType::Type::kFloat32: in SetInForReturnValue() 1511 case DataType::Type::kFloat32: in GetReturnLocation() 1551 case DataType::Type::kFloat32: { in GetNextLocation() 1777 case DataType::Type::kFloat32: in LoadFromMemoryNoBarrier() 1849 case DataType::Type::kFloat32: { in MoveToMemory() 2115 case DataType::Type::kFloat32: in GenerateCompareTestAndBranch() 2469 case DataType::Type::kFloat32: in HandleCondition() 2519 case DataType::Type::kFloat32: in HandleCondition() 2721 case DataType::Type::kFloat32: in VisitReturn() 2985 case DataType::Type::kFloat32: in VisitNeg() [all …]
|
D | code_generator_arm_vixl.cc | 293 case DataType::Type::kFloat32: in GetLoadOperandType() 1323 if (type == DataType::Type::kFloat32) { in GenerateVcmp() 2599 case DataType::Type::kFloat32: { in GetNextLocation() 2650 case DataType::Type::kFloat32: { in GetReturnLocation() 3590 case DataType::Type::kFloat32: in VisitReturn() 3854 case DataType::Type::kFloat32: in VisitNeg() 3888 case DataType::Type::kFloat32: in VisitNeg() 3907 (((input_type == DataType::Type::kFloat32 || input_type == DataType::Type::kFloat64) in VisitTypeConversion() 3909 || (input_type == DataType::Type::kInt64 && result_type == DataType::Type::kFloat32)) in VisitTypeConversion() 3932 case DataType::Type::kFloat32: in VisitTypeConversion() [all …]
|
D | code_generator_arm64.cc | 148 if (return_type == DataType::Type::kFloat32) { in ARM64ReturnLocation() 1664 (cst->IsFloatConstant() && type == DataType::Type::kFloat32) || in CoherentConstantAndType() 1702 dst_type = destination.IsRegister() ? DataType::Type::kInt32 : DataType::Type::kFloat32; in MoveLocation() 1737 : DataType::Type::kFloat32; in MoveLocation() 1758 destination.IsStackSlot() ? DataType::Type::kFloat32 : DataType::Type::kFloat64; in MoveLocation() 1837 case DataType::Type::kFloat32: in Load() 1906 case DataType::Type::kFloat32: in LoadAcquire() 1946 case DataType::Type::kFloat32: in Store() 2009 case DataType::Type::kFloat32: in StoreRelease() 2205 case DataType::Type::kFloat32: in HandleBinaryOp() [all …]
|
D | code_generator.cc | 75 return (type == DataType::Type::kFloat32) || (type == DataType::Type::kFloat64); in CheckType() 85 || (type == DataType::Type::kFloat32) in CheckType() 97 return type == DataType::Type::kFloat32; in CheckType() 728 case DataType::Type::kFloat32: in GenerateUnresolvedFieldAccess() 1159 if ((type == DataType::Type::kFloat32) || (type == DataType::Type::kFloat64)) { in RecordPcInfo() 1851 case DataType::Type::kFloat32: in ScaleFactorForType()
|
D | intrinsics_arm_vixl.cc | 1893 case DataType::Type::kFloat32: in GenerateReverseBytes() 2632 case DataType::Type::kFloat32: { in GenerateIntrinsicGet() 2903 if (offset.IsValid() && (DataType::Is64BitType(type) || type == DataType::Type::kFloat32)) { in GenerateIntrinsicSet() 2935 case DataType::Type::kFloat32: in GenerateIntrinsicSet() 3788 GenerateReverseBytes(assembler, DataType::Type::kFloat32, loaded_value, old_value); in GenerateGetAndUpdate() 4586 } else if (type == DataType::Type::kFloat32) { in GenerateVarHandleGet() 4727 if (DataType::Is64BitType(value_type) || value_type == DataType::Type::kFloat32) { in GenerateVarHandleSet() 4753 } else if (value_type == DataType::Type::kFloat32) { in GenerateVarHandleSet() 4962 } else if (value_type == DataType::Type::kFloat32) { in GenerateVarHandleCompareAndSetOrExchange() 5069 } else if (value_type == DataType::Type::kFloat32) { in GenerateVarHandleCompareAndSetOrExchange() [all …]
|
D | register_allocator_linear_scan.cc | 148 : DataType::Type::kFloat32; in BlockRegister() 1232 case DataType::Type::kFloat32: in AllocateSpillSlotFor()
|
D | loop_optimization.cc | 1901 } else if (to == DataType::Type::kFloat32 && from == DataType::Type::kInt32) { in VectorizeUse() 2081 case DataType::Type::kFloat32: in TrySetVectorType() 2111 case DataType::Type::kFloat32: in TrySetVectorType() 2161 case DataType::Type::kFloat32: in TrySetVectorType()
|
D | register_allocation_resolver.cc | 110 case DataType::Type::kFloat32: in Resolve()
|