/art/test/642-fp-callees/ |
D | fp_callees.cc | 47 CHECK_EQ(bit_cast<int64_t>(a), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 49 CHECK_EQ(bit_cast<int64_t>(b), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 51 CHECK_EQ(bit_cast<int64_t>(c), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 53 CHECK_EQ(bit_cast<int64_t>(d), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 55 CHECK_EQ(bit_cast<int64_t>(e), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 57 CHECK_EQ(bit_cast<int64_t>(f), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 59 CHECK_EQ(bit_cast<int64_t>(g), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 61 CHECK_EQ(bit_cast<int64_t>(h), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 63 CHECK_EQ(bit_cast<int64_t>(i), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() 65 CHECK_EQ(bit_cast<int64_t>(j), bit_cast<int64_t>(temp)); in Java_Main_holdFpTemporaries() [all …]
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 1961 jint i11 = bit_cast<jint, jfloat>(f1); in JNI_TEST_NORMAL_ONLY() 1963 jint i12 = bit_cast<jint, jfloat>(f2); in JNI_TEST_NORMAL_ONLY() 1965 jint i13 = bit_cast<jint, jfloat>(f3); in JNI_TEST_NORMAL_ONLY() 1967 jint i14 = bit_cast<jint, jfloat>(f4); in JNI_TEST_NORMAL_ONLY() 1969 jint i15 = bit_cast<jint, jfloat>(f5); in JNI_TEST_NORMAL_ONLY() 1971 jint i16 = bit_cast<jint, jfloat>(f6); in JNI_TEST_NORMAL_ONLY() 1973 jint i17 = bit_cast<jint, jfloat>(f7); in JNI_TEST_NORMAL_ONLY() 1975 jint i18 = bit_cast<jint, jfloat>(f8); in JNI_TEST_NORMAL_ONLY() 1977 jint i19 = bit_cast<jint, jfloat>(f9); in JNI_TEST_NORMAL_ONLY() 1979 jint i20 = bit_cast<jint, jfloat>(f10); in JNI_TEST_NORMAL_ONLY() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 54 uint32_t saved_local_ref_cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in JniMethodFastStart() 69 uint32_t saved_local_ref_cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in JniMethodStart() 122 env->SetLocalRefCookie(bit_cast<IRTSegmentState>(saved_local_ref_cookie)); in PopLocalReferences() 231 double d = bit_cast<double, uint64_t>(result_f); in GenericJniMethodEnd() 232 return bit_cast<uint32_t, float>(static_cast<float>(d)); in GenericJniMethodEnd()
|
D | quick_trampoline_entrypoints.cc | 1688 PushGpr(static_cast<int64_t>(bit_cast<int32_t, uint32_t>(val))); in AdvanceInt() 1696 PushStack(static_cast<int64_t>(bit_cast<int32_t, uint32_t>(val))); in AdvanceInt() 1756 AdvanceInt(bit_cast<uint32_t, float>(val)); in AdvanceFloat() 1762 PushFpr8(bit_cast<uint64_t, double>(val)); in AdvanceFloat() 1765 PushFpr8(static_cast<uint64_t>(bit_cast<uint32_t, float>(val))); in AdvanceFloat() 1776 PushStack(static_cast<uintptr_t>(bit_cast<uint64_t, double>(val))); in AdvanceFloat() 1778 PushStack(static_cast<uintptr_t>(bit_cast<uint32_t, float>(val))); in AdvanceFloat()
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 65 uint32_t cast = bit_cast<uint32_t, float>(1.0f); in VisitFrame() 109 uint64_t cast = bit_cast<uint64_t, double>(2.0); in VisitFrame()
|
/art/libartbase/base/ |
D | memory_region.h | 90 return bit_cast<T, U>(equivalent_unsigned_integer_value); in LoadUnaligned() 99 U equivalent_unsigned_integer_value = bit_cast<U, T>(value); in StoreUnaligned()
|
D | casts.h | 90 inline Dest bit_cast(const Source& source) { in bit_cast() function
|
/art/test/457-regs/ |
D | regs_jni.cc | 75 uint32_t cast = bit_cast<uint32_t, float>(4.0f); in VisitFrame() 144 int32_t cast = bit_cast<int32_t, float>(float_value); in Java_PhiLiveness_regsNativeCallWithParameters()
|
/art/compiler/optimizing/ |
D | ssa_builder.cc | 591 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent() 598 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent() 613 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent() 620 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
|
D | code_generator.h | 508 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf() 518 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf() 523 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
|
D | code_generator.cc | 1268 int64_t value = bit_cast<int64_t, double>(current->AsDoubleConstant()->GetValue()); in EmitEnvironment() 1280 int32_t value = bit_cast<int32_t, float>(current->AsFloatConstant()->GetValue()); in EmitEnvironment()
|
D | instruction_simplifier.cc | 1691 if (CanDivideByReciprocalMultiplyDouble(bit_cast<int64_t, double>(value))) { in VisitDiv() 1697 if (CanDivideByReciprocalMultiplyFloat(bit_cast<int32_t, float>(value))) { in VisitDiv()
|
D | code_generator_arm_vixl.cc | 3715 __ Vmov(constant_d, bit_cast<double, int64_t>(k2Pow32EncodingForDouble)); in VisitTypeConversion() 6783 uint64_t int_value = bit_cast<uint64_t, double>(value); in EmitMove() 6801 __ Mov(temp, bit_cast<int32_t, float>(value)); in EmitMove()
|
D | code_generator_mips.cc | 9834 uint32_t min_val = bit_cast<uint32_t, float>(std::numeric_limits<int32_t>::min()); in VisitTypeConversion() 9838 uint64_t min_val = bit_cast<uint64_t, double>(std::numeric_limits<int32_t>::min()); in VisitTypeConversion()
|
/art/runtime/ |
D | subtype_check.h | 497 << "full new: " << bit_cast<uint32_t>(new_value) in WriteSubtypeCheckBits() 498 << ", full old: " << bit_cast<uint32_t>(full_old); in WriteSubtypeCheckBits()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 213 int64_t result_int64t = bit_cast<int64_t, double>(result.GetD()); in TestCeilFloor() 214 int64_t expect_int64t = bit_cast<int64_t, double>(test_pairs[i][1]); in TestCeilFloor()
|
D | unstarted_runtime.cc | 1179 result->SetJ(bit_cast<int64_t, double>(in)); in UnstartedDoubleDoubleToRawLongBits() 1784 result->SetD(bit_cast<double>(long_input)); in UnstartedJNIDoubleLongBitsToDouble()
|