Searched defs:Shift (Results 1 - 25 of 59) sorted by relevance

123

/external/llvm/include/llvm/Support/
H A DLEB128.h83 unsigned Shift = 0; local
85 Value += (*p & 0x7f) << Shift;
86 Shift += 7;
H A DMathExtras.h59 T Shift = std::numeric_limits<T>::digits >> 1; local
60 T Mask = std::numeric_limits<T>::max() >> Shift;
61 while (Shift) {
63 Val >>= Shift; local
64 ZeroBits |= Shift;
66 Shift >>= 1;
67 Mask >>= Shift; local
128 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>
[all...]
H A DScaledNumber.h89 // Shift right and round.
90 int Shift = 64 - Width - countLeadingZeros(Digits); local
91 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift,
92 Digits & (UINT64_C(1) << (Shift - 1)));
278 /// scales in place. Shift the digits as necessary to form equivalent numbers,
308 // Shift LDigits left as much as possible, then shift RDigits right.
625 ScaledNumber &operator<<=(int16_t Shift) { argument
626 shiftLeft(Shift);
629 ScaledNumber &operator>>=(int16_t Shift) { argument
709 adjustToWidth(uint64_t N, int32_t Shift) argument
832 shiftLeft(int32_t Shift) argument
859 Digits <<= Shift; local
863 shiftRight(int32_t Shift) argument
886 Digits >>= Shift; local
[all...]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmshalf.c462 static cmsUInt8Number Shift[512] = { variable
531 return (cmsUInt16Number) ((cmsUInt32Number) Base[ j ] + (( n & 0x007fffff) >> Shift[ j ]));
/external/clang/include/clang/Basic/
H A DOperatorPrecedence.h39 Shift = 11, // <<, >> enumerator in enum:clang::prec::Level
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp58 int64_t Shift = Inst.getOperand(2).getImm(); local
59 if (Shift <= 31)
61 Shift -= 32;
64 Inst.getOperand(2).setImm(Shift);
136 unsigned Shift = IsLittleEndian ? i * 8 : (Size - 1 - i) * 8;
137 EmitByte((Val >> Shift) & 0xff, OS);
/external/lzma/C/
H A DPpmd.h36 Byte Shift; /* Speed of Freq change; low Shift is for fast change */ member in struct:__anon26720
37 Byte Count; /* Count to next change of Shift */
40 #define Ppmd_See_Update(p) if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \
41 { (p)->Summ <<= 1; (p)->Count = (Byte)(3 << (p)->Shift++); }
/external/llvm/lib/Support/
H A DScaledNumber.cpp46 // Shift as little as possible to maximize precision.
48 int Shift = 64 - LeadingZeros; local
50 Upper = Upper << LeadingZeros | Lower >> Shift;
51 return getRounded(Upper, Shift,
52 Shift && (Lower & UINT64_C(1) << (Shift - 1)));
64 int Shift = 0; local
66 Shift -= Zeros;
74 return getAdjusted<uint32_t>(Quotient, Shift);
77 return getRounded<uint32_t>(Quotient, Shift, Remainde
86 int Shift = 0; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/
H A Dvectorbuffer.h50 TPtrC8 Shift();
143 //Shift(); //data is lost
149 TPtrC8 TVectorBuffer<C>::Shift() function in class:TVectorBuffer
163 return Shift(); //this happens when buffer is terminated, and data lies in next
200 const T& Shift();
218 const T& TVector<T, C>::Shift() function in class:TVector
220 const TPtrC8 ptr = TVectorBuffer<C * sizeof(T)>::Shift();
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DKeyboardShortcut.js43 Shift: 1,
54 // Option on Mac, Shift on other platforms
55 return WebInspector.isMac() ? this.Alt : this.Shift;
67 Shift: { code: 16, name: { mac: "\u21e7", other: "Shift" } },
152 modifiers |= WebInspector.KeyboardShortcut.Modifiers.Shift;
233 modifiers |= WebInspector.KeyboardShortcut.Modifiers.Shift;
296 if (modifiers & WebInspector.KeyboardShortcut.Modifiers.Shift)
297 res += isMac ? shiftKey : "Shift + ";
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dfixed-dtoa.cc63 void Shift(int shift_amount) { function in class:WTF::double_conversion::UInt128
271 fractionals128.Shift(-exponent - 64);
/external/chromium_org/third_party/angle/util/
H A DEvent.h33 bool Shift; member in struct:Event::KeyEvent
/external/chromium_org/v8/src/compiler/arm/
H A Dinstruction-selector-arm-unittest.cc61 struct Shift { struct in namespace:v8::internal::compiler::__anon17260
71 std::ostream& operator<<(std::ostream& os, const Shift& shift) {
76 static const Shift kShifts[] = {
166 TRACED_FOREACH(Shift, shift, kShifts) {
178 TRACED_FOREACH(Shift, shift, kShifts) {
195 TRACED_FOREACH(Shift, shift, kShifts) {
210 TRACED_FOREACH(Shift, shift, kShifts) {
285 TRACED_FOREACH(Shift, shift, kShifts) {
303 TRACED_FOREACH(Shift, shift, kShifts) {
326 TRACED_FOREACH(Shift, shif
[all...]
/external/chromium_org/v8/src/
H A Dfixed-dtoa.cc41 void Shift(int shift_amount) { function in class:v8::internal::UInt128
249 fractionals128.Shift(-exponent - 64);
/external/clang/lib/Format/
H A DWhitespaceManager.cpp212 int Shift = 0; local
214 Shift = Column - Changes[i].StartOfTokenColumn;
217 Shift = Changes[i].IndentationOffset +
221 assert(Shift >= 0);
222 Changes[i].Spaces += Shift;
224 Changes[i + 1].PreviousEndOfTokenColumn += Shift;
225 Changes[i].StartOfTokenColumn += Shift;
/external/lldb/source/Interpreter/
H A DArgs.cpp458 Args::Shift () function in class:Args
/external/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h261 static inline uint32_t Shift(const uint32_t value, ARM_ShifterType type, const uint32_t amount, function in namespace:lldb_private
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILISelLowering.cpp438 SDValue Shift = DAG.getConstant(shiftBits, DVT); local
439 // Shift left by 'Shift' bits.
440 Data = DAG.getNode(ISD::SHL, DL, DVT, Data, Shift);
441 // Signed shift Right by 'Shift' bits.
442 Data = DAG.getNode(ISD::SRA, DL, DVT, Data, Shift);
/external/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp189 static uint64_t shiftRightAndRound(uint64_t N, int Shift) {
190 assert(Shift >= 0);
191 assert(Shift < 64);
192 if (!Shift)
194 return (N >> Shift) + (UINT64_C(1) & N >> (Shift - 1));
216 int Shift = 0; local
218 Shift = 33;
220 Shift = 33 - countLeadingZeros(Total);
223 if (!Shift)
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp345 "Shift over the type width should have been removed already");
615 Value *Shift = Builder->CreateLShr(X, ShiftDiffCst); local
618 return BinaryOperator::CreateAnd(Shift,
663 Value *Shift = Builder->CreateShl(X, ShiftDiffCst);
666 return BinaryOperator::CreateAnd(Shift,
H A DInstCombinePHI.cpp558 unsigned Shift; // The amount shifted. member in struct:__anon26247::PHIUsageRecord
562 : PHIId(pn), Shift(Sh), Inst(User) {}
567 if (Shift < RHS.Shift) return true;
568 if (Shift > RHS.Shift) return false;
576 unsigned Shift; // The amount shifted. member in struct:__anon26247::LoweredPHIRecord
580 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {}
584 : PN(pn), Shift(Sh), Width(0) {}
598 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>>
674 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); local
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILISelLowering.cpp438 SDValue Shift = DAG.getConstant(shiftBits, DVT); local
439 // Shift left by 'Shift' bits.
440 Data = DAG.getNode(ISD::SHL, DL, DVT, Data, Shift);
441 // Signed shift Right by 'Shift' bits.
442 Data = DAG.getNode(ISD::SRA, DL, DVT, Data, Shift);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DCodeMirrorTextEditor.js69 "Shift-Tab": "indentLess",
79 "Shift-Ctrl-Z": "redoAndReveal",
89 "Shift-Alt-Left": "selectCamelLeft",
90 "Shift-Alt-Right": "selectCamelRight",
102 "Shift-Cmd-Z": "redoAndReveal",
109 "Shift-Ctrl-Left": "selectCamelLeft",
110 "Shift-Ctrl-Right": "selectCamelRight",
1867 keyMap["Shift-" + leftKey] = moveLeft.bind(null, true);
1868 keyMap["Shift-" + rightKey] = moveRight.bind(null, true);
/external/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp37 ConstantInt *Shift; local
40 Shift = Builder.getInt64(63);
43 Shift = Builder.getInt32(31);
58 Value *DividendSign = Builder.CreateAShr(Dividend, Shift);
59 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift);
109 ConstantInt *Shift; local
112 Shift = Builder.getInt64(63);
115 Shift = Builder.getInt32(31);
131 Value *Tmp = Builder.CreateAShr(Dividend, Shift);
132 Value *Tmp1 = Builder.CreateAShr(Divisor, Shift);
[all...]
/external/pdfium/fpdfsdk/src/javascript/
H A DJS_EventHandler.cpp592 FX_BOOL CJS_EventHandler::Shift() function in class:CJS_EventHandler

Completed in 635 milliseconds

123