/external/llvm/lib/Support/ |
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 …]
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 89 int Shift = 64 - Width - countLeadingZeros(Digits); variable 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 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 …]
|
D | LEB128.h | 83 unsigned Shift = 0; variable 85 Value += uint64_t(*p & 0x7f) << Shift; 86 Shift += 7; 97 unsigned Shift = 0; variable 101 Value |= ((Byte & 0x7f) << Shift); 102 Shift += 7; 106 Value |= (-1ULL) << Shift;
|
D | MathExtras.h | 52 T Shift = std::numeric_limits<T>::digits >> 1; in count() local 53 T Mask = std::numeric_limits<T>::max() >> Shift; in count() 54 while (Shift) { in count() 56 Val >>= Shift; in count() 57 ZeroBits |= Shift; in count() 59 Shift >>= 1; in count() 60 Mask >>= Shift; in count() 124 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) { 125 T Tmp = Val >> Shift; 129 ZeroBits |= Shift;
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | bit.inl | 183 GLM_FUNC_QUALIFIER genType bitRotateRight(genType const & In, std::size_t Shift) 188 return (In << Shift) | (In >> (BitSize - Shift)); 195 std::size_t Shift argument 199 bitRotateRight(Value[0], Shift), 200 bitRotateRight(Value[1], Shift)); 207 std::size_t Shift argument 211 bitRotateRight(Value[0], Shift), 212 bitRotateRight(Value[1], Shift), 213 bitRotateRight(Value[2], Shift)); 220 std::size_t Shift argument [all …]
|
D | bit.hpp | 94 GLM_FUNC_DECL genType bitRotateRight(genType const & In, std::size_t Shift); 99 GLM_FUNC_DECL genType bitRotateLeft(genType const & In, std::size_t Shift);
|
/external/clang/lib/Format/ |
D | WhitespaceManager.cpp | 157 int Shift = 0; in AlignTokenSequence() local 161 Shift = 0; in AlignTokenSequence() 169 Shift = Column - Changes[i].StartOfTokenColumn; in AlignTokenSequence() 170 Changes[i].Spaces += Shift; in AlignTokenSequence() 173 assert(Shift >= 0); in AlignTokenSequence() 174 Changes[i].StartOfTokenColumn += Shift; in AlignTokenSequence() 176 Changes[i + 1].PreviousEndOfTokenColumn += Shift; in AlignTokenSequence() 402 int Shift = 0; in alignTrailingComments() local 404 Shift = Column - Changes[i].StartOfTokenColumn; in alignTrailingComments() 407 Shift = Changes[i].IndentationOffset + in alignTrailingComments() [all …]
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 290 unsigned Shift) { in UpgradeX86PSLLDQIntrinsics() argument 303 if (Shift < 16) { in UpgradeX86PSLLDQIntrinsics() 308 unsigned Idx = NumElts + i - Shift; in UpgradeX86PSLLDQIntrinsics() 327 unsigned Shift) { in UpgradeX86PSRLDQIntrinsics() argument 340 if (Shift < 16) { in UpgradeX86PSRLDQIntrinsics() 345 unsigned Idx = i + Shift; in UpgradeX86PSRLDQIntrinsics() 522 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall() local 524 Shift / 8); // Shift is in bits. in UpgradeIntrinsicCall() 527 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall() local 529 Shift / 8); // Shift is in bits. in UpgradeIntrinsicCall() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 428 for (unsigned Shift = 0; Shift < BitSize; Shift += 16) { in expandMOVImm() local 429 const unsigned Chunk = (Imm >> Shift) & Mask; in expandMOVImm() 525 unsigned Shift = 0; // LSL amount for high bits with MOVZ/MOVN in expandMOVImm() local 530 Shift = ((63 - LZ) / 16) * 16; in expandMOVImm() 533 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImm() 539 getDeadRegState(DstIsDead && Shift == LastShift)) in expandMOVImm() 541 .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift)); in expandMOVImm() 548 if (Shift == LastShift) { in expandMOVImm() 556 while (Shift != LastShift) { in expandMOVImm() 557 Shift -= 16; in expandMOVImm() [all …]
|
/external/lzma/C/ |
D | Ppmd.h | 38 Byte Shift; /* Speed of Freq change; low Shift is for fast change */ member 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/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 648 unsigned Shift; // The amount shifted. member 652 : PHIId(pn), Shift(Sh), Inst(User) {} in PHIUsageRecord() 657 if (Shift < RHS.Shift) return true; in operator <() 658 if (Shift > RHS.Shift) return false; in operator <() 666 unsigned Shift; // The amount shifted. member 670 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} in LoweredPHIRecord() 674 : PN(pn), Shift(Sh), Width(0) {} in LoweredPHIRecord() 688 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>>3) ^ in getHashValue() 693 return LHS.PN == RHS.PN && LHS.Shift == RHS.Shift && in isEqual() 764 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); in SliceUpIllegalIntegerPHI() local [all …]
|
D | InstCombineCasts.cpp | 540 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); in visitTrunc() local 541 Shift->takeName(Src); in visitTrunc() 542 return CastInst::CreateIntegerCast(Shift, DestTy, false); in visitTrunc() 559 Value *Shift = Builder->CreateAShr(A, Cst->getZExtValue()); in visitTrunc() local 560 Shift->takeName(Src); in visitTrunc() 561 return CastInst::CreateIntegerCast(Shift, CI.getType(), true); in visitTrunc() 1630 static bool collectInsertionElements(Value *V, unsigned Shift, in collectInsertionElements() argument 1633 assert(isMultipleOfTypeSize(Shift, VecEltTy) && in collectInsertionElements() 1647 unsigned ElementIndex = getTypeSizeIndex(Shift, VecEltTy); in collectInsertionElements() 1668 Shift, Elements, VecEltTy, isBigEndian); in collectInsertionElements() [all …]
|
/external/llvm/test/MC/Disassembler/Hexagon/ |
D | xtype_shift.txt | 4 # Shift by immediate 18 # Shift by immediate and accumulate 52 # Shift by immediate and add 56 # Shift by immediate and logical 98 # Shift right by immediate with rounding 104 # Shift left by immediate with saturation 108 # Shift by register 128 # Shift by register and accumulate 162 # Shift by register and logical 204 # Shift by register with saturation
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicsAArch64.td | 308 // Vector Saturating Shift Left 312 // Vector Rounding Shift Left 316 // Vector Saturating Rounding Shift Left 320 // Vector Signed->Unsigned Shift Left by Constant 323 // Vector Signed->Unsigned Narrowing Saturating Shift Right by Constant 326 // Vector Signed->Unsigned Rounding Narrowing Saturating Shift Right by Const 329 // Vector Narrowing Shift Right by Constant 333 // Vector Rounding Narrowing Shift Right by Constant 336 // Vector Rounding Narrowing Saturating Shift Right by Constant 340 // Vector Shift Left [all …]
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 180 static uint64_t shiftRightAndRound(uint64_t N, int Shift) { in shiftRightAndRound() argument 181 assert(Shift >= 0); in shiftRightAndRound() 182 assert(Shift < 64); in shiftRightAndRound() 183 if (!Shift) in shiftRightAndRound() 185 return (N >> Shift) + (UINT64_C(1) & N >> (Shift - 1)); in shiftRightAndRound() 207 int Shift = 0; in normalize() local 209 Shift = 33; in normalize() 211 Shift = 33 - countLeadingZeros(Total); in normalize() 214 if (!Shift) { in normalize() 234 W.Amount = std::max(UINT64_C(1), shiftRightAndRound(W.Amount, Shift)); in normalize()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 37 ConstantInt *Shift; in generateSignedRemainderCode() local 40 Shift = Builder.getInt64(63); in generateSignedRemainderCode() 43 Shift = Builder.getInt32(31); in generateSignedRemainderCode() 58 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode() 59 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); in generateSignedRemainderCode() 109 ConstantInt *Shift; in generateSignedDivisionCode() local 112 Shift = Builder.getInt64(63); in generateSignedDivisionCode() 115 Shift = Builder.getInt32(31); in generateSignedDivisionCode() 131 Value *Tmp = Builder.CreateAShr(Dividend, Shift); in generateSignedDivisionCode() 132 Value *Tmp1 = Builder.CreateAShr(Divisor, Shift); in generateSignedDivisionCode()
|
/external/llvm/test/tools/llvm-readobj/ |
D | elf-gnuhash.test | 25 I386-NEXT: Shift Count: 5 36 X86_64-NEXT: Shift Count: 6 47 PPC-NEXT: Shift Count: 5 58 PPC64-NEXT: Shift Count: 6
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmshalf.c | 462 static cmsUInt8Number Shift[512] = { variable 531 return (cmsUInt16Number) ((cmsUInt32Number) Base[ j ] + (( n & 0x007fffff) >> Shift[ j ])); in _cmsFloat2Half()
|
/external/clang/lib/Basic/ |
D | OperatorPrecedence.cpp | 38 return prec::Shift; in getBinOpPrecedence() 65 case tok::lessless: return prec::Shift; in getBinOpPrecedence()
|
/external/v8/src/wasm/ |
D | ast-decoder.cc | 249 void Shift(LocalType type, uint32_t count) { in Shift() function in v8::internal::wasm::LR_WasmDecoder 315 Shift(sig->GetReturn(), static_cast<uint32_t>(sig->parameter_count())); in DecodeFunctionBody() 336 Shift(kAstEnd, length); in DecodeFunctionBody() 350 Shift(kAstEnd, length); in DecodeFunctionBody() 366 Shift(kAstStmt, 2); in DecodeFunctionBody() 369 Shift(kAstEnd, 3); // Result type is typeof(x) in {c ? x : y}. in DecodeFunctionBody() 372 Shift(kAstStmt, 3); // Result type is typeof(x) in {c ? x : y}. in DecodeFunctionBody() 376 Shift(kAstEnd, 1); in DecodeFunctionBody() 385 Shift(kAstStmt, 2); in DecodeFunctionBody() 411 Shift(kAstEnd, 1 + case_count); in DecodeFunctionBody() [all …]
|
/external/clang/include/clang/Basic/ |
D | Sanitizers.def | 72 SANITIZER_GROUP("shift", Shift, ShiftBase | ShiftExponent) 104 Shift | SignedIntegerOverflow | Unreachable | VLABound | 111 SignedIntegerOverflow | UnsignedIntegerOverflow | Shift |
|
D | OperatorPrecedence.h | 39 Shift = 11, // <<, >> enumerator
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2379 uint64_t Shift = Layout->getElementOffsetInBits(i); in RewriteStoreUserOfWholeAlloca() local 2382 Shift = AllocaSizeBits - Shift - DL.getTypeAllocSizeInBits(FieldTy); in RewriteStoreUserOfWholeAlloca() 2385 if (Shift) { in RewriteStoreUserOfWholeAlloca() 2386 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca() 2419 uint64_t Shift; in RewriteStoreUserOfWholeAlloca() local 2422 Shift = AllocaSizeBits-ElementOffset; in RewriteStoreUserOfWholeAlloca() 2424 Shift = 0; in RewriteStoreUserOfWholeAlloca() 2431 if (Shift) { in RewriteStoreUserOfWholeAlloca() 2432 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca() 2456 Shift -= ElementOffset; in RewriteStoreUserOfWholeAlloca() [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOARM.h | 253 unsigned Shift = (HalfDiffKindBits & 0x1) ? 16 : 0; in processHALFSECTDIFFRelocation() local 254 uint32_t FullImmVal = (Immediate << Shift) | (OtherHalf << (16 - Shift)); in processHALFSECTDIFFRelocation()
|
/external/compiler-rt/lib/builtins/ |
D | fp_add_impl.inc | 74 // Shift the significands to give us round, guard and sticky, and or in the 81 // Shift the significand of b by the difference in exponents, with a sticky 132 // Shift the significand into place, and mask off the implicit bit.
|