Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DScaledNumber.cpp48 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ExpandImm.cpp270 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 = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DScaledNumber.h88 int Shift = 64 - Width - countLeadingZeros(Digits); variable
89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift,
90 Digits & (UINT64_C(1) << (Shift - 1)));
623 ScaledNumber &operator<<=(int16_t Shift) {
624 shiftLeft(Shift);
627 ScaledNumber &operator>>=(int16_t Shift) {
628 shiftRight(Shift);
633 void shiftLeft(int32_t Shift);
634 void shiftRight(int32_t Shift);
700 static ScaledNumber adjustToWidth(uint64_t N, int32_t Shift) { in adjustToWidth() argument
[all …]
DLEB128.h133 unsigned Shift = 0; variable
145 if (Shift >= 64 || Slice << Shift >> Shift != Slice) {
152 Value += uint64_t(*p & 0x7f) << Shift;
153 Shift += 7;
166 unsigned Shift = 0; variable
179 Value |= (uint64_t(Byte & 0x7f) << Shift);
180 Shift += 7;
183 if (Shift < 64 && (Byte & 0x40))
184 Value |= (-1ULL) << Shift;
DMathExtras.h99 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()
104 ZeroBits |= Shift; in count()
106 Shift >>= 1; in count()
107 Mask >>= Shift; in count()
171 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) {
172 T Tmp = Val >> Shift;
176 ZeroBits |= Shift;
/third_party/python/Lib/idlelib/
Dconfig-keys.def21 python-context-help=<Shift-Key-F1>
33 redo=<Control-Shift-Key-Z> <Control-Shift-Key-z>
35 save-copy-of-window-as-file=<Alt-Shift-Key-S> <Alt-Shift-Key-s>
36 save-window-as-file=<Control-Shift-Key-S> <Control-Shift-Key-s>
66 run-custom= <Shift-Key-F5>
92 python-context-help=<Control-Shift-Key-H>
126 run-custom= <Shift-Key-F5>
131 copy = <Control-Shift-Key-C> <Control-Key-Insert>
132 cut = <Control-Key-x> <Shift-Key-Delete>
133 paste = <Control-Key-v> <Shift-Key-Insert>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
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))
/third_party/rust/crates/memchr/src/memmem/
Dtwoway.rs74 shift: Shift,
94 let shift = Shift::forward(needle, period_lower_bound, critical_pos); in new()
117 Shift::Small { period } => { in find()
120 Shift::Large { shift } => { in find()
262 let shift = Shift::reverse(needle, period_lower_bound, critical_pos); in new()
287 Shift::Small { period } => { in rfind()
290 Shift::Large { shift } => { in rfind()
388 shift: Shift::Large { shift: 0 }, in empty()
424 enum Shift { enum
429 impl Shift { implementation
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
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 enum { NumLowBitsAvailable = T::Shift };
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_integer_simd.inl14 …_FUNC_QUALIFIER static tvec4<uint32, P> call(tvec4<uint32, P> const & v, uint32 Mask, uint32 Shift)
20 __m128i const sft1 = _mm_slli_epi32(and1, Shift);
24 __m128i const sft2 = _mm_srai_epi32(and2, Shift);
35 …_FUNC_QUALIFIER static tvec4<uint32, P> call(tvec4<uint32, P> const & v, uint32 Mask, uint32 Shift)
41 __m128i const sft0 = _mm_slli_epi32(set0, Shift);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp320 uint64_t Shift = RHSKnown.getConstant().getZExtValue(); in computeKnownBitsImpl() local
321 LLVM_DEBUG(dbgs() << '[' << Depth << "] Shift is " << Shift << '\n'); in computeKnownBitsImpl()
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()
338 Known.One = Known.One.shl(Shift); in computeKnownBitsImpl()
339 Known.Zero.setBits(0, Shift); in computeKnownBitsImpl()
/third_party/node/deps/v8/src/objects/
Dswiss-hash-table-helpers.h121 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/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h54 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()
59 ZeroBits |= Shift; in count()
61 Shift >>= 1; in count()
62 Mask >>= Shift; in count()
126 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) {
127 T Tmp = Val >> Shift;
131 ZeroBits |= Shift;
/third_party/musl/porting/liteos_a/kernel/src/math/
Dexp.c17 #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()
/third_party/musl/src/math/
Dexp.c17 #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()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dbitfield.hpp48 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/
Dv_cosf.c28 #define Shift v_f32 (0x1.8p+23f) macro
51 n = v_fma_f32 (InvPi, r + HalfPi, Shift); in V_NAME()
53 n -= Shift; in V_NAME()
Dv_sinf.c28 #define Shift v_f32 (0x1.8p+23f) macro
51 n = v_fma_f32 (InvPi, r, Shift); in V_NAME()
53 n -= Shift; in V_NAME()
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()
Dv_exp2f_1u.c23 #define Shift v_f32 (0x1.8p23f) macro
53 z = x + Shift; in V_NAME()
54 n = z - Shift; in V_NAME()
Dv_sin.c36 #define Shift v_f64 (0x1.8p52) macro
59 n = v_fma_f64 (InvPi, r, Shift); in V_NAME()
61 n -= Shift; in V_NAME()
Dv_cos.c37 #define Shift v_f64 (0x1.8p52) macro
59 n = v_fma_f64 (InvPi, r + HalfPi, Shift); in V_NAME()
61 n -= Shift; in V_NAME()
Dv_expf_1u.c26 #define Shift v_f32 (0x1.8p23f) macro
55 z = v_fma_f32 (x, InvLn2, Shift); in V_NAME()
56 n = z - Shift; in V_NAME()
/third_party/skia/third_party/externals/icu/patches/
Diso2022jp.patch9 - ucnv_loadSharedData("Shift-JIS", &stackPieces, &stackArgs, errorCode);
19 - * Take a valid Shift-JIS byte pair, check that it is in the range corresponding
55 - * Convert a pair of JIS X 0208 21..7E bytes to Shift-JIS.
57 - * for Shift-JIS so that the converter catches it.
58 - * Some invalid byte values already turn into equally invalid Shift-JIS
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp36 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()

12345678910>>...14