Home
last modified time | relevance | path

Searched refs:Shift (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DLEB128.h136 unsigned Shift = 0; variable
145 if (LLVM_UNLIKELY(Shift >= 63) &&
146 ((Shift == 63 && (Slice << Shift >> Shift) != Slice) ||
153 Value += Slice << Shift;
154 Shift += 7;
170 unsigned Shift = 0; variable
182 if (LLVM_UNLIKELY(Shift >= 63) &&
191 Value |= Slice << Shift;
192 Shift += 7;
196 if (Shift < 64 && (Byte & 0x40))
[all …]
H A DScaledNumber.h89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift,
625 shiftLeft(Shift);
629 shiftRight(Shift);
838 if (Shift < 0) { in shiftLeft()
839 shiftRight(-Shift); in shiftLeft()
854 Shift -= ScaleShift; in shiftLeft()
861 Digits <<= Shift; in shiftLeft()
868 if (Shift < 0) { in shiftRight()
869 shiftLeft(-Shift); in shiftRight()
880 Shift -= ScaleShift; in shiftRight()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DScaledNumber.cpp52 Shift && (Lower & UINT64_C(1) << (Shift - 1))); in multiply64()
64 int Shift = 0; in divide32() local
66 Shift -= Zeros; in divide32()
86 int Shift = 0; in divide64() local
88 Shift -= Zeros; in divide64()
98 Shift -= Zeros; in divide64()
111 --Shift; in divide64()
172 assert(Shift >= 0 && Shift < 64 && "undefined behavior"); in toStringAPFloat()
173 D <<= Shift; in toStringAPFloat()
215 D <<= Shift; in toString()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp495 Shift = (TZ / 16) * 16; in expandMOVImmSimple()
498 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple()
503 if (Shift == LastShift) in expandMOVImmSimple()
512 while (Shift < LastShift) { in expandMOVImmSimple()
513 Shift += 16; in expandMOVImmSimple()
514 Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple()
533 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() local
534 const unsigned Chunk = (Imm >> Shift) & Mask; in expandMOVImm()
576 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() local
577 uint64_t ShiftedMask = (0xFFFFULL << Shift); in expandMOVImm()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDKernelCodeTInfo.h38 #define PRINTCOMP(GetMacro, Shift) \ argument
41 (int)GetMacro(C.compute_pgm_resource_registers >> Shift); \
43 #define PARSECOMP(SetMacro, Shift) \ argument
48 C.compute_pgm_resource_registers &= ~(SetMacro(0xFFFFFFFFFFFFFFFFULL) << Shift); \
49 C.compute_pgm_resource_registers |= SetMacro(Value) << Shift; \
53 #define COMPPGM(name, aname, GetMacro, SetMacro, Shift) \ argument
54 RECORD(name, aname, PRINTCOMP(GetMacro, Shift), PARSECOMP(SetMacro, Shift))
H A DAMDGPUAsmUtils.h38 unsigned Shift; member
43 unsigned decode(unsigned Code) const { return (Code >> Shift) & Mask; } in decode()
45 unsigned encode(unsigned Val) const { return (Val & Mask) << Shift; } in encode()
47 unsigned getMask() const { return Mask << Shift; } in getMask()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dbit.h160 T Shift = std::numeric_limits<T>::digits >> 1; in count() local
161 T Mask = std::numeric_limits<T>::max() >> Shift; in count()
162 while (Shift) { in count()
164 Val >>= Shift; in count()
165 ZeroBits |= Shift; in count()
167 Shift >>= 1; in count()
168 Mask >>= Shift; in count()
229 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) {
230 T Tmp = Val >> Shift;
234 ZeroBits |= Shift;
H A DPointerEmbeddedInt.h44 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits, enumerator
66 Value = static_cast<uintptr_t>(I) << Shift;
74 return static_cast<IntT>(static_cast<intptr_t>(Value) >> Shift);
75 return static_cast<IntT>(Value >> Shift);
97 static constexpr int NumLowBitsAvailable = T::Shift;
H A DBitfields.h166 static constexpr StorageType Mask = BP::Umax << Bitfield::Shift;
173 Packed |= StorageValue << Bitfield::Shift;
179 const StorageType StorageValue = (Packed & Mask) >> Bitfield::Shift;
227 static constexpr unsigned Shift = Offset;
230 static constexpr unsigned LastBit = Shift + Bits - 1;
231 static constexpr unsigned NextBit = Shift + Bits;
/freebsd-14.2/contrib/arm-optimized-routines/pl/math/
H A Derff_2u.c13 #define Shift 0x1p16f macro
56 float z = a + Shift; in erff()
57 uint32_t i = asuint (z) - asuint (Shift); in erff()
58 float r = z - Shift; in erff()
H A Derfcf_1u7.c12 #define Shift 0x1p17f macro
57 float z = a + Shift; in erfcf()
58 uint32_t i = asuint (z) - asuint (Shift); in erfcf()
59 float r = z - Shift; in erfcf()
H A Derf_2u5.c13 #define Shift 0x1p45 macro
60 double z = a + Shift; in erf()
61 uint64_t i = asuint64 (z) - asuint64 (Shift); in erf()
62 double r = z - Shift; in erf()
H A Dcospi_3u1.c25 #define Shift 0x1.8p+52 macro
61 double n = ax + Shift; in cospi()
63 n = n - Shift; in cospi()
H A Dsinpi_3u.c27 #define Shift 0x1.8p+52 macro
66 double n = r + Shift; in sinpi()
68 n = n - Shift; in sinpi()
H A Dexpm1f_1u6.c13 #define Shift (0x1.8p23f) macro
53 float j = fmaf (InvLn2, x, Shift) - Shift; in expm1f()
H A Dexpm1_2u5.c16 #define Shift 0x1.8p52 macro
56 double j = fma (InvLn2, x, Shift) - Shift; in expm1()
H A Dcospif_2u6.c21 #define Shift 0x1.0p+23f macro
56 float n = ax + Shift; in cospif()
58 n = n - Shift; in cospif()
H A Dtanh_3u.c16 #define Shift 0x1.8p52 macro
32 double j = fma (InvLn2, x, Shift) - Shift; in expm1_inline()
H A Dsinpif_2u5.c21 #define Shift 0x1.0p+23f macro
59 float n = r + Shift; in sinpif()
61 n = n - Shift; in sinpif()
H A Dtanhf_2u6.c17 #define Shift (0x1.8p23f) macro
38 float j = fmaf (InvLn2, x, Shift) - Shift; in expm1f_inline()
H A Dexp.c17 #define Shift __exp_data.shift macro
117 kd = eval_as_double (z + Shift); in exp_inline()
122 kd = eval_as_double (z + Shift); in exp_inline()
124 kd -= Shift; in exp_inline()
/freebsd-14.2/share/syscons/keymaps/
H A Del.iso07.kbd5 # English/Greek keyboard lock: (Left)Alt+(Left|Right)Shift
15 # Screen saver: Shift+Pause
23 # Greek semicolon (ano teleia): Shift+'w/W' => �
33 # Shift(+Ctrl)+[3/#] 169 � COPYRIGHT SIGN
34 # Shift(+Ctrl)+[4/$] 163 � POUND SIGN
35 # Shift(+Ctrl)+[5/%] 167 � SECTION SIGN
41 # Shift(+Ctrl)+['/"] 176 � DEGREE SIGN
42 # Shift(+Ctrl)+[,/<] 173 � SOFT HYPHEN
43 # Shift(+Ctrl)+[./>] 175 � HORIZONTAL BAR
44 # Shift(+Ctrl)+[//?] 172 � NOT SIGN
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dstack_trace_compressor.cpp37 uint8_t Shift = 0; in varIntDecode() local
40 *Out |= (static_cast<uintptr_t>(In[i]) & 0x7f) << Shift; in varIntDecode()
45 Shift += 7; in varIntDecode()
48 if (Shift >= sizeof(uintptr_t) * 8) in varIntDecode()
/freebsd-14.2/share/vt/keymaps/
H A Dgr.kbd5 # English/Greek keyboard lock: (Left)Alt+(Left|Right)Shift
15 # Screen saver: Shift+Pause
23 # Greek semicolon (ano teleia): Shift+'w/W' => ·
33 # Shift(+Ctrl)+[3/#] 169 © COPYRIGHT SIGN
34 # Shift(+Ctrl)+[4/$] 163 £ POUND SIGN
35 # Shift(+Ctrl)+[5/%] 167 § SECTION SIGN
41 # Shift(+Ctrl)+['/"] 176 ° DEGREE SIGN
42 # Shift(+Ctrl)+[,/<] 173 ­ SOFT HYPHEN
43 # Shift(+Ctrl)+[./>] 175 ― HORIZONTAL BAR
44 # Shift(+Ctrl)+[//?] 172 ¬ NOT SIGN
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.cpp285 int Shift = 0; in AlignTokenSequence() local
336 Shift = 0; in AlignTokenSequence()
347 CurrentChange.Spaces += Shift; in AlignTokenSequence()
357 if (Shift == 0) in AlignTokenSequence()
699 int Shift = 0; in AlignMatchingTokenSequence() local
703 Shift = 0; in AlignMatchingTokenSequence()
713 Changes[I].Spaces += Shift; in AlignMatchingTokenSequence()
716 assert(Shift >= 0); in AlignMatchingTokenSequence()
1199 int Shift = 0; in alignTrailingComments() local
1207 if (Shift <= 0) in alignTrailingComments()
[all …]

12345678910>>...12