Home
last modified time | relevance | path

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

12

/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()
142 return type == kPrimFloat || type == kPrimDouble; in IsFloatingPointType()
Dreflection-inl.h65 case Primitive::kPrimFloat: in ConvertPrimitiveValue()
83 } else if (srcType == Primitive::kPrimFloat) { in ConvertPrimitiveValue()
Dart_field-inl.h184 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this); in GetInt()
193 CHECK(type == Primitive::kPrimInt || type == Primitive::kPrimFloat) << PrettyField(this); in SetInt()
216 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(this); in GetFloat()
224 DCHECK_EQ(Primitive::kPrimFloat, GetTypeAsPrimitiveType()) << PrettyField(this); in SetFloat()
Dcheck_jni.cc2102 FIELD_ACCESSORS(jfloat, Float, Primitive::kPrimFloat, F) in FIELD_ACCESSORS()
2215 CALL(jfloat, Float, Primitive::kPrimFloat, F) in CALL()
2422 Primitive::kPrimFloat)); in NewFloatArray()
2457 PRIMITIVE_ARRAY_FUNCTIONS(jfloat, Float, Primitive::kPrimFloat) in PRIMITIVE_ARRAY_FUNCTIONS()
2742 case Primitive::kPrimFloat: in GetField()
2829 case Primitive::kPrimFloat: in SetField()
3006 case Primitive::kPrimFloat: in CallMethodA()
3190 case Primitive::kPrimFloat: in CallMethodV()
3349 case Primitive::kPrimFloat: in NewPrimitiveArray()
3393 case Primitive::kPrimFloat: in GetPrimitiveArrayElements()
[all …]
Dtransaction_test.cc217 ASSERT_EQ(floatField->GetTypeAsPrimitiveType(), Primitive::kPrimFloat); in TEST_F()
319 ASSERT_EQ(floatField->GetTypeAsPrimitiveType(), Primitive::kPrimFloat); in TEST_F()
Dutils_test.cc54 EXPECT_EQ("float", PrettyDescriptor(Primitive::kPrimFloat)); in TEST_F()
Dtransaction.cc520 case Primitive::kPrimFloat: in UndoArrayWrite()
/art/compiler/optimizing/
Dside_effects_test.cc155 SideEffects::FieldReadOfType(Primitive::kPrimFloat, /* is_volatile */ false)); in TEST()
158 SideEffects::ArrayReadOfType(Primitive::kPrimFloat)); in TEST()
232 s = s.Union(SideEffects::ArrayReadOfType(Primitive::kPrimFloat)); in TEST()
Dcode_generator_mips64.cc51 case Primitive::kPrimFloat: in Mips64ReturnLocation()
652 dst_type = destination.IsRegister() ? Primitive::kPrimInt : Primitive::kPrimFloat; in MoveLocation()
684 if (dst_type == Primitive::kPrimInt || dst_type == Primitive::kPrimFloat) { in MoveLocation()
699 if (dst_type == Primitive::kPrimFloat) { in MoveLocation()
719 if (dst_type == Primitive::kPrimFloat) { in MoveLocation()
741 dst_type = destination.IsStackSlot() ? Primitive::kPrimFloat : Primitive::kPrimDouble; in MoveLocation()
818 if (type == Primitive::kPrimFloat) { in SwapLocations()
1047 case Primitive::kPrimFloat: in HandleBinaryOp()
1122 case Primitive::kPrimFloat: in HandleBinaryOp()
1128 if (type == Primitive::kPrimFloat) in HandleBinaryOp()
[all …]
Dcode_generator_mips.cc55 case Primitive::kPrimFloat: in MipsReturnLocation()
115 case Primitive::kPrimFloat: in GetNextLocation()
548 if (type == Primitive::kPrimFloat) { in EmitSwap()
561 DCHECK_EQ(type, Primitive::kPrimFloat); // Can only swap a float. in EmitSwap()
1171 case Primitive::kPrimFloat: in HandleBinaryOp()
1374 case Primitive::kPrimFloat: in HandleBinaryOp()
1380 if (type == Primitive::kPrimFloat) { in HandleBinaryOp()
1387 if (type == Primitive::kPrimFloat) { in HandleBinaryOp()
1761 case Primitive::kPrimFloat: { in VisitArrayGet()
1922 case Primitive::kPrimFloat: { in VisitArraySet()
[all …]
Dinstruction_builder.cc1900 Unop_12x<HNeg>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
1925 Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
1940 Conversion_12x(instruction, Primitive::kPrimLong, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
1950 Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimInt, dex_pc); in ProcessDexInstruction()
1955 Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimLong, dex_pc); in ProcessDexInstruction()
1960 Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimDouble, dex_pc); in ProcessDexInstruction()
1975 Conversion_12x(instruction, Primitive::kPrimDouble, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2010 Binop_23x<HAdd>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2025 Binop_23x<HSub>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
2050 Binop_23x<HMul>(instruction, Primitive::kPrimFloat, dex_pc); in ProcessDexInstruction()
[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()
300 type == Primitive::kPrimInt ? Primitive::kPrimFloat : Primitive::kPrimDouble, in CreateFloatOrDoubleEquivalentOfArrayGet()
Dcode_generator_arm.cc997 case Primitive::kPrimFloat: { in GetNextLocation()
1044 case Primitive::kPrimFloat: { in GetReturnLocation()
1365 case Primitive::kPrimFloat: in GenerateCompareTestAndBranch()
1549 case Primitive::kPrimFloat: in HandleCondition()
1598 case Primitive::kPrimFloat: in HandleCondition()
1928 case Primitive::kPrimFloat: in VisitNeg()
1970 case Primitive::kPrimFloat: in VisitNeg()
1994 (((input_type == Primitive::kPrimFloat || input_type == Primitive::kPrimDouble) in VisitTypeConversion()
1996 || (input_type == Primitive::kPrimLong && result_type == Primitive::kPrimFloat)) in VisitTypeConversion()
2054 case Primitive::kPrimFloat: in VisitTypeConversion()
[all …]
Dcode_generator_x86_64.cc1324 case Primitive::kPrimFloat: { in GenerateCompareTest()
1377 case Primitive::kPrimFloat: { in GenerateCompareTestAndBranch()
1650 case Primitive::kPrimFloat: in HandleCondition()
1707 case Primitive::kPrimFloat: { in HandleCondition()
1844 case Primitive::kPrimFloat: in VisitCompare()
1895 case Primitive::kPrimFloat: { in VisitCompare()
2022 case Primitive::kPrimFloat: in VisitReturn()
2045 case Primitive::kPrimFloat: in VisitReturn()
2073 case Primitive::kPrimFloat: in GetReturnLocation()
2113 case Primitive::kPrimFloat: { in GetNextLocation()
[all …]
Dcode_generator_x86.cc915 case Primitive::kPrimFloat: in GetReturnLocation()
956 case Primitive::kPrimFloat: { in GetNextLocation()
1333 case Primitive::kPrimFloat: in GenerateCompareTestAndBranch()
1641 case Primitive::kPrimFloat: in HandleCondition()
1691 case Primitive::kPrimFloat: in HandleCondition()
1879 case Primitive::kPrimFloat: in VisitReturn()
1907 case Primitive::kPrimFloat: in VisitReturn()
2061 case Primitive::kPrimFloat: in VisitNeg()
2103 case Primitive::kPrimFloat: { in VisitNeg()
2149 if (neg->GetType() == Primitive::kPrimFloat) { in VisitX86FPNeg()
[all …]
Dcode_generator_arm64.cc118 if (return_type == Primitive::kPrimFloat) { in ARM64ReturnLocation()
1179 (cst->IsFloatConstant() && type == Primitive::kPrimFloat) || in CoherentConstantAndType()
1204 dst_type = destination.IsRegister() ? Primitive::kPrimInt : Primitive::kPrimFloat; in MoveLocation()
1237 : Primitive::kPrimFloat; in MoveLocation()
1251 dst_type = destination.IsStackSlot() ? Primitive::kPrimFloat : Primitive::kPrimDouble; in MoveLocation()
1306 case Primitive::kPrimFloat: in Load()
1368 case Primitive::kPrimFloat: in LoadAcquire()
1401 case Primitive::kPrimFloat: in Store()
1439 case Primitive::kPrimFloat: in StoreRelease()
1588 case Primitive::kPrimFloat: in FOR_EACH_UNIMPLEMENTED_INSTRUCTION()
[all …]
Dcode_generator.cc63 return (type == Primitive::kPrimFloat) || (type == Primitive::kPrimDouble); in CheckType()
73 || (type == Primitive::kPrimFloat) in CheckType()
85 return type == Primitive::kPrimFloat; in CheckType()
454 case Primitive::kPrimFloat: in GenerateUnresolvedFieldAccess()
719 if ((type == Primitive::kPrimFloat) || (type == Primitive::kPrimDouble)) { in RecordPcInfo()
Dregister_allocator.cc99 && (interval->GetType() != Primitive::kPrimFloat); in ShouldProcess()
142 : Primitive::kPrimFloat; in BlockRegister()
276 && (instruction->GetType() != Primitive::kPrimFloat); in ProcessInstruction()
1330 case Primitive::kPrimFloat: in AllocateSpillSlotFor()
1882 case Primitive::kPrimFloat: in Resolve()
Dintrinsics_mips.cc78 if (type == Primitive::kPrimFloat) { in MoveFromReturnRegister()
867 DCHECK_EQ(type, Primitive::kPrimFloat); in GenMinMaxFP()
901 DCHECK_EQ(type, Primitive::kPrimFloat); in GenMinMaxFP()
1016 Primitive::kPrimFloat, in VisitMathMinFloatFloat()
1042 Primitive::kPrimFloat, in VisitMathMaxFloatFloat()
2271 DCHECK(type == Primitive::kPrimFloat || type == Primitive::kPrimDouble); in GenIsInfinite()
2310 GenIsInfinite(invoke->GetLocations(), Primitive::kPrimFloat, IsR6(), GetAssembler()); in VisitFloatIsInfinite()
Dintrinsics_mips64.cc66 if (type == Primitive::kPrimFloat) { in MoveFromReturnRegister()
500 DCHECK_EQ(type, Primitive::kPrimFloat); in GenMinMaxFP()
551 GenMinMaxFP(invoke->GetLocations(), /* is_min */ true, Primitive::kPrimFloat, GetAssembler()); in VisitMathMinFloatFloat()
569 GenMinMaxFP(invoke->GetLocations(), /* is_min */ false, Primitive::kPrimFloat, GetAssembler()); in VisitMathMaxFloatFloat()
Dinstruction_simplifier.cc814 !(result_type == Primitive::kPrimLong && input_type == Primitive::kPrimFloat); in IsTypeConversionLossless()
1144 DCHECK_EQ(type, Primitive::kPrimFloat); in VisitDiv()
1659 DCHECK_EQ(type, Primitive::kPrimFloat); in SimplifyFP2Int()
Dinduction_var_analysis_test.cc151 parameter_, subscript, float_constant0_, Primitive::kPrimFloat, 0), d); in InsertArrayStore()
/art/runtime/native/
Djava_lang_reflect_Field.cc78 case Primitive::kPrimFloat: in GetFieldValue()
217 return GetPrimitiveField<Primitive::kPrimFloat>(env, javaField, javaObj).GetF(); in Field_getFloat()
262 case Primitive::kPrimFloat: in SetFieldValue()
397 SetPrimitiveField<Primitive::kPrimFloat>(env, javaField, javaObj, value); in Field_setFloat()
Djava_lang_System.cc111 case Primitive::kPrimFloat: in System_arraycopy()
210 System_arraycopyTUnchecked<mirror::FloatArray, Primitive::kPrimFloat>(env, javaSrc, srcPos, in System_arraycopyFloatUnchecked()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc383 if (UNLIKELY((type == Primitive::kPrimDouble) || (type == Primitive::kPrimFloat))) { in GetParamAddress()
473 case Primitive::kPrimFloat: in VisitArguments()
634 case Primitive::kPrimFloat: in Visit()
817 case Primitive::kPrimFloat: in Visit()
1572 case Primitive::kPrimFloat: in Walk()
1886 case Primitive::kPrimFloat: in Visit()

12