/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 46 // Shift as little as possible to maximize precision. in multiply64() 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, Remainde in divide32() 86 int Shift = 0; divide64() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64ExpandImm.cpp | 270 unsigned Shift = 0; // LSL amount for high bits with MOVZ/MOVN in expandMOVImmSimple() local 275 Shift = (TZ / 16) * 16; in expandMOVImmSimple() 278 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple() 281 AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift) }); in expandMOVImmSimple() 283 if (Shift == LastShift) in expandMOVImmSimple() 292 while (Shift < LastShift) { in expandMOVImmSimple() 293 Shift += 16; in expandMOVImmSimple() 294 Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple() 299 AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift) }); in expandMOVImmSimple() 313 for (unsigned Shift in expandMOVImm() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 87 // Shift right and round. in getAdjusted() 88 int Shift = 64 - Width - countLeadingZeros(Digits); in getAdjusted() local 89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, in getAdjusted() 90 Digits & (UINT64_C(1) << (Shift - 1))); in getAdjusted() 276 /// scales in place. Shift the digits as necessary to form equivalent numbers, 306 // Shift LDigits left as much as possible, then shift RDigits right. in matchScales() 623 ScaledNumber &operator<<=(int16_t Shift) { in operator <<=() argument 624 shiftLeft(Shift); in operator <<=() 627 ScaledNumber &operator>>=(int16_t Shift) { in operator >>=() argument 700 adjustToWidth(uint64_t N, int32_t Shift) adjustToWidth() argument 730 operator <<(const ScaledNumber<DigitsT> &L, int16_t Shift) operator <<() argument 736 operator >>(const ScaledNumber<DigitsT> &L, int16_t Shift) operator >>() argument 833 shiftLeft(int32_t Shift) shiftLeft() argument 860 Digits <<= Shift; shiftLeft() local 863 shiftRight(int32_t Shift) shiftRight() argument 886 Digits >>= Shift; shiftRight() local [all...] |
H A D | LEB128.h | 133 unsigned Shift = 0; 145 if (Shift >= 64 || Slice << Shift >> Shift != Slice) { 152 Value += uint64_t(*p & 0x7f) << Shift; 153 Shift += 7; 166 unsigned Shift = 0; 179 Value |= (uint64_t(Byte & 0x7f) << Shift); 180 Shift += 7; 183 if (Shift < 6 [all...] |
H A D | MathExtras.h | 99 T Shift = std::numeric_limits<T>::digits >> 1; in count() local 100 T Mask = std::numeric_limits<T>::max() >> Shift; in count() 101 while (Shift) { in count() 103 Val >>= Shift; in count() local 104 ZeroBits |= Shift; in count() 106 Shift >>= 1; in count() 107 Mask >>= Shift; in count() local 171 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >> in count() [all...] |
/third_party/rust/crates/memchr/src/memmem/ |
H A D | twoway.rs | 74 shift: Shift, 94 let shift = Shift::forward(needle, period_lower_bound, critical_pos); 117 Shift::Small { period } => { 120 Shift::Large { shift } => { 262 let shift = Shift::reverse(needle, period_lower_bound, critical_pos); 287 Shift::Small { period } => { 290 Shift::Large { shift } => { 388 shift: Shift::Large { shift: 0 }, in empty() 424 enum Shift { enum 429 impl Shift { impls [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDKernelCodeTInfo.h | 38 #define PRINTCOMP(GetMacro, Shift) \ 41 (int)GetMacro(C.compute_pgm_resource_registers >> Shift); \ 43 #define PARSECOMP(SetMacro, Shift) \ 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) \ 54 RECORD(name, aname, PRINTCOMP(GetMacro, Shift), PARSECOMP(SetMacro, Shift))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | PointerEmbeddedInt.h | 44 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits, 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 enum { NumLowBitsAvailable = T::Shift };
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 317 dbgs() << '[' << Depth << "] Shift not known constant: " << *RHSMI); in computeKnownBitsImpl() 320 uint64_t Shift = RHSKnown.getConstant().getZExtValue(); in computeKnownBitsImpl() local 321 LLVM_DEBUG(dbgs() << '[' << Depth << "] Shift is " << Shift << '\n'); in computeKnownBitsImpl() local 328 Known.Zero = Known.Zero.ashr(Shift); in computeKnownBitsImpl() 329 Known.One = Known.One.ashr(Shift); in computeKnownBitsImpl() 332 Known.Zero = Known.Zero.lshr(Shift); in computeKnownBitsImpl() 333 Known.One = Known.One.lshr(Shift); in computeKnownBitsImpl() 334 Known.Zero.setBitsFrom(Known.Zero.getBitWidth() - Shift); in computeKnownBitsImpl() 337 Known.Zero = Known.Zero.shl(Shift); in computeKnownBitsImpl() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | MathExtras.h | 54 T Shift = std::numeric_limits<T>::digits >> 1; in count() local 55 T Mask = std::numeric_limits<T>::max() >> Shift; in count() 56 while (Shift) { in count() 58 Val >>= Shift; in count() local 59 ZeroBits |= Shift; in count() 61 Shift >>= 1; in count() 62 Mask >>= Shift; in count() local 126 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >> in count() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | swiss-hash-table-helpers.h | 112 // indexes of the set bits of a bitmask. When Shift=0 (platforms with SSE), 114 // When Shift=3 (used on non-SSE platforms), we obtain a "byte mask", where each 121 template <class T, int SignificantBits, int Shift = 0> 124 STATIC_ASSERT(Shift == 0 || Shift == 3); 143 Shift; in HighestBitSet() 151 return base::bits::CountTrailingZerosNonZero(mask_) >> Shift; in TrailingZeros() 155 constexpr int total_significant_bits = SignificantBits << Shift; in LeadingZeros() 157 return base::bits::CountLeadingZeros(mask_ << extra_bits) >> Shift; in LeadingZeros()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | exp.c | 17 #define Shift __exp_data.shift macro 106 kd = eval_as_double(z + Shift); in exp() 111 kd = eval_as_double(z + Shift); in exp() 113 kd -= Shift; in exp()
|
H A D | exp2.c | 14 #define Shift __exp_data.exp2_shift macro 99 kd = eval_as_double(x + Shift); in exp2() 101 kd -= Shift; /* k/N for int k. */ in exp2()
|
/third_party/musl/src/math/ |
H A D | exp.c | 17 #define Shift __exp_data.shift macro 106 kd = eval_as_double(z + Shift); in exp() 111 kd = eval_as_double(z + Shift); in exp() 113 kd -= Shift; in exp()
|
H A D | exp2.c | 14 #define Shift __exp_data.exp2_shift macro 99 kd = eval_as_double(x + Shift); in exp2() 101 kd -= Shift; /* k/N for int k. */ in exp2()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
H A D | bitfield.hpp | 48 GLM_FUNC_DECL genIUType bitfieldRotateRight(genIUType In, int Shift); 54 GLM_FUNC_DECL vecType<T, P> bitfieldRotateRight(vecType<T, P> const & In, int Shift); 60 GLM_FUNC_DECL genIUType bitfieldRotateLeft(genIUType In, int Shift); 66 GLM_FUNC_DECL vecType<T, P> bitfieldRotateLeft(vecType<T, P> const & In, int Shift);
|
/third_party/optimized-routines/math/ |
H A D | exp.c | 17 #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()
|
H A D | exp2.c | 14 #define Shift __exp_data.exp2_shift macro 108 kd = eval_as_double (x + Shift); in exp2() 110 kd -= Shift; /* k/N for int k. */ in exp2()
|
H A D | v_cos.c | 37 #define Shift v_f64 (0x1.8p52) macro 59 n = v_fma_f64 (InvPi, r + HalfPi, Shift); in cos() 61 n -= Shift; in cos()
|
H A D | v_cosf.c | 28 #define Shift v_f32 (0x1.8p+23f) macro 51 n = v_fma_f32 (InvPi, r + HalfPi, Shift); in cosf() 53 n -= Shift; in cosf()
|
H A D | v_exp.c | 38 #define Shift v_f64 (0x1.8p+52) macro 67 z = v_fma_f64 (x, InvLn2, Shift); in exp() 69 n = z - Shift; in exp()
|
H A D | v_expf.c | 26 #define Shift v_f32 (0x1.8p23f) macro 57 z = v_fma_f32 (x, InvLn2, Shift); in expf() 58 n = z - Shift; in expf()
|
H A D | v_exp2f.c | 26 #define Shift v_f32 (0x1.8p23f) macro 55 z = x + Shift; in exp2f() 56 n = z - Shift; in exp2f()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 36 ConstantInt *Shift; in generateSignedRemainderCode() local 39 Shift = Builder.getInt64(63); in generateSignedRemainderCode() 42 Shift = Builder.getInt32(31); in generateSignedRemainderCode() 57 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode() 58 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); in generateSignedRemainderCode() 108 ConstantInt *Shift; in generateSignedDivisionCode() local 111 Shift = Builder.getInt64(63); in generateSignedDivisionCode() 114 Shift = Builder.getInt32(31); in generateSignedDivisionCode() 130 Value *Tmp = Builder.CreateAShr(Dividend, Shift); in generateSignedDivisionCode() 131 Value *Tmp1 = Builder.CreateAShr(Divisor, Shift); in generateSignedDivisionCode() [all...] |
/third_party/lzma/C/ |
H A D | Ppmd.h | 47 Byte Shift; /* Speed of Freq change; low Shift is for fast change */
member 48 Byte Count; /* Count to next change of Shift */
52 { if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \
54 (p)->Count = (Byte)(3 << (p)->Shift++); }}
|