Lines Matching refs:abs_value
350 uint32_t abs_value = (value == INT_MIN) ? value : std::abs(value); in InexpensiveConstantInt() local
351 if (abs_value < 0x1000) { in InexpensiveConstantInt()
353 } else if ((abs_value & UINT64_C(0xfff)) == 0 && ((abs_value >> 12) < 0x1000)) { in InexpensiveConstantInt()
812 uint64_t abs_value = (neg & !(value == LLONG_MIN)) ? -value : value; in OpRegRegImm64() local
843 if (abs_value < 0x1000) { in OpRegRegImm64()
845 return NewLIR4(opcode | wide, r_dest.GetReg(), r_src1.GetReg(), abs_value, 0); in OpRegRegImm64()
846 } else if ((abs_value & UINT64_C(0xfff)) == 0 && ((abs_value >> 12) < 0x1000)) { in OpRegRegImm64()
848 return NewLIR4(opcode | wide, r_dest.GetReg(), r_src1.GetReg(), abs_value >> 12, 1); in OpRegRegImm64()
945 uint64_t abs_value = (neg & !(value == LLONG_MIN)) ? -value : value; in OpRegImm64() local
947 if (LIKELY(abs_value < 0x1000)) { in OpRegImm64()
950 } else if ((abs_value & UINT64_C(0xfff)) == 0 && ((abs_value >> 12) < 0x1000)) { in OpRegImm64()
953 abs_value >>= 12; in OpRegImm64()
954 } else if (LIKELY(abs_value < 0x1000000 && (op == kOpAdd || op == kOpSub))) { in OpRegImm64()
963 OpRegImm64(op, r_dest_src1, abs_value & (~INT64_C(0xfff))); in OpRegImm64()
964 return OpRegImm64(op, r_dest_src1, abs_value & 0xfff); in OpRegImm64()
1002 return NewLIR4(opcode | wide, r_dest_src1.GetReg(), r_dest_src1.GetReg(), abs_value, in OpRegImm64()
1005 return NewLIR3(opcode | wide, r_dest_src1.GetReg(), abs_value, (shift) ? 1 : 0); in OpRegImm64()