/art/test/557-checker-instruction-simplifier-ror/src/ |
H A D | Main.java | 46 public static int rotateIntegerRight(int value, int distance) { argument 47 return java.lang.Integer.rotateRight(value, distance); 66 public static int rotateIntegerLeft(int value, int distance) { argument 67 return java.lang.Integer.rotateLeft(value, distance); 85 public static long rotateLongRight(long value, int distance) { argument 86 return java.lang.Long.rotateRight(value, distance); 105 public static long rotateLongLeft(long value, int distance) { argument 106 return java.lang.Long.rotateLeft(value, distance); 109 // (i >>> #distance) | (i << #(reg_bits - distance)) 250 ror_int_reg_v_csubv(int value, int distance) argument 344 ror_long_reg_v_csubv(long value, int distance) argument 350 ror_long_reg_v_csubv_0(long value, int distance) argument 384 rol_int_reg_csubv_v(int value, int distance) argument 448 rol_long_reg_csubv_v(long value, int distance) argument 454 rol_long_reg_csubv_v_0(long value, int distance) argument 479 ror_int_reg_v_negv(int value, int distance) argument 503 ror_int_reg_v_negv_env(int value, int distance) argument 529 ror_long_reg_v_negv(long value, int distance) argument 554 rol_int_reg_negv_v(int value, int distance) argument 579 rol_long_reg_negv_v(long value, int distance) argument 605 rol_long_reg_v_negv_add(long value, int distance) argument 631 rol_long_reg_v_negv_xor(long value, int distance) argument [all...] |
/art/test/565-checker-rotate/src/ |
H A D | Main.java | 65 private static int rotateLeftBoolean(boolean value, int distance) { argument 66 return Integer.rotateLeft(value ? 1 : 0, distance); 86 private static int rotateLeftByte(byte value, int distance) { argument 87 return Integer.rotateLeft(value, distance); 107 private static int rotateLeftShort(short value, int distance) { argument 108 return Integer.rotateLeft(value, distance); 128 private static int rotateLeftChar(char value, int distance) { argument 129 return Integer.rotateLeft(value, distance); 149 private static int rotateLeftInt(int value, int distance) { argument 150 return Integer.rotateLeft(value, distance); 170 rotateLeftLong(long value, int distance) argument 218 rotateRightBoolean(boolean value, int distance) argument 238 rotateRightByte(byte value, int distance) argument 258 rotateRightShort(short value, int distance) argument 278 rotateRightChar(char value, int distance) argument 298 rotateRightInt(int value, int distance) argument 318 rotateRightLong(long value, int distance) argument 340 rotateLeftIntWithByteDistance(int value, byte distance) argument 360 rotateRightIntWithByteDistance(int value, byte distance) argument [all...] |
/art/test/542-bitfield-rotates/src/ |
H A D | Main.java | 53 public static int $noinline$rotate_int_right_reg_v_csubv(int value, int distance) { argument 57 return (value >>> distance) | (value << (32 - distance)); 76 public static long $noinline$rotate_long_right_reg_v_csubv(long value, int distance) { argument 80 return (value >>> distance) | (value << (64 - distance)); 99 public static int $noinline$rotate_int_left_reg_csubv_v(int value, int distance) { argument 103 return (value >>> (32 - distance)) | (value << distance); 122 public static long $noinline$rotate_long_left_reg_csubv_v(long value, int distance) { argument 145 $noinline$rotate_int_right_reg_v_negv(int value, int distance) argument 168 $noinline$rotate_long_right_reg_v_negv(long value, int distance) argument 191 $noinline$rotate_int_left_reg_negv_v(int value, int distance) argument 214 $noinline$rotate_long_left_reg_negv_v(long value, int distance) argument [all...] |
/art/test/431-optimizing-arith-shifts/src/ |
H A D | Main.java | 238 static int $opt$ShlInt(int value, int distance) { argument 239 return value << distance; 242 static long $opt$ShlLong(long value, int distance) { argument 243 return value << distance; 246 static int $opt$ShrInt(int value, int distance) { argument 247 return value >> distance; 250 static long $opt$ShrLong(long value, int distance) { argument 251 return value >> distance; 254 static int $opt$UShrInt(int value, int distance) { argument 255 return value >>> distance; 258 $opt$UShrLong(long value, int distance) argument [all...] |
/art/compiler/utils/ |
H A 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); 172 std::advance(ifl_it, std::distance(ifl.begin(), ifl.end()) - 1); 183 CHECK_EQ(std::distance(ref.begin(), ref.end()), 5); 192 CHECK_EQ(std::distance(ref.begin(), ref.end()), 4); 205 CHECK_EQ(std::distance(ref.begin(), ref.end()), 3); 212 CHECK_EQ(std::distance(ref.begin(), ref.end()), 2); 221 CHECK_EQ(std::distance(ref.begin(), ref.end()), 1); 228 CHECK_EQ(std::distance(re [all...] |
H A D | intrusive_forward_list.h | 344 size_t n = std::distance(begin(), end()); 370 return std::distance(begin(), end());
|
/art/compiler/optimizing/ |
H A D | nodes.h | 75 // The maximum (meaningful) distance (31) that can be used in an integer shift/rotate operation. 77 // The maximum (meaningful) distance (63) that can be used in a long shift/rotate operation. 4473 HInstruction* distance, 4475 : HBinaryOperation(result_type, value, distance, SideEffects::None(), dex_pc) { 4477 DCHECK_EQ(Primitive::kPrimInt, Primitive::PrimitiveKind(distance->GetType())); 4481 T Compute(T value, int32_t distance, int32_t max_shift_distance) const { argument 4482 return value << (distance & max_shift_distance); 4485 HConstant* Evaluate(HIntConstant* value, HIntConstant* distance) const OVERRIDE { 4487 Compute(value->GetValue(), distance->GetValue(), kMaxIntShiftDistance), GetDexPc()); 4489 HConstant* Evaluate(HLongConstant* value, HIntConstant* distance) cons 4471 HShl(Primitive::Type result_type, HInstruction* value, HInstruction* distance, uint32_t dex_pc = kNoDexPc) argument 4517 HShr(Primitive::Type result_type, HInstruction* value, HInstruction* distance, uint32_t dex_pc = kNoDexPc) argument 4527 Compute(T value, int32_t distance, int32_t max_shift_distance) const argument 4563 HUShr(Primitive::Type result_type, HInstruction* value, HInstruction* distance, uint32_t dex_pc = kNoDexPc) argument 4573 Compute(T value, int32_t distance, int32_t max_shift_distance) const argument 4722 HRor(Primitive::Type result_type, HInstruction* value, HInstruction* distance) argument 4729 Compute(T value, int32_t distance, int32_t max_shift_value) const argument [all...] |
H A D | instruction_simplifier.cc | 358 // And the shift distance being negated is the distance being shifted the other way. 1529 HInstruction* distance = invoke->InputAt(1); local 1532 // Unconditionally set the type of the negated distance to `int`, 1534 // value for their distance input. 1535 distance = new (GetGraph()->GetArena()) HNeg(Primitive::kPrimInt, distance); 1536 invoke->GetBlock()->InsertInstructionBefore(distance, invoke); 1538 HRor* ror = new (GetGraph()->GetArena()) HRor(type, value, distance);
|
H A D | bounds_check_elimination.cc | 1260 // where the distance min_c:max_c range gets close to the maximum possible array length, 1264 uint32_t distance = static_cast<uint32_t>(max_c) - static_cast<uint32_t>(min_c); local 1267 distance <= kMaxLengthForAddingDeoptimize) { // reject likely/certain deopt
|
/art/runtime/base/ |
H A D | stl_util.h | 123 return std::distance(container.begin(), it);
|
/art/compiler/utils/mips/ |
H A D | assembler_mips.cc | 1743 int64_t distance = static_cast<int64_t>(target) - location; 1745 // bump up the distance by a value larger than the max byte size of a composite branch. 1746 distance += (distance >= 0) ? kMaxBranchSize : -kMaxBranchSize; 1747 if (IsInt<kOffset16>(distance)) 1749 else if (IsInt<kOffset18>(distance)) 1751 else if (IsInt<kOffset21>(distance)) 1753 else if (IsInt<kOffset23>(distance)) 1755 else if (IsInt<kOffset28>(distance)) 1811 // to hold the distance betwee 1822 int64_t distance = static_cast<int64_t>(target_) - location_; local [all...] |
/art/compiler/utils/mips64/ |
H A D | assembler_mips64.cc | 1418 int64_t distance = static_cast<int64_t>(target) - location; 1420 // bump up the distance by a value larger than the max byte size of a composite branch. 1421 distance += (distance >= 0) ? kMaxBranchSize : -kMaxBranchSize; 1422 if (IsInt<kOffset16>(distance)) 1424 else if (IsInt<kOffset18>(distance)) 1426 else if (IsInt<kOffset21>(distance)) 1428 else if (IsInt<kOffset23>(distance)) 1430 else if (IsInt<kOffset28>(distance)) 1476 // to hold the distance betwee 1487 int64_t distance = static_cast<int64_t>(target_) - location_; local [all...] |
/art/cmdline/ |
H A D | token_range.h | 155 return std::distance(begin_, end_);
|
/art/test/083-compiler-regressions/src/ |
H A D | Main.java | 886 static int rotateLeft(int i, int distance) { argument 887 return ((i << distance) | (i >>> (-distance)));
|
/art/runtime/ |
H A D | debugger.cc | 4883 return std::distance(table_.begin(), it);
|