Home
last modified time | relevance | path

Searched refs:kFloat32 (Results 1 – 25 of 40) sorted by relevance

12

/art/compiler/optimizing/
Ddata_type_test.cc42 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()
Demit_swap_mips_test.cc160 DataType::Type::kFloat32, in TEST_F()
165 DataType::Type::kFloat32, in TEST_F()
196 DataType::Type::kFloat32, in TEST_F()
201 DataType::Type::kFloat32, in TEST_F()
324 DataType::Type::kFloat32, in TEST_F()
329 DataType::Type::kFloat32, in TEST_F()
Ddata_type-inl.h35 case Primitive::kPrimFloat: return DataType::Type::kFloat32; in DataTypeFromPrimitive()
60 case DataType::Type::kFloat32: return 'f'; // Java float (F). in TypeId()
Dcode_generator_vector_x86.cc49 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
103 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
135 case DataType::Type::kFloat32: in VisitVecExtractScalar()
170 case DataType::Type::kFloat32: in VisitVecExtractScalar()
193 case DataType::Type::kFloat32: in CreateVecUnOpLocations()
266 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv()
305 case DataType::Type::kFloat32: in VisitVecNeg()
344 case DataType::Type::kFloat32: in VisitVecAbs()
395 case DataType::Type::kFloat32: in VisitVecNot()
422 case DataType::Type::kFloat32: in CreateVecBinOpLocations()
[all …]
Dcode_generator_vector_x86_64.cc44 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
94 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
123 case DataType::Type::kFloat32: in VisitVecExtractScalar()
153 case DataType::Type::kFloat32: in VisitVecExtractScalar()
176 case DataType::Type::kFloat32: in CreateVecUnOpLocations()
249 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv()
288 case DataType::Type::kFloat32: in VisitVecNeg()
327 case DataType::Type::kFloat32: in VisitVecAbs()
378 case DataType::Type::kFloat32: in VisitVecNot()
405 case DataType::Type::kFloat32: in CreateVecBinOpLocations()
[all …]
Dscheduler_arm.cc41 case DataType::Type::kFloat32: in HandleBinaryOperationLantencies()
65 case DataType::Type::kFloat32: in VisitMul()
81 case DataType::Type::kFloat32: in HandleBitwiseOperationLantencies()
529 case DataType::Type::kFloat32: in VisitCompare()
698 case DataType::Type::kFloat32: { in VisitArrayGet()
783 case DataType::Type::kFloat32: { in VisitArraySet()
843 case DataType::Type::kFloat32: in VisitDiv()
950 case DataType::Type::kFloat32: in HandleFieldGetLatencies()
1016 case DataType::Type::kFloat32: in HandleFieldSetLatencies()
1069 case DataType::Type::kFloat32: in VisitTypeConversion()
[all …]
Ddata_type.h41 kFloat32, enumerator
62 case Type::kFloat32: in SizeShift()
89 case Type::kFloat32: in Size()
104 return type == Type::kFloat32 || type == Type::kFloat64; in IsFloatingPointType()
Dside_effects_test.cc33 DataType::Type::kFloat32,
167 SideEffects::FieldReadOfType(DataType::Type::kFloat32, /* is_volatile= */ false)); in TEST()
170 SideEffects::ArrayReadOfType(DataType::Type::kFloat32)); in TEST()
252 SideEffects::ArrayReadOfType(DataType::Type::kFloat32).ToString().c_str()); in TEST()
261 s = s.Union(SideEffects::ArrayReadOfType(DataType::Type::kFloat32)); in TEST()
Dcommon_arm.h98 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in OutputSRegister()
110 if (type == DataType::Type::kFloat32) { in OutputVRegister()
119 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in InputSRegisterAt()
131 if (type == DataType::Type::kFloat32) { in InputVRegisterAt()
Dcode_generator_vector_mips64.cc44 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
78 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
109 case DataType::Type::kFloat32: in VisitVecExtractScalar()
132 case DataType::Type::kFloat32: in VisitVecExtractScalar()
161 case DataType::Type::kFloat32: in CreateVecUnOpLocations()
241 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv()
281 case DataType::Type::kFloat32: in VisitVecNeg()
326 case DataType::Type::kFloat32: in VisitVecAbs()
364 case DataType::Type::kFloat32: in VisitVecNot()
387 case DataType::Type::kFloat32: in CreateVecBinOpLocations()
[all …]
Dcode_generator_vector_mips.cc39 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
79 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
110 case DataType::Type::kFloat32: in VisitVecExtractScalar()
134 case DataType::Type::kFloat32: in VisitVecExtractScalar()
163 case DataType::Type::kFloat32: in CreateVecUnOpLocations()
243 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv()
282 case DataType::Type::kFloat32: in VisitVecNeg()
327 case DataType::Type::kFloat32: in VisitVecAbs()
365 case DataType::Type::kFloat32: in VisitVecNot()
388 case DataType::Type::kFloat32: in CreateVecBinOpLocations()
[all …]
Dlicm_test.cc186 parameter_, int_constant_, float_constant_, DataType::Type::kFloat32, 0); in TEST_F()
201 parameter_, int_constant_, DataType::Type::kFloat32, 0); in TEST_F()
204 parameter_, get_array, float_constant_, DataType::Type::kFloat32, 0); in TEST_F()
Dcode_generator_vector_arm64.cc64 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
121 case DataType::Type::kFloat32: in VisitVecReplicateScalar()
156 case DataType::Type::kFloat32: in VisitVecExtractScalar()
179 case DataType::Type::kFloat32: in VisitVecExtractScalar()
207 case DataType::Type::kFloat32: in CreateVecUnOpLocations()
268 if (from == DataType::Type::kInt32 && to == DataType::Type::kFloat32) { in VisitVecCnv()
303 case DataType::Type::kFloat32: in VisitVecNeg()
342 case DataType::Type::kFloat32: in VisitVecAbs()
395 case DataType::Type::kFloat32: in CreateVecBinOpLocations()
435 case DataType::Type::kFloat32: in VisitVecAdd()
[all …]
Dinstruction_simplifier_arm.cc211 || type == DataType::Type::kFloat32 in VisitArrayGet()
232 || type == DataType::Type::kFloat32 in VisitArraySet()
Dinstruction_builder.cc2344 Unop_12x<HNeg>(instruction, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
2369 Conversion_12x(instruction, DataType::Type::kInt32, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
2384 Conversion_12x(instruction, DataType::Type::kInt64, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
2394 Conversion_12x(instruction, DataType::Type::kFloat32, DataType::Type::kInt32, dex_pc); in ProcessDexInstruction()
2399 Conversion_12x(instruction, DataType::Type::kFloat32, DataType::Type::kInt64, dex_pc); in ProcessDexInstruction()
2404 Conversion_12x(instruction, DataType::Type::kFloat32, DataType::Type::kFloat64, dex_pc); in ProcessDexInstruction()
2419 Conversion_12x(instruction, DataType::Type::kFloat64, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
2454 Binop_23x<HAdd>(instruction, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
2469 Binop_23x<HSub>(instruction, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
2494 Binop_23x<HMul>(instruction, DataType::Type::kFloat32, dex_pc); in ProcessDexInstruction()
[all …]
Dscheduler_arm64.cc85 case DataType::Type::kFloat32: in VisitDiv()
266 if (instr->GetPackedType() == DataType::Type::kFloat32) { in VisitVecDiv()
Dcode_generator_mips64.cc66 case DataType::Type::kFloat32: in Mips64ReturnLocation()
1216 dst_type = destination.IsRegister() ? DataType::Type::kInt32 : DataType::Type::kFloat32; in MoveLocation()
1253 if (dst_type == DataType::Type::kInt32 || dst_type == DataType::Type::kFloat32) { in MoveLocation()
1268 if (dst_type == DataType::Type::kFloat32) { in MoveLocation()
1292 if (dst_type == DataType::Type::kFloat32) { in MoveLocation()
1333 destination.IsStackSlot() ? DataType::Type::kFloat32 : DataType::Type::kFloat64; in MoveLocation()
1417 if (type == DataType::Type::kFloat32) { in SwapLocations()
1986 case DataType::Type::kFloat32: in HandleBinaryOp()
2121 case DataType::Type::kFloat32: in HandleBinaryOp()
2127 if (type == DataType::Type::kFloat32) in HandleBinaryOp()
[all …]
Dinstruction_simplifier_mips.cc66 packed_type != DataType::Type::kFloat32 && packed_type != DataType::Type::kFloat64) { in TryExtractArrayAccessIndex()
Dcode_generator_mips.cc70 case DataType::Type::kFloat32: in MipsReturnLocation()
132 case DataType::Type::kFloat32: in GetNextLocation()
1117 if (type == DataType::Type::kFloat32) { in EmitSwap()
1131 DCHECK_EQ(type, DataType::Type::kFloat32); // Can only swap a float. in EmitSwap()
1208 if (type == DataType::Type::kFloat32) { in EmitSwap()
1471 DCHECK_EQ(dst_type, DataType::Type::kFloat32); in MoveLocation()
2150 case DataType::Type::kFloat32: in HandleBinaryOp()
2369 case DataType::Type::kFloat32: in HandleBinaryOp()
2375 if (type == DataType::Type::kFloat32) { in HandleBinaryOp()
2382 if (type == DataType::Type::kFloat32) { in HandleBinaryOp()
[all …]
Dssa_builder.cc160 (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()
Dcode_generator_x86_64.cc1620 case DataType::Type::kFloat32: { in GenerateCompareTest()
1673 case DataType::Type::kFloat32: { in GenerateCompareTestAndBranch()
1953 case DataType::Type::kFloat32: in HandleCondition()
1996 case DataType::Type::kFloat32: { in HandleCondition()
2134 case DataType::Type::kFloat32: in VisitCompare()
2170 case DataType::Type::kFloat32: { in VisitCompare()
2307 case DataType::Type::kFloat32: in VisitReturn()
2331 case DataType::Type::kFloat32: in VisitReturn()
2362 case DataType::Type::kFloat32: in GetReturnLocation()
2403 case DataType::Type::kFloat32: { in GetNextLocation()
[all …]
Dcode_generator_x86.cc1165 case DataType::Type::kFloat32: in GetReturnLocation()
1207 case DataType::Type::kFloat32: { in GetNextLocation()
1593 case DataType::Type::kFloat32: in GenerateCompareTestAndBranch()
1897 case DataType::Type::kFloat32: in HandleCondition()
1947 case DataType::Type::kFloat32: in HandleCondition()
2145 case DataType::Type::kFloat32: in VisitReturn()
2174 case DataType::Type::kFloat32: in VisitReturn()
2347 case DataType::Type::kFloat32: in VisitNeg()
2389 case DataType::Type::kFloat32: { in VisitNeg()
2435 if (neg->GetType() == DataType::Type::kFloat32) { in VisitX86FPNeg()
[all …]
Dcode_generator_arm_vixl.cc283 case DataType::Type::kFloat32: in GetLoadOperandType()
308 case DataType::Type::kFloat32: in GetStoreOperandType()
1263 if (type == DataType::Type::kFloat32) { in GenerateVcmp()
2240 case DataType::Type::kFloat32: { in GetNextLocation()
2291 case DataType::Type::kFloat32: { in GetReturnLocation()
3319 case DataType::Type::kFloat32: in VisitNeg()
3353 case DataType::Type::kFloat32: in VisitNeg()
3372 (((input_type == DataType::Type::kFloat32 || input_type == DataType::Type::kFloat64) in VisitTypeConversion()
3374 || (input_type == DataType::Type::kInt64 && result_type == DataType::Type::kFloat32)) in VisitTypeConversion()
3397 case DataType::Type::kFloat32: in VisitTypeConversion()
[all …]
Dcode_generator_arm64.cc135 if (return_type == DataType::Type::kFloat32) { in ARM64ReturnLocation()
1295 (cst->IsFloatConstant() && type == DataType::Type::kFloat32) || in CoherentConstantAndType()
1333 dst_type = destination.IsRegister() ? DataType::Type::kInt32 : DataType::Type::kFloat32; in MoveLocation()
1368 : DataType::Type::kFloat32; in MoveLocation()
1405 destination.IsStackSlot() ? DataType::Type::kFloat32 : DataType::Type::kFloat64; in MoveLocation()
1484 case DataType::Type::kFloat32: in Load()
1553 case DataType::Type::kFloat32: in LoadAcquire()
1593 case DataType::Type::kFloat32: in Store()
1656 case DataType::Type::kFloat32: in StoreRelease()
1819 case DataType::Type::kFloat32: in HandleBinaryOp()
[all …]
Dregister_allocator_linear_scan.cc89 && (interval->GetType() != DataType::Type::kFloat32); in ShouldProcess()
139 : DataType::Type::kFloat32; in BlockRegister()
272 && (instruction->GetType() != DataType::Type::kFloat32); in ProcessInstruction()
1122 case DataType::Type::kFloat32: in AllocateSpillSlotFor()

12