/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 48 int Shift = 64 - LeadingZeros; in multiply64() local 50 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64() 51 return getRounded(Upper, Shift, in multiply64() 52 Shift && (Lower & UINT64_C(1) << (Shift - 1))); in multiply64() 64 int Shift = 0; in divide32() local 66 Shift -= Zeros; in divide32() 74 return getAdjusted<uint32_t>(Quotient, Shift); in divide32() 77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)); in divide32() 86 int Shift = 0; in divide64() local 88 Shift -= Zeros; in divide64() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | LEB128.h | 136 unsigned Shift = 0; variable 145 if (LLVM_UNLIKELY(Shift >= 63) && 146 ((Shift == 63 && (Slice << Shift >> Shift) != Slice) || 147 (Shift > 63 && Slice != 0))) { 153 Value += Slice << Shift; 154 Shift += 7; 170 unsigned Shift = 0; variable 182 if (LLVM_UNLIKELY(Shift >= 63) && 183 ((Shift == 63 && Slice != 0 && Slice != 0x7f) || 184 (Shift > 63 && Slice != (Value < 0 ? 0x7f : 0x00)))) { [all …]
|
H A D | ScaledNumber.h | 88 int Shift = llvm::bit_width(Digits) - Width; variable 89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 90 Digits & (UINT64_C(1) << (Shift - 1))); 624 ScaledNumber &operator<<=(int16_t Shift) { 625 shiftLeft(Shift); 628 ScaledNumber &operator>>=(int16_t Shift) { 629 shiftRight(Shift); 634 void shiftLeft(int32_t Shift); 635 void shiftRight(int32_t Shift); 701 static ScaledNumber adjustToWidth(uint64_t N, int32_t Shift) { in adjustToWidth() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | SIDefinesUtils.h | 28 unsigned Shift = 0; in getShiftMask() local 32 for (; !(Mask & 1); Shift++, Mask >>= 1) { in getShiftMask() 35 return std::make_pair(Shift, Mask); in getShiftMask() 45 uint32_t Shift, MCContext &Ctx) { in maskShiftSet() argument 50 if (Shift) { in maskShiftSet() 51 const MCExpr *ShiftExpr = MCConstantExpr::create(Shift, Ctx); in maskShiftSet() 64 uint32_t Shift, MCContext &Ctx) { in maskShiftGet() argument 65 if (Shift) { in maskShiftGet() 66 const MCExpr *ShiftExpr = MCConstantExpr::create(Shift, Ctx); in maskShiftGet()
|
H A D | AMDKernelCodeTInfo.h | 52 #define PRINTCOMP(GetMacro, Shift) \ argument 55 (int)GetMacro(C.compute_pgm_resource_registers >> Shift); \ 60 #define PARSECOMP(SetMacro, Shift) \ argument 65 C.compute_pgm_resource_registers &= ~(SetMacro(0xFFFFFFFFFFFFFFFFULL) << Shift); \ 66 C.compute_pgm_resource_registers |= SetMacro(Value) << Shift; \ 72 #define COMPPGM(name, aname, GetMacro, SetMacro, Shift) \ argument 73 RECORD(name, aname, PRINTCOMP(GetMacro, Shift), PARSECOMP(SetMacro, Shift))
|
H A D | AMDGPUAsmUtils.h | 38 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/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ExpandImm.cpp | 490 unsigned Shift = 0; // LSL amount for high bits with MOVZ/MOVN in expandMOVImmSimple() local 495 Shift = (TZ / 16) * 16; in expandMOVImmSimple() 498 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple() 501 AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift) }); 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() 519 AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift) }); in expandMOVImmSimple() 541 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | bit.h | 160 T Shift = std::numeric_limits<T>::digits >> 1; 161 T Mask = std::numeric_limits<T>::max() >> Shift; 162 while (Shift) { 164 Val >>= Shift; 165 ZeroBits |= Shift; 167 Shift >>= 1; 168 Mask >>= Shift; 229 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >> 124 T Shift = std::numeric_limits<T>::digits >> 1; count() local [all...] |
H A D | PointerEmbeddedInt.h | 44 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 D | Bitfields.h | 166 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/contrib/arm-optimized-routines/pl/math/ |
H A D | erff_2u.c | 13 #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 D | erf_2u5.c | 13 #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 D | erfcf_1u7.c | 12 #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 D | cospi_3u1.c | 25 #define Shift 0x1.8p+52 macro 61 double n = ax + Shift; in cospi() 63 n = n - Shift; in cospi()
|
H A D | sinpi_3u.c | 27 #define Shift 0x1.8p+52 macro 66 double n = r + Shift; in sinpi() 68 n = n - Shift; in sinpi()
|
H A D | expm1f_1u6.c | 13 #define Shift (0x1.8p23f) macro 53 float j = fmaf (InvLn2, x, Shift) - Shift; in expm1f()
|
H A D | cospif_2u6.c | 21 #define Shift 0x1.0p+23f macro 56 float n = ax + Shift; in cospif() 58 n = n - Shift; in cospif()
|
H A D | expm1_2u5.c | 16 #define Shift 0x1.8p52 macro 56 double j = fma (InvLn2, x, Shift) - Shift; in expm1()
|
H A D | sinpif_2u5.c | 21 #define Shift 0x1.0p+23f macro 59 float n = r + Shift; in sinpif() 61 n = n - Shift; in sinpif()
|
H A D | tanh_3u.c | 16 #define Shift 0x1.8p52 macro 32 double j = fma (InvLn2, x, Shift) - Shift; in expm1_inline()
|
H A D | tanhf_2u6.c | 17 #define Shift (0x1.8p23f) macro 38 float j = fmaf (InvLn2, x, Shift) - Shift; in expm1f_inline()
|
/freebsd/share/syscons/keymaps/ |
H A D | el.iso07.kbd | 5 # English/Greek keyboard lock: (Left)Alt+(Left|Right)Shift 15 # Screen saver: Shift+Pause 20 # diaeresis (dialytika): Shift+[;/:] and ���� => ���� 23 # Greek semicolon (ano teleia): Shift+'w/W' => � 30 # Shift+Ctrl+[`/~] 189 � VULGAR FRACTION ONE HALF 32 # Shift+Ctrl+[1/!] 179 � SUPERSCRIPT THREE 33 # Shift(+Ctrl)+[3/#] 169 � COPYRIGHT SIGN 34 # Shift(+Ctrl)+[4/$] 163 � POUND SIGN 35 # Shift(+Ctrl)+[5/%] 167 � SECTION SIGN 36 # Shift(+Ctrl)+[7/&] 161 � SINGLE HIGH-REVERSED-9 QUOTATION MARK [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/ |
H A D | stack_trace_compressor.cpp | 37 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/share/vt/keymaps/ |
H A D | gr.kbd | 5 # English/Greek keyboard lock: (Left)Alt+(Left|Right)Shift 15 # Screen saver: Shift+Pause 20 # diaeresis (dialytika): Shift+[;/:] and ΙΥιυ => ΪΫϊϋ 23 # Greek semicolon (ano teleia): Shift+'w/W' => · 30 # Shift+Ctrl+[`/~] 189 ½ VULGAR FRACTION ONE HALF 32 # Shift+Ctrl+[1/!] 179 ³ SUPERSCRIPT THREE 33 # Shift(+Ctrl)+[3/#] 169 © COPYRIGHT SIGN 34 # Shift(+Ctrl)+[4/$] 163 £ POUND SIGN 35 # Shift(+Ctrl)+[5/%] 167 § SECTION SIGN 36 # Shift(+Ctrl)+[7/&] 161 ‘ SINGLE HIGH-REVERSED-9 QUOTATION MARK [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUMCKernelDescriptor.cpp | 83 uint32_t Shift, uint32_t Mask, in bits_set() argument 85 auto Sft = MCConstantExpr::create(Shift, Ctx); in bits_set() 92 const MCExpr *MCKernelDescriptor::bits_get(const MCExpr *Src, uint32_t Shift, in bits_get() argument 94 auto Sft = MCConstantExpr::create(Shift, Ctx); in bits_get()
|