Lines Matching refs:is_wide
160 static int CountLeadingZeros(bool is_wide, uint64_t value) { in CountLeadingZeros() argument
161 return (is_wide) ? __builtin_clzll(value) : __builtin_clz((uint32_t)value); in CountLeadingZeros()
164 static int CountTrailingZeros(bool is_wide, uint64_t value) { in CountTrailingZeros() argument
165 return (is_wide) ? __builtin_ctzll(value) : __builtin_ctz((uint32_t)value); in CountTrailingZeros()
168 static int CountSetBits(bool is_wide, uint64_t value) { in CountSetBits() argument
169 return ((is_wide) ? in CountSetBits()
182 int Arm64Mir2Lir::EncodeLogicalImmediate(bool is_wide, uint64_t value) { in EncodeLogicalImmediate() argument
207 (!is_wide && (uint32_t)value == ~UINT32_C(0))) { in EncodeLogicalImmediate()
211 unsigned lead_zero = CountLeadingZeros(is_wide, value); in EncodeLogicalImmediate()
212 unsigned lead_one = CountLeadingZeros(is_wide, ~value); in EncodeLogicalImmediate()
213 unsigned trail_zero = CountTrailingZeros(is_wide, value); in EncodeLogicalImmediate()
214 unsigned trail_one = CountTrailingZeros(is_wide, ~value); in EncodeLogicalImmediate()
215 unsigned set_bits = CountSetBits(is_wide, value); in EncodeLogicalImmediate()
221 unsigned width = (is_wide) ? 64 : 32; in EncodeLogicalImmediate()
222 int imm_s_fixed = (is_wide) ? -128 : -64; in EncodeLogicalImmediate()
816 bool is_wide = r_dest.Is64Bit(); in OpRegRegImm64() local
817 ArmOpcode wide = (is_wide) ? WIDE(0) : UNWIDE(0); in OpRegRegImm64()
825 int max_value = (is_wide) ? 63 : 31; in OpRegRegImm64()
851 info = EncodeExtend(is_wide ? kA64Uxtx : kA64Uxtw, 0); in OpRegRegImm64()
884 int log_imm = EncodeLogicalImmediate(is_wide, value); in OpRegRegImm64()
899 return NewLIR2(kA64Mov2rr | wide, r_dest.GetReg(), (is_wide) ? rxzr : rwzr); in OpRegRegImm64()
902 || (!is_wide && static_cast<uint32_t>(value) == ~UINT32_C(0))) { in OpRegRegImm64()
913 return NewLIR2(kA64Mvn2rr | wide, r_dest.GetReg(), (is_wide) ? rxzr : rwzr); in OpRegRegImm64()
920 if (is_wide) { in OpRegRegImm64()