/art/test/557-checker-instruction-simplifier-ror/src/ |
D | Main.java | 46 public static int rotateIntegerRight(int value, int distance) { in rotateIntegerRight() argument 47 return java.lang.Integer.rotateRight(value, distance); in rotateIntegerRight() 66 public static int rotateIntegerLeft(int value, int distance) { in rotateIntegerLeft() argument 67 return java.lang.Integer.rotateLeft(value, distance); in rotateIntegerLeft() 85 public static long rotateLongRight(long value, int distance) { in rotateLongRight() argument 86 return java.lang.Long.rotateRight(value, distance); in rotateLongRight() 105 public static long rotateLongLeft(long value, int distance) { in rotateLongLeft() argument 106 return java.lang.Long.rotateLeft(value, distance); in rotateLongLeft() 246 public static int ror_int_reg_v_csubv(int value, int distance) { in ror_int_reg_v_csubv() argument 247 return (value >>> distance) | (value << (32 - distance)); in ror_int_reg_v_csubv() [all …]
|
/art/test/565-checker-rotate/src/ |
D | Main.java | 65 private static int rotateLeftBoolean(boolean value, int distance) { in rotateLeftBoolean() argument 66 return Integer.rotateLeft(value ? 1 : 0, distance); in rotateLeftBoolean() 86 private static int rotateLeftByte(byte value, int distance) { in rotateLeftByte() argument 87 return Integer.rotateLeft(value, distance); in rotateLeftByte() 107 private static int rotateLeftShort(short value, int distance) { in rotateLeftShort() argument 108 return Integer.rotateLeft(value, distance); in rotateLeftShort() 128 private static int rotateLeftChar(char value, int distance) { in rotateLeftChar() argument 129 return Integer.rotateLeft(value, distance); in rotateLeftChar() 149 private static int rotateLeftInt(int value, int distance) { in rotateLeftInt() argument 150 return Integer.rotateLeft(value, distance); in rotateLeftInt() [all …]
|
/art/test/542-bitfield-rotates/src/ |
D | Main.java | 53 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/431-optimizing-arith-shifts/src/ |
D | Main.java | 238 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/compiler/utils/ |
D | intrusive_forward_list_test.cc | 45 ASSERT_EQ(std::distance(expected.begin(), expected.end()), \ 46 std::distance(value.begin(), value.end())); \ 171 std::advance(ref_it, std::distance(ref.begin(), ref.end()) - 1); in TEST() 172 std::advance(ifl_it, std::distance(ifl.begin(), ifl.end()) - 1); in TEST() 183 CHECK_EQ(std::distance(ref.begin(), ref.end()), 5); in TEST() 192 CHECK_EQ(std::distance(ref.begin(), ref.end()), 4); in TEST() 205 CHECK_EQ(std::distance(ref.begin(), ref.end()), 3); in TEST() 212 CHECK_EQ(std::distance(ref.begin(), ref.end()), 2); in TEST() 221 CHECK_EQ(std::distance(ref.begin(), ref.end()), 1); in TEST() 228 CHECK_EQ(std::distance(ref.begin(), ref.end()), 0); in TEST() [all …]
|
D | intrusive_forward_list.h | 344 size_t n = std::distance(begin(), end()); in sort() 370 return std::distance(begin(), end()); in SizeSlow()
|
/art/compiler/optimizing/ |
D | nodes.h | 4473 HInstruction* distance, 4475 : HBinaryOperation(result_type, value, distance, SideEffects::None(), dex_pc) { in HBinaryOperation() argument 4477 DCHECK_EQ(Primitive::kPrimInt, Primitive::PrimitiveKind(distance->GetType())); in HBinaryOperation() 4481 T Compute(T value, int32_t distance, int32_t max_shift_distance) const { in Compute() argument 4482 return value << (distance & max_shift_distance); in Compute() 4485 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate() argument 4487 Compute(value->GetValue(), distance->GetValue(), kMaxIntShiftDistance), GetDexPc()); in Evaluate() 4489 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) const OVERRIDE { in Evaluate() argument 4491 Compute(value->GetValue(), distance->GetValue(), kMaxLongShiftDistance), GetDexPc()); in Evaluate() 4494 HLongConstant* distance ATTRIBUTE_UNUSED) const OVERRIDE { in Evaluate() [all …]
|
D | instruction_simplifier.cc | 1529 HInstruction* distance = invoke->InputAt(1); in SimplifyRotate() local 1535 distance = new (GetGraph()->GetArena()) HNeg(Primitive::kPrimInt, distance); in SimplifyRotate() 1536 invoke->GetBlock()->InsertInstructionBefore(distance, invoke); in SimplifyRotate() 1538 HRor* ror = new (GetGraph()->GetArena()) HRor(type, value, distance); in SimplifyRotate()
|
D | bounds_check_elimination.cc | 1264 uint32_t distance = static_cast<uint32_t>(max_c) - static_cast<uint32_t>(min_c); in AddComparesWithDeoptimization() local 1267 distance <= kMaxLengthForAddingDeoptimize) { // reject likely/certain deopt in AddComparesWithDeoptimization()
|
/art/runtime/base/ |
D | stl_util.h | 123 return std::distance(container.begin(), it); in IndexOfElement()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.cc | 1418 int64_t distance = static_cast<int64_t>(target) - location; in GetOffsetSizeNeeded() local 1421 distance += (distance >= 0) ? kMaxBranchSize : -kMaxBranchSize; in GetOffsetSizeNeeded() 1422 if (IsInt<kOffset16>(distance)) in GetOffsetSizeNeeded() 1424 else if (IsInt<kOffset18>(distance)) in GetOffsetSizeNeeded() 1426 else if (IsInt<kOffset21>(distance)) in GetOffsetSizeNeeded() 1428 else if (IsInt<kOffset23>(distance)) in GetOffsetSizeNeeded() 1430 else if (IsInt<kOffset28>(distance)) in GetOffsetSizeNeeded() 1487 int64_t distance = static_cast<int64_t>(target_) - location_; in PromoteIfNeeded() local 1488 distance = (distance >= 0) ? distance : -distance; in PromoteIfNeeded() 1489 if (distance >= max_short_distance) { in PromoteIfNeeded()
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 1743 int64_t distance = static_cast<int64_t>(target) - location; in GetOffsetSizeNeeded() local 1746 distance += (distance >= 0) ? kMaxBranchSize : -kMaxBranchSize; in GetOffsetSizeNeeded() 1747 if (IsInt<kOffset16>(distance)) in GetOffsetSizeNeeded() 1749 else if (IsInt<kOffset18>(distance)) in GetOffsetSizeNeeded() 1751 else if (IsInt<kOffset21>(distance)) in GetOffsetSizeNeeded() 1753 else if (IsInt<kOffset23>(distance)) in GetOffsetSizeNeeded() 1755 else if (IsInt<kOffset28>(distance)) in GetOffsetSizeNeeded() 1822 int64_t distance = static_cast<int64_t>(target_) - location_; in PromoteIfNeeded() local 1823 distance = (distance >= 0) ? distance : -distance; in PromoteIfNeeded() 1824 if (distance >= max_short_distance) { in PromoteIfNeeded()
|
/art/cmdline/ |
D | token_range.h | 155 return std::distance(begin_, end_); in Size()
|
/art/test/083-compiler-regressions/src/ |
D | Main.java | 886 static int rotateLeft(int i, int distance) { in rotateLeft() argument 887 return ((i << distance) | (i >>> (-distance))); in rotateLeft()
|
/art/runtime/ |
D | debugger.cc | 4857 return std::distance(table_.begin(), it); in IndexOf()
|
/art/test/dexdump/ |
D | checkers.txt | 921 …p forward, and kings move and jump forward and backward (but not over a distance). Please note tha…
|