Home
last modified time | relevance | path

Searched refs:kPrimFloat (Results 1 – 25 of 62) sorted by relevance

123

/art/runtime/
Dprimitive.h46 kPrimFloat, enumerator
61 return kPrimFloat; in GetType()
85 case kPrimFloat: return 2; in ComponentSizeShift()
103 case kPrimFloat: return 4; in ComponentSize()
125 case kPrimFloat: in Descriptor()
145 return type == kPrimFloat || type == kPrimDouble; in IsFloatingPointType()
174 case Primitive::Type::kPrimFloat: return true; in IsNumericType()
186 static_assert(Primitive::Type::kPrimLong < Primitive::Type::kPrimFloat, "Bad ordering"); in IsWidenable()
187 static_assert(Primitive::Type::kPrimFloat < Primitive::Type::kPrimDouble, "Bad ordering"); in IsWidenable()
Dreflection-inl.h68 case Primitive::kPrimFloat: in ConvertPrimitiveValueNoThrow()
86 } else if (srcType == Primitive::kPrimFloat) { in ConvertPrimitiveValueNoThrow()
Dart_field-inl.h192 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(); in GetInt()
203 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(); in SetInt()
230 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(); in GetFloat()
238 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(); in SetFloat()
/art/compiler/optimizing/
Dscheduler_arm.cc38 case Primitive::kPrimFloat: in HandleBinaryOperationLantencies()
62 case Primitive::kPrimFloat: in VisitMul()
78 case Primitive::kPrimFloat: in HandleBitwiseOperationLantencies()
175 case Primitive::kPrimFloat: in VisitCondition()
199 case Primitive::kPrimFloat: in VisitCompare()
368 case Primitive::kPrimFloat: { in VisitArrayGet()
452 case Primitive::kPrimFloat: { in VisitArraySet()
512 case Primitive::kPrimFloat: in VisitDiv()
618 case Primitive::kPrimFloat: in HandleFieldGetLatencies()
683 case Primitive::kPrimFloat: in HandleFieldSetLatencies()
[all …]
Demit_swap_mips_test.cc158 Primitive::kPrimFloat, in TEST_F()
163 Primitive::kPrimFloat, in TEST_F()
194 Primitive::kPrimFloat, in TEST_F()
199 Primitive::kPrimFloat, in TEST_F()
322 Primitive::kPrimFloat, in TEST_F()
327 Primitive::kPrimFloat, in TEST_F()
Dcode_generator_vector_x86.cc41 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
85 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
127 case Primitive::kPrimFloat: in CreateVecUnOpLocations()
148 if (from == Primitive::kPrimInt && to == Primitive::kPrimFloat) { in VisitVecCnv()
186 case Primitive::kPrimFloat: in VisitVecNeg()
225 case Primitive::kPrimFloat: in VisitVecAbs()
275 case Primitive::kPrimFloat: in VisitVecNot()
301 case Primitive::kPrimFloat: in CreateVecBinOpLocations()
340 case Primitive::kPrimFloat: in VisitVecAdd()
410 case Primitive::kPrimFloat: in VisitVecSub()
[all …]
Dcode_generator_vector_x86_64.cc38 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
78 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
120 case Primitive::kPrimFloat: in CreateVecUnOpLocations()
141 if (from == Primitive::kPrimInt && to == Primitive::kPrimFloat) { in VisitVecCnv()
179 case Primitive::kPrimFloat: in VisitVecNeg()
218 case Primitive::kPrimFloat: in VisitVecAbs()
268 case Primitive::kPrimFloat: in VisitVecNot()
294 case Primitive::kPrimFloat: in CreateVecBinOpLocations()
333 case Primitive::kPrimFloat: in VisitVecAdd()
403 case Primitive::kPrimFloat: in VisitVecSub()
[all …]
Dcode_generator_vector_mips64.cc43 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
76 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
125 case Primitive::kPrimFloat: in CreateVecUnOpLocations()
149 if (from == Primitive::kPrimInt && to == Primitive::kPrimFloat) { in VisitVecCnv()
188 case Primitive::kPrimFloat: in VisitVecNeg()
234 case Primitive::kPrimFloat: in VisitVecAbs()
271 case Primitive::kPrimFloat: in VisitVecNot()
293 case Primitive::kPrimFloat: in CreateVecBinOpLocations()
332 case Primitive::kPrimFloat: in VisitVecAdd()
414 case Primitive::kPrimFloat: in VisitVecSub()
[all …]
Dcode_generator_vector_mips.cc38 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
73 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
122 case Primitive::kPrimFloat: in CreateVecUnOpLocations()
146 if (from == Primitive::kPrimInt && to == Primitive::kPrimFloat) { in VisitVecCnv()
184 case Primitive::kPrimFloat: in VisitVecNeg()
230 case Primitive::kPrimFloat: in VisitVecAbs()
267 case Primitive::kPrimFloat: in VisitVecNot()
289 case Primitive::kPrimFloat: in CreateVecBinOpLocations()
328 case Primitive::kPrimFloat: in VisitVecAdd()
410 case Primitive::kPrimFloat: in VisitVecSub()
[all …]
Dcode_generator_vector_arm64.cc50 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
106 case Primitive::kPrimFloat: in VisitVecReplicateScalar()
159 case Primitive::kPrimFloat: in CreateVecUnOpLocations()
180 if (from == Primitive::kPrimInt && to == Primitive::kPrimFloat) { in VisitVecCnv()
214 case Primitive::kPrimFloat: in VisitVecNeg()
254 case Primitive::kPrimFloat: in VisitVecAbs()
304 case Primitive::kPrimFloat: in CreateVecBinOpLocations()
343 case Primitive::kPrimFloat: in VisitVecAdd()
425 case Primitive::kPrimFloat: in VisitVecSub()
462 case Primitive::kPrimFloat: in VisitVecMul()
[all …]
Dside_effects_test.cc155 SideEffects::FieldReadOfType(Primitive::kPrimFloat, /* is_volatile */ false)); in TEST()
158 SideEffects::ArrayReadOfType(Primitive::kPrimFloat)); in TEST()
241 SideEffects::ArrayReadOfType(Primitive::kPrimFloat).ToString().c_str()); in TEST()
250 s = s.Union(SideEffects::ArrayReadOfType(Primitive::kPrimFloat)); in TEST()
Dlicm_test.cc189 parameter_, int_constant_, float_constant_, Primitive::kPrimFloat, 0); in TEST_F()
204 parameter_, int_constant_, Primitive::kPrimFloat, 0); in TEST_F()
207 parameter_, get_array, float_constant_, Primitive::kPrimFloat, 0); in TEST_F()
Dcommon_arm.h98 DCHECK_EQ(type, Primitive::kPrimFloat) << type; in OutputSRegister()
110 if (type == Primitive::kPrimFloat) { in OutputVRegister()
119 DCHECK_EQ(type, Primitive::kPrimFloat) << type; in InputSRegisterAt()
131 if (type == Primitive::kPrimFloat) { in InputVRegisterAt()
Dinstruction_simplifier_arm.cc158 || type == Primitive::kPrimFloat in VisitArrayGet()
179 || type == Primitive::kPrimFloat in VisitArraySet()
Dinstruction_builder.cc2050 Unop_12x<HNeg>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2075 Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2090 Conversion_12x(instruction, Primitive::kPrimLong, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2100 Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimInt, dex_pc); in ProcessDexInstruction()
2105 Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimLong, dex_pc); in ProcessDexInstruction()
2110 Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimDouble, dex_pc); in ProcessDexInstruction()
2125 Conversion_12x(instruction, Primitive::kPrimDouble, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2160 Binop_23x<HAdd>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2175 Binop_23x<HSub>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2200 Binop_23x<HMul>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
[all …]
Dscheduler_arm64.cc83 case Primitive::kPrimFloat: in VisitDiv()
264 if (instr->GetPackedType() == Primitive::kPrimFloat) { in VisitVecDiv()
Dcode_generator_mips.cc56 case Primitive::kPrimFloat: in MipsReturnLocation()
117 case Primitive::kPrimFloat: in GetNextLocation()
1185 if (type == Primitive::kPrimFloat) { in EmitSwap()
1198 DCHECK_EQ(type, Primitive::kPrimFloat); // Can only swap a float. in EmitSwap()
1266 if (type == Primitive::kPrimFloat) { in EmitSwap()
1513 DCHECK_EQ(dst_type, Primitive::kPrimFloat); in MoveLocation()
2039 case Primitive::kPrimFloat: in HandleBinaryOp()
2242 case Primitive::kPrimFloat: in HandleBinaryOp()
2248 if (type == Primitive::kPrimFloat) { in HandleBinaryOp()
2255 if (type == Primitive::kPrimFloat) { in HandleBinaryOp()
[all …]
Dcode_generator_mips64.cc52 case Primitive::kPrimFloat: in Mips64ReturnLocation()
1266 dst_type = destination.IsRegister() ? Primitive::kPrimInt : Primitive::kPrimFloat; in MoveLocation()
1303 if (dst_type == Primitive::kPrimInt || dst_type == Primitive::kPrimFloat) { in MoveLocation()
1318 if (dst_type == Primitive::kPrimFloat) { in MoveLocation()
1342 if (dst_type == Primitive::kPrimFloat) { in MoveLocation()
1382 dst_type = destination.IsStackSlot() ? Primitive::kPrimFloat : Primitive::kPrimDouble; in MoveLocation()
1459 if (type == Primitive::kPrimFloat) { in SwapLocations()
1865 case Primitive::kPrimFloat: in HandleBinaryOp()
1940 case Primitive::kPrimFloat: in HandleBinaryOp()
1946 if (type == Primitive::kPrimFloat) in HandleBinaryOp()
[all …]
Dssa_builder.cc152 DCHECK((common_type == Primitive::kPrimFloat && input_type == Primitive::kPrimNot) || in TypePhiFromInputs()
153 (common_type == Primitive::kPrimNot && input_type == Primitive::kPrimFloat)); in TypePhiFromInputs()
293 type == Primitive::kPrimInt ? Primitive::kPrimFloat : Primitive::kPrimDouble, in CreateFloatOrDoubleEquivalentOfArrayGet()
Dcode_generator_x86.cc1145 case Primitive::kPrimFloat: in GetReturnLocation()
1186 case Primitive::kPrimFloat: { in GetNextLocation()
1561 case Primitive::kPrimFloat: in GenerateCompareTestAndBranch()
1865 case Primitive::kPrimFloat: in HandleCondition()
1915 case Primitive::kPrimFloat: in HandleCondition()
2112 case Primitive::kPrimFloat: in VisitReturn()
2140 case Primitive::kPrimFloat: in VisitReturn()
2303 case Primitive::kPrimFloat: in VisitNeg()
2345 case Primitive::kPrimFloat: { in VisitNeg()
2391 if (neg->GetType() == Primitive::kPrimFloat) { in VisitX86FPNeg()
[all …]
Dcode_generator_x86_64.cc1526 case Primitive::kPrimFloat: { in GenerateCompareTest()
1579 case Primitive::kPrimFloat: { in GenerateCompareTestAndBranch()
1859 case Primitive::kPrimFloat: in HandleCondition()
1902 case Primitive::kPrimFloat: { in HandleCondition()
2039 case Primitive::kPrimFloat: in VisitCompare()
2074 case Primitive::kPrimFloat: { in VisitCompare()
2210 case Primitive::kPrimFloat: in VisitReturn()
2233 case Primitive::kPrimFloat: in VisitReturn()
2261 case Primitive::kPrimFloat: in GetReturnLocation()
2301 case Primitive::kPrimFloat: { in GetNextLocation()
[all …]
Dcode_generator_arm_vixl.cc1775 if (type == Primitive::kPrimFloat) { in GenerateVcmp()
2767 case Primitive::kPrimFloat: { in GetNextLocation()
2814 case Primitive::kPrimFloat: { in GetReturnLocation()
3416 case Primitive::kPrimFloat: in HandleCondition()
3818 case Primitive::kPrimFloat: in VisitNeg()
3852 case Primitive::kPrimFloat: in VisitNeg()
3870 (((input_type == Primitive::kPrimFloat || input_type == Primitive::kPrimDouble) in VisitTypeConversion()
3872 || (input_type == Primitive::kPrimLong && result_type == Primitive::kPrimFloat)) in VisitTypeConversion()
3930 case Primitive::kPrimFloat: in VisitTypeConversion()
3963 case Primitive::kPrimFloat: { in VisitTypeConversion()
[all …]
Dcode_generator_arm64.cc148 if (return_type == Primitive::kPrimFloat) { in ARM64ReturnLocation()
1749 (cst->IsFloatConstant() && type == Primitive::kPrimFloat) || in CoherentConstantAndType()
1787 dst_type = destination.IsRegister() ? Primitive::kPrimInt : Primitive::kPrimFloat; in MoveLocation()
1822 : Primitive::kPrimFloat; in MoveLocation()
1858 dst_type = destination.IsStackSlot() ? Primitive::kPrimFloat : Primitive::kPrimDouble; in MoveLocation()
1936 case Primitive::kPrimFloat: in Load()
2014 case Primitive::kPrimFloat: in LoadAcquire()
2051 case Primitive::kPrimFloat: in Store()
2111 case Primitive::kPrimFloat: in StoreRelease()
2275 case Primitive::kPrimFloat: in FOR_EACH_UNIMPLEMENTED_INSTRUCTION()
[all …]
/art/runtime/native/
Djava_lang_reflect_Field.cc94 case Primitive::kPrimFloat: in GetFieldValue()
236 return GetPrimitiveField<Primitive::kPrimFloat>(env, javaField, javaObj).GetF(); in Field_getFloat()
283 case Primitive::kPrimFloat: in SetFieldValue()
425 SetPrimitiveField<Primitive::kPrimFloat>(env, javaField, javaObj, value); in Field_setFloat()
Djava_lang_System.cc115 case Primitive::kPrimFloat: in System_arraycopy()
217 System_arraycopyTUnchecked<mirror::FloatArray, Primitive::kPrimFloat>(env, javaSrc, srcPos, in System_arraycopyFloatUnchecked()

123