Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 25 of 33) sorted by relevance

12

/art/test/557-checker-instruct-simplifier-ror/src/
DMain.java172 public static int ror_int_reg_v_csubv(int value, int distance) { in ror_int_reg_v_csubv() argument
173 return (value >>> distance) | (value << (32 - distance)); in ror_int_reg_v_csubv()
207 int distance = x - y; in ror_int_subv_csubv() local
208 return (value >>> distance) | (value << (32 - distance)); in ror_int_subv_csubv()
239 int distance = x - y; in ror_int_subv_csubv_env() local
240 int bits_minus_dist = 32 - distance; in ror_int_subv_csubv_env()
241 return ((value >>> distance) | (value << bits_minus_dist)) + bits_minus_dist; in ror_int_subv_csubv_env()
266 public static long ror_long_reg_v_csubv(long value, int distance) { in ror_long_reg_v_csubv() argument
267 return (value >>> distance) | (value << (64 - distance)); in ror_long_reg_v_csubv()
272 public static long ror_long_reg_v_csubv_0(long value, int distance) { in ror_long_reg_v_csubv_0() argument
[all …]
/art/test/567-checker-builder-intrinsics/src/
DTestRotate.java29 private static int rotateLeftByte(byte value, int distance) { in rotateLeftByte() argument
30 return Integer.rotateLeft(value, distance); in rotateLeftByte()
43 private static int rotateLeftShort(short value, int distance) { in rotateLeftShort() argument
44 return Integer.rotateLeft(value, distance); in rotateLeftShort()
57 private static int rotateLeftChar(char value, int distance) { in rotateLeftChar() argument
58 return Integer.rotateLeft(value, distance); in rotateLeftChar()
71 private static int rotateLeftInt(int value, int distance) { in rotateLeftInt() argument
72 return Integer.rotateLeft(value, distance); in rotateLeftInt()
85 private static long rotateLeftLong(long value, int distance) { in rotateLeftLong() argument
86 return Long.rotateLeft(value, distance); in rotateLeftLong()
[all …]
/art/test/542-bitfield-rotates/src/
DMain.java51 public static int $noinline$rotate_int_right_reg_v_csubv(int value, int distance) { in $noinline$rotate_int_right_reg_v_csubv() argument
52 return (value >>> distance) | (value << (32 - distance)); in $noinline$rotate_int_right_reg_v_csubv()
71 public static long $noinline$rotate_long_right_reg_v_csubv(long value, int distance) { in $noinline$rotate_long_right_reg_v_csubv() argument
72 return (value >>> distance) | (value << (64 - distance)); in $noinline$rotate_long_right_reg_v_csubv()
91 public static int $noinline$rotate_int_left_reg_csubv_v(int value, int distance) { in $noinline$rotate_int_left_reg_csubv_v() argument
92 return (value >>> (32 - distance)) | (value << distance); in $noinline$rotate_int_left_reg_csubv_v()
111 public static long $noinline$rotate_long_left_reg_csubv_v(long value, int distance) { in $noinline$rotate_long_left_reg_csubv_v() argument
112 return (value >>> (64 - distance)) | (value << distance); in $noinline$rotate_long_left_reg_csubv_v()
131 public static int $noinline$rotate_int_right_reg_v_negv(int value, int distance) { in $noinline$rotate_int_right_reg_v_negv() argument
132 return (value >>> distance) | (value << -distance); in $noinline$rotate_int_right_reg_v_negv()
[all …]
/art/compiler/optimizing/
Dnodes_riscv64.h26 uint32_t distance,
30 DCHECK_GE(distance, 1u); in HBinaryOperation()
31 DCHECK_LE(distance, 3u); in HBinaryOperation()
33 SetPackedField<DistanceField>(distance); in HBinaryOperation()
Dinstruction_simplifier_riscv64.cc55 const int32_t distance = shl->GetRight()->AsIntConstant()->GetValue(); in TryReplaceShiftAddWithOneInstruction() local
56 if (distance != 1 && distance != 2 && distance != 3) { in TryReplaceShiftAddWithOneInstruction()
66 HRiscv64ShiftAdd(shl->GetLeft(), add_other_input, distance); in TryReplaceShiftAddWithOneInstruction()
Dstack_map_stream.cc248 dexfile_index = std::distance(boot_class_path.begin(), it); in BeginInlineInfoEntry()
256 dexfile_index = std::distance(dex_files.begin(), it); in BeginInlineInfoEntry()
329 uint32_t distance = stack_maps_.size() - dex_register_timestamp_[i]; in CreateDexRegisterMap() local
330 if (previous_dex_registers_[i] != reg || distance > kMaxDexRegisterMapSearchDistance) { in CreateDexRegisterMap()
Dnodes.h5767 HInstruction* distance,
5769 : HBinaryOperation(kShl, result_type, value, distance, SideEffects::None(), dex_pc) {
5771 DCHECK_EQ(DataType::Type::kInt32, DataType::Kind(distance->GetType()));
5775 static T Compute(T value, int32_t distance, int32_t max_shift_distance) {
5776 return value << (distance & max_shift_distance);
5779 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const override {
5781 Compute(value->GetValue(), distance->GetValue(), kMaxIntShiftDistance), GetDexPc());
5783 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const override {
5785 Compute(value->GetValue(), distance->GetValue(), kMaxLongShiftDistance), GetDexPc());
5798 HInstruction* distance,
[all …]
Dbounds_check_elimination.cc1481 uint32_t distance = static_cast<uint32_t>(max_c) - static_cast<uint32_t>(min_c); in AddComparesWithDeoptimization() local
1484 distance <= kMaxLengthForAddingDeoptimize) { // reject likely/certain deopt in AddComparesWithDeoptimization()
1590 uint32_t distance = static_cast<uint32_t>(max_c) - static_cast<uint32_t>(min_c); in TransformLoopForDynamicBCE() local
1592 distance <= kMaxLengthForAddingDeoptimize) { // reject likely/certain deopt in TransformLoopForDynamicBCE()
Dload_store_analysis.h214 return std::distance(heap_locations_.cbegin(), res); in GetHeapLocationIndex()
Dloop_optimization.cc1972 int64_t distance = 0; in VectorizeUse() local
1974 IsInt64AndGet(opb, /*out*/ &distance)) { in VectorizeUse()
1977 if (0 <= distance && distance < max_distance) { in VectorizeUse()
Dssa_liveness_analysis.h1086 << std::distance(uses_.before_begin(), insert_pos); in AddBackEdgeUses()
/art/test/411-optimizing-arith/src/
DShiftsTest.java238 static int $opt$ShlInt(int value, int distance) { in $opt$ShlInt() argument
239 return value << distance; in $opt$ShlInt()
242 static long $opt$ShlLong(long value, int distance) { in $opt$ShlLong() argument
243 return value << distance; in $opt$ShlLong()
246 static int $opt$ShrInt(int value, int distance) { in $opt$ShrInt() argument
247 return value >> distance; in $opt$ShrInt()
250 static long $opt$ShrLong(long value, int distance) { in $opt$ShrLong() argument
251 return value >> distance; in $opt$ShrLong()
254 static int $opt$UShrInt(int value, int distance) { in $opt$UShrInt() argument
255 return value >>> distance; in $opt$UShrInt()
[all …]
/art/test/950-redefine-intrinsic/src/
DRedefinedLongIntrinsics.java47 public static long rotateLeft(long i, int distance) { in rotateLeft() argument
52 public static long rotateRight(long i, int distance) { in rotateRight() argument
/art/libartbase/base/
Dintrusive_forward_list_test.cc64 ASSERT_EQ(std::distance((expected).begin(), (expected).end()), \
65 std::distance((value).begin(), (value).end())); \
296 std::advance(ref_it, std::distance(ref.begin(), ref.end()) - 1); in InsertAfter2()
297 std::advance(ifl_it, std::distance(ifl.begin(), ifl.end()) - 1); in InsertAfter2()
316 CHECK_EQ(std::distance(ref.begin(), ref.end()), 5); in EraseAfter1()
325 CHECK_EQ(std::distance(ref.begin(), ref.end()), 4); in EraseAfter1()
338 CHECK_EQ(std::distance(ref.begin(), ref.end()), 3); in EraseAfter1()
345 CHECK_EQ(std::distance(ref.begin(), ref.end()), 2); in EraseAfter1()
354 CHECK_EQ(std::distance(ref.begin(), ref.end()), 1); in EraseAfter1()
361 CHECK_EQ(std::distance(ref.begin(), ref.end()), 0); in EraseAfter1()
[all …]
Dbit_utils.h359 inline static T Rot(T opnd, int distance) { in Rot() argument
361 int unsigned_right_shift = left ? (-distance & mask) : (distance & mask); in Rot()
362 int signed_left_shift = left ? (distance & mask) : (-distance & mask); in Rot()
Dintrusive_forward_list.h360 size_t n = std::distance(begin(), end()); in sort()
386 return std::distance(begin(), end()); in SizeSlow()
Dstl_util.h99 return std::distance(container.begin(), it); in IndexOfElement()
/art/runtime/mirror/
Dfield.cc40 SetArtFieldIndex<false>(std::distance(new_range.begin(), position)); in VisitTarget()
95 std::distance(iter_range.begin(), position)); in CreateFromArtField()
/art/runtime/oat/
Doat_file-inl.h109 return &mapping_info_vector[std::distance(bcp_dexfiles.begin(), it)]; in FindBcpMappingInfo()
/art/libprofile/profile/
Dprofile_boot_info.cc36 index = std::distance(dex_files_.begin(), it); in Add()
/art/runtime/
Dtransaction.cc79 std::distance(intern_string_logs_.begin(), intern_string_logs_.end()); in ~Transaction()
81 std::distance(resolve_string_logs_.begin(), resolve_string_logs_.end()); in ~Transaction()
83 std::distance(resolve_method_type_logs_.begin(), resolve_method_type_logs_.end()); in ~Transaction()
/art/cmdline/
Dtoken_range.h157 return std::distance(begin_, end_); in Size()
/art/runtime/jni/
Djni_id_manager.cc449 uintptr_t id = IndexToId(std::distance(field_id_map_.begin(), it)); in VisitReflectiveTargets()
502 uintptr_t id = IndexToId(std::distance(method_id_map_.begin(), it)); in VisitReflectiveTargets()
/art/openjdkjvmti/
Dti_redefine.cc990 size_t off = std::distance(old_methods.cbegin(), old_iter); in CheckMethods()
1002 auto off = std::distance(seen_old_methods.cbegin(), first_fail); in CheckMethods()
1051 size_t off = std::distance(old_fields.cbegin(), old_iter); in CheckFields()
1061 auto off = std::distance(seen_old_fields.cbegin(), first_fail); in CheckFields()
1980 superclass.Assign(new_classes_arr->Get(std::distance(old_types.begin(), old_super))); in FinishNewClassAllocations()
/art/dex2oat/linker/
Dimage_writer.cc248 size_t descriptor_len = std::distance(entry.begin(), it); in FindClassesByDescriptor()
1674 dex_file_index = std::distance(dex_files_.begin(), it) + 1u; // 0 is for primitive types. in operator ()()
2143 non_dex_file_interns_.resize(std::distance(non_dex_file_interns_.begin(), retained_end)); in FinalizeInternTables()

12