/external/llvm/include/llvm/Support/ |
H A D | LEB128.h | 83 unsigned Shift = 0; local 85 Value += uint64_t(*p & 0x7f) << Shift; 86 Shift += 7; 97 unsigned Shift = 0; local 101 Value |= ((Byte & 0x7f) << Shift); 102 Shift += 7; 106 Value |= (-1ULL) << Shift;
|
H A D | MathExtras.h | 54 T Shift = std::numeric_limits<T>::digits >> 1; local 55 T Mask = std::numeric_limits<T>::max() >> Shift; 56 while (Shift) { 58 Val >>= Shift; local 59 ZeroBits |= Shift; 61 Shift >>= 1; 62 Mask >>= Shift; local 126 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >> [all...] |
H A D | ScaledNumber.h | 88 // Shift right and round. 89 int Shift = 64 - Width - countLeadingZeros(Digits); local 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 Digits & (UINT64_C(1) << (Shift - 1))); 277 /// scales in place. Shift the digits as necessary to form equivalent numbers, 307 // Shift LDigits left as much as possible, then shift RDigits right. 624 ScaledNumber &operator<<=(int16_t Shift) { argument 625 shiftLeft(Shift); 628 ScaledNumber &operator>>=(int16_t Shift) { argument 701 adjustToWidth(uint64_t N, int32_t Shift) argument 731 operator <<(const ScaledNumber<DigitsT> &L, int16_t Shift) argument 737 operator >>(const ScaledNumber<DigitsT> &L, int16_t Shift) argument 834 shiftLeft(int32_t Shift) argument 861 Digits <<= Shift; local 864 shiftRight(int32_t Shift) argument 887 Digits >>= Shift; local [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
H A D | cmshalf.c | 462 static cmsUInt8Number Shift[512] = { variable 531 return (cmsUInt16Number) ((cmsUInt32Number) Base[ j ] + (( n & 0x007fffff) >> Shift[ j ]));
|
/external/clang/include/clang/Basic/ |
H A D | OperatorPrecedence.h | 39 Shift = 11, // <<, >> enumerator in enum:clang::prec::Level
|
/external/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugInfoEntry.cpp | 83 uint64_t Shift = countTrailingZeros(Val); local 84 assert(Shift < 64 && "undefined behavior"); 85 uint64_t Bit = 1ULL << Shift;
|
/external/pdfium/xfa/fxfa/parser/ |
H A D | cscript_eventpseudomodel.h | 26 Shift, member in class:XFA_Event 54 void Shift(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
|
H A D | cscript_eventpseudomodel.cpp | 108 case XFA_Event::Shift: 183 void CScript_EventPseudoModel::Shift(CFXJSE_Value* pValue, function in class:CScript_EventPseudoModel 186 Property(pValue, XFA_Event::Shift, bSetting);
|
/external/lzma/C/ |
H A D | Ppmd.h | 38 Byte Shift; /* Speed of Freq change; low Shift is for fast change */
member in struct:__anon14033 39 Byte Count; /* Count to next change of Shift */
42 #define Ppmd_See_Update(p) if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \
43 { (p)->Summ <<= 1; (p)->Count = (Byte)(3 << (p)->Shift++); }
|
/external/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 47 // Shift as little as possible to maximize precision. 49 int Shift = 64 - LeadingZeros; local 51 Upper = Upper << LeadingZeros | Lower >> Shift; 52 return getRounded(Upper, Shift, 53 Shift && (Lower & UINT64_C(1) << (Shift - 1))); 65 int Shift = 0; local 67 Shift -= Zeros; 75 return getAdjusted<uint32_t>(Quotient, Shift); 78 return getRounded<uint32_t>(Quotient, Shift, Remainde 87 int Shift = 0; local [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldMachOARM.h | 274 unsigned Shift = (HalfDiffKindBits & 0x1) ? 16 : 0; local 275 uint32_t FullImmVal = (Immediate << Shift) | (OtherHalf << (16 - Shift));
|
/external/swiftshader/third_party/LLVM/lib/Archive/ |
H A D | ArchiveReader.cpp | 24 unsigned Shift = 0; local 30 Result |= (unsigned)((*At++) & 0x7F) << Shift; 31 Shift += 7;
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 579 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff)); local 582 return BinaryOperator::CreateAnd(Shift, 590 Value *Shift = Builder->CreateLShr(X, ConstantInt::get(Ty, ShiftDiff)); local 593 return BinaryOperator::CreateAnd(Shift, 605 Value *Shift = Builder->CreateBinOp(ShiftOp->getOpcode(), X, 609 return BinaryOperator::CreateAnd(Shift, 616 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff)); 619 return BinaryOperator::CreateAnd(Shift,
|
/external/v8/src/ |
H A D | fixed-dtoa.cc | 42 void Shift(int shift_amount) { function in class:v8::internal::UInt128 250 fractionals128.Shift(-exponent - 64);
|
/external/clang/lib/Format/ |
H A D | WhitespaceManager.cpp | 169 int Shift = 0; local 173 Shift = 0; 181 Shift = Column - Changes[i].StartOfTokenColumn; 182 Changes[i].Spaces += Shift; 185 assert(Shift >= 0); 186 Changes[i].StartOfTokenColumn += Shift; 188 Changes[i + 1].PreviousEndOfTokenColumn += Shift; 424 int Shift = 0; local 426 Shift = Column - Changes[i].StartOfTokenColumn; 429 Shift [all...] |
/external/clang/lib/Tooling/Core/ |
H A D | Replacement.cpp | 311 int Shift = 0; local 313 unsigned Offset = R.getOffset() + Shift; 315 Shift += Length - R.getLength();
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 353 "Shift over the type width should have been removed already"); 623 Value *Shift = Builder->CreateLShr(X, ShiftDiffCst); local 626 return BinaryOperator::CreateAnd(Shift, 671 Value *Shift = Builder->CreateShl(X, ShiftDiffCst); 674 return BinaryOperator::CreateAnd(Shift,
|
H A D | InstCombinePHI.cpp | 634 unsigned Shift; // The amount shifted. member in struct:__anon13308::PHIUsageRecord 638 : PHIId(pn), Shift(Sh), Inst(User) {} 643 if (Shift < RHS.Shift) return true; 644 if (Shift > RHS.Shift) return false; 652 unsigned Shift; // The amount shifted. member in struct:__anon13308::LoweredPHIRecord 656 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} 660 : PN(pn), Shift(Sh), Width(0) {} 674 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>> 750 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); local [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILISelLowering.cpp | 438 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 D | BlockFrequencyInfoImpl.cpp | 185 static uint64_t shiftRightAndRound(uint64_t N, int Shift) { 186 assert(Shift >= 0); 187 assert(Shift < 64); 188 if (!Shift) 190 return (N >> Shift) + (UINT64_C(1) & N >> (Shift - 1)); 213 int Shift = 0; local 215 Shift = 33; 217 Shift = 33 - countLeadingZeros(Total); 220 if (!Shift) { [all...] |
/external/llvm/lib/MC/ |
H A D | MCAsmStreamer.cpp | 819 uint64_t Shift = 64 - EmissionSize * 8; local 820 assert(Shift < static_cast<uint64_t>( 823 ValueToEmit &= ~0ULL >> Shift;
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonStoreWidening.cpp | 407 unsigned Shift = 0; local 417 unsigned Val = (SO.getImm() & Mask) << Shift; 419 Shift += NBits;
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCCodeEmitter.cpp | 57 int64_t Shift = Inst.getOperand(2).getImm(); local 58 if (Shift <= 31) 60 Shift -= 32; 63 Inst.getOperand(2).setImm(Shift); 175 unsigned Shift = IsLittleEndian ? i * 8 : (Size - 1 - i) * 8; local 176 EmitByte((Val >> Shift) & 0xff, OS);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 37 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/javascript/ |
H A D | JS_EventHandler.cpp | 585 bool CJS_EventHandler::Shift() { function in class:CJS_EventHandler
|