Home
last modified time | relevance | path

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

/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.java53 public static int $noinline$rotate_int_right_reg_v_csubv(int value, int distance) { in $noinline$rotate_int_right_reg_v_csubv() argument
57 return (value >>> distance) | (value << (32 - distance)); in $noinline$rotate_int_right_reg_v_csubv()
76 public static long $noinline$rotate_long_right_reg_v_csubv(long value, int distance) { in $noinline$rotate_long_right_reg_v_csubv() argument
80 return (value >>> distance) | (value << (64 - distance)); in $noinline$rotate_long_right_reg_v_csubv()
99 public static int $noinline$rotate_int_left_reg_csubv_v(int value, int distance) { in $noinline$rotate_int_left_reg_csubv_v() argument
103 return (value >>> (32 - distance)) | (value << distance); in $noinline$rotate_int_left_reg_csubv_v()
122 public static long $noinline$rotate_long_left_reg_csubv_v(long value, int distance) { in $noinline$rotate_long_left_reg_csubv_v() argument
126 return (value >>> (64 - distance)) | (value << distance); in $noinline$rotate_long_left_reg_csubv_v()
145 public static int $noinline$rotate_int_right_reg_v_negv(int value, int distance) { in $noinline$rotate_int_right_reg_v_negv() argument
149 return (value >>> distance) | (value << -distance); in $noinline$rotate_int_right_reg_v_negv()
[all …]
/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.h350 inline static T Rot(T opnd, int distance) { in Rot() argument
352 int unsigned_right_shift = left ? (-distance & mask) : (distance & mask); in Rot()
353 int signed_left_shift = left ? (distance & mask) : (-distance & mask); in Rot()
Dstl_util.h99 return std::distance(container.begin(), it); in IndexOfElement()
Dintrusive_forward_list.h355 size_t n = std::distance(begin(), end()); in sort()
381 return std::distance(begin(), end()); in SizeSlow()
/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/libprofile/profile/
Dprofile_boot_info.cc36 index = std::distance(dex_files_.begin(), it); in Add()
/art/compiler/optimizing/
Dnodes.h5377 HInstruction* distance,
5379 : HBinaryOperation(kShl, result_type, value, distance, SideEffects::None(), dex_pc) { in HBinaryOperation() argument
5381 DCHECK_EQ(DataType::Type::kInt32, DataType::Kind(distance->GetType())); in HBinaryOperation()
5385 static T Compute(T value, int32_t distance, int32_t max_shift_distance) { in Compute() argument
5386 return value << (distance & max_shift_distance); in Compute()
5389 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const override { in Evaluate() argument
5391 Compute(value->GetValue(), distance->GetValue(), kMaxIntShiftDistance), GetDexPc()); in Evaluate()
5393 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const override { in Evaluate() argument
5395 Compute(value->GetValue(), distance->GetValue(), kMaxLongShiftDistance), GetDexPc()); in Evaluate()
5398 HLongConstant* distance ATTRIBUTE_UNUSED) const override { in Evaluate()
[all …]
Dstack_map_stream.cc251 uint32_t distance = stack_maps_.size() - dex_register_timestamp_[i]; in CreateDexRegisterMap() local
252 if (previous_dex_registers_[i] != reg || distance > kMaxDexRegisterMapSearchDistance) { in CreateDexRegisterMap()
Dbounds_check_elimination.cc1469 uint32_t distance = static_cast<uint32_t>(max_c) - static_cast<uint32_t>(min_c); in AddComparesWithDeoptimization() local
1472 distance <= kMaxLengthForAddingDeoptimize) { // reject likely/certain deopt in AddComparesWithDeoptimization()
1576 uint32_t distance = static_cast<uint32_t>(max_c) - static_cast<uint32_t>(min_c); in TransformLoopForDynamicBCE() local
1578 distance <= kMaxLengthForAddingDeoptimize) { // reject likely/certain deopt in TransformLoopForDynamicBCE()
Dloop_optimization.cc1500 int64_t distance = 0; in VectorizeUse() local
1502 IsInt64AndGet(opb, /*out*/ &distance)) { in VectorizeUse()
1505 if (0 <= distance && distance < max_distance) { in VectorizeUse()
Dssa_liveness_analysis.h1088 << std::distance(uses_.before_begin(), insert_pos); in AddBackEdgeUses()
/art/runtime/
Daot_class_linker.cc230 prefixes.resize(std::distance(prefixes.begin(), end_it)); in SetUpdatableBootClassPackages()
/art/cmdline/
Dtoken_range.h157 return std::distance(begin_, end_); in Size()
/art/runtime/jni/
Djni_id_manager.cc421 uintptr_t id = IndexToId(std::distance(field_id_map_.begin(), it)); in VisitReflectiveTargets()
474 uintptr_t id = IndexToId(std::distance(method_id_map_.begin(), it)); in VisitReflectiveTargets()
/art/openjdkjvmti/
Dti_redefine.cc989 size_t off = std::distance(old_methods.cbegin(), old_iter); in CheckMethods()
1001 auto off = std::distance(seen_old_methods.cbegin(), first_fail); in CheckMethods()
1050 size_t off = std::distance(old_fields.cbegin(), old_iter); in CheckFields()
1060 auto off = std::distance(seen_old_fields.cbegin(), first_fail); in CheckFields()
1970 superclass.Assign(new_classes_arr->Get(std::distance(old_types.begin(), old_super))); in FinishNewClassAllocations()
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.cc496 std::distance(dests.begin(), std::partition_point(dests.begin(), dests.end(), is_register)); in MoveArguments()
/art/test/083-compiler-regressions/src/
DMain.java886 static int rotateLeft(int i, int distance) { in rotateLeft() argument
887 return ((i << distance) | (i >>> (-distance))); in rotateLeft()
/art/dex2oat/linker/
Dimage_writer.cc1841 dex_file_index = std::distance(dex_files_.begin(), it) + 1u; // 0 is for primitive types. in operator ()()
/art/test/dexdump/
Dcheckers.txt921 …p forward, and kings move and jump forward and backward (but not over a distance). Please note tha…