/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 189 Expected<word_t> Read(unsigned NumBits) { in Read() argument 192 assert(NumBits && NumBits <= BitsInWord && in Read() 198 if (BitsInCurWord >= NumBits) { in Read() 199 word_t R = CurWord & (~word_t(0) >> (BitsInWord - NumBits)); in Read() 202 CurWord >>= (NumBits & Mask); in Read() 204 BitsInCurWord -= NumBits; in Read() 209 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() 227 R |= R2 << (NumBits - BitsLeft); in Read() 232 Expected<uint32_t> ReadVBR(unsigned NumBits) { in ReadVBR() argument 233 Expected<unsigned> MaybeRead = Read(NumBits); in ReadVBR() [all …]
|
D | BitstreamWriter.h | 119 void Emit(uint32_t Val, unsigned NumBits) { in Emit() argument 120 assert(NumBits && NumBits <= 32 && "Invalid value size!"); in Emit() 121 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); in Emit() 123 if (CurBit + NumBits < 32) { in Emit() 124 CurBit += NumBits; in Emit() 135 CurBit = (CurBit+NumBits) & 31; in Emit() 146 void EmitVBR(uint32_t Val, unsigned NumBits) { in EmitVBR() argument 147 assert(NumBits <= 32 && "Too many bits to emit!"); in EmitVBR() 148 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() 152 Emit((Val & ((1 << (NumBits-1))-1)) | (1 << (NumBits-1)), NumBits); in EmitVBR() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 535 return BlockScope.back().getCodeAbbrev().NumBits; in getAbbrevIDWidth() 672 word_t Read(unsigned NumBits) { in Read() argument 675 assert(NumBits && NumBits <= BitsInWord && in Read() 681 if (BitsInCurWord >= NumBits) { in Read() 682 word_t R = CurWord & (~word_t(0) >> (BitsInWord - NumBits)); in Read() 685 CurWord >>= (NumBits & Mask); in Read() 687 BitsInCurWord -= NumBits; in Read() 692 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() 707 R |= R2 << (NumBits - BitsLeft); in Read() 712 uint32_t ReadVBR(unsigned NumBits) { in ReadVBR() argument [all …]
|
D | NaClBitCodes.h | 410 unsigned NumBits; 413 NaClBitcodeSelectorAbbrev(bool IF, unsigned NB) : IsFixed(IF), NumBits(NB) {} 418 NumBits(NaClBitsNeededForValue(naclbitc::DEFAULT_MAX_ABBREV)) {} 423 : IsFixed(true), NumBits(NaClBitsNeededForValue(MaxAbbrev)) {}
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | format.h | 157 type_->AsNumber()->NumBits()); in IsInt8() 163 type_->AsNumber()->NumBits()); in IsInt16() 169 type_->AsNumber()->NumBits()); in IsInt32() 175 type_->AsNumber()->NumBits()); in IsInt64() 181 type_->AsNumber()->NumBits()); in IsUint8() 187 type_->AsNumber()->NumBits()); in IsUint16() 193 type_->AsNumber()->NumBits()); in IsUint32() 199 type_->AsNumber()->NumBits()); in IsUint64() 205 type_->AsNumber()->NumBits()); in IsFloat32() 211 type_->AsNumber()->NumBits()); in IsFloat64()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APSInt.cpp | 24 unsigned NumBits = ((Str.size() * 64) / 19) + 2; in APSInt() local 25 APInt Tmp(NumBits, Str, /*radix=*/10); in APSInt() 28 if (MinBits > 0 && MinBits < NumBits) in APSInt() 34 if (ActiveBits > 0 && ActiveBits < NumBits) in APSInt()
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerValueBitMap.h | 49 size_t GetNumBitsSinceLastMerge() const { return NumBits; } in GetNumBitsSinceLastMerge() 56 size_t OldNumBits = NumBits; in MergeFrom() 67 NumBits = Res; in MergeFrom() 68 return OldNumBits < NumBits; in MergeFrom() 81 size_t NumBits = 0;
|
/third_party/lzma/Java/SevenZip/ |
D | LzmaBench.java | 30 int NumBits; field in LzmaBench.CBitRandomGenerator 34 NumBits = 0; in Init() 39 if (NumBits > numBits) in GetRnd() 43 NumBits -= numBits; in GetRnd() 46 numBits -= NumBits; in GetRnd() 51 NumBits = 32 - numBits; in GetRnd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 578 unsigned NumBits = 0; in rewriteT2FrameIndex() local 587 NumBits = 8; in rewriteT2FrameIndex() 592 NumBits = 12; in rewriteT2FrameIndex() 600 NumBits = 8; in rewriteT2FrameIndex() 614 NumBits = 8; in rewriteT2FrameIndex() 628 case ARMII::AddrModeT2_i7s4: NumBits = 9; OffsetMask = 0x3; break; in rewriteT2FrameIndex() 629 case ARMII::AddrModeT2_i7s2: NumBits = 8; OffsetMask = 0x1; break; in rewriteT2FrameIndex() 630 default: NumBits = 7; OffsetMask = 0x0; break; in rewriteT2FrameIndex() 638 NumBits = 8 + 2; in rewriteT2FrameIndex() 644 NumBits = 8; // 8 bits scaled by 4 in rewriteT2FrameIndex() [all …]
|
D | ARMBaseRegisterInfo.cpp | 695 unsigned NumBits = 0; in isFrameOffsetLegal() local 705 NumBits = 8; in isFrameOffsetLegal() 708 NumBits = 12; in isFrameOffsetLegal() 713 NumBits = 8; in isFrameOffsetLegal() 718 NumBits = 12; in isFrameOffsetLegal() 721 NumBits = 8; in isFrameOffsetLegal() 724 NumBits = (BaseReg == ARM::SP ? 8 : 5); in isFrameOffsetLegal() 741 unsigned Mask = (1 << NumBits) - 1; in isFrameOffsetLegal()
|
D | ThumbRegisterInfo.cpp | 387 unsigned NumBits = (FrameReg == ARM::SP) ? 8 : 5; in rewriteFrameIndex() local 396 unsigned Mask = (1 << NumBits) - 1; in rewriteFrameIndex() 412 NumBits = 5; in rewriteFrameIndex() 413 Mask = (1 << NumBits) - 1; in rewriteFrameIndex()
|
/third_party/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 35 int NumBits; field in SevenZip.LzmaBench.CBitRandomGenerator 39 NumBits = 0; in Init() 44 if (NumBits > numBits) in GetRnd() 48 NumBits -= numBits; in GetRnd() 51 numBits -= NumBits; in GetRnd() 56 NumBits = 32 - numBits; in GetRnd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 475 static bool canEvaluateShifted(Value *V, unsigned NumBits, bool IsLeftShift, in canEvaluateShifted() argument 491 if (CI->getValue() == NumBits) { in canEvaluateShifted() 519 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && in canEvaluateShifted() 520 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); in canEvaluateShifted() 524 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); in canEvaluateShifted() 530 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && in canEvaluateShifted() 531 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); in canEvaluateShifted() 539 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted() 611 static Value *getShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, in getShiftedValue() argument 616 V = IC.Builder.CreateShl(C, NumBits); in getShiftedValue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AsmBackend.cpp | 154 unsigned NumBits; in valueFitsIntoFixupKind() local 156 case FK_Data_1: NumBits = 8; break; in valueFitsIntoFixupKind() 157 case FK_Data_2: NumBits = 16; break; in valueFitsIntoFixupKind() 158 case FK_Data_4: NumBits = 32; break; in valueFitsIntoFixupKind() 159 case FK_Data_8: NumBits = 64; break; in valueFitsIntoFixupKind() 162 return isUIntN(NumBits, Value) || in valueFitsIntoFixupKind() 163 isIntN(NumBits, static_cast<int64_t>(Value)); in valueFitsIntoFixupKind()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/ |
D | BitcodeAnalyzer.h | 67 uint64_t NumBits; member 78 : NumInstances(0), NumBits(0), NumSubBlocks(0), NumAbbrevs(0), in PerBlockIDStats()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | fast_uniform_bits.h | 58 constexpr size_t NumBits() { in NumBits() function 145 static constexpr size_t kUrbgBits = NumBits<URBG>(); in Generate() 187 static constexpr size_t kUrbgBits = NumBits<URBG>(); // m in Generate()
|
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/ |
D | LzmaSpec.cpp | 237 template <unsigned NumBits> 240 CProb Probs[(unsigned)1 << NumBits]; 252 for (unsigned i = 0; i < NumBits; i++) in Decode() 254 return m - ((unsigned)1 << NumBits); in Decode() 259 return BitTreeReverseDecode(Probs, NumBits, rc); in ReverseDecode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Type.cpp | 244 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) { in get() argument 245 assert(NumBits >= MIN_INT_BITS && "bitwidth too small"); in get() 246 assert(NumBits <= MAX_INT_BITS && "bitwidth too large"); in get() 249 switch (NumBits) { in get() 260 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; in get() 263 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits); in get()
|
D | DataLayout.cpp | 777 unsigned NumBits = getPointerTypeSizeInBits(Ty); in getIntPtrType() local 778 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIntPtrType() 799 unsigned NumBits = getIndexTypeSizeInBits(Ty); in getIndexType() local 800 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIndexType()
|
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
D | parser_struct_test.cc | 54 m[0].type->AsNumber()->NumBits())); in TEST_F() 56 m[1].type->AsNumber()->NumBits())); in TEST_F() 61 m[2].type->AsNumber()->NumBits())); in TEST_F() 67 m[3].type->AsNumber()->NumBits())); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 43 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() argument 44 setSubclassData(NumBits); in IntegerType() 62 static IntegerType *get(LLVMContext &C, unsigned NumBits);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 1097 void moveNBits(unsigned NumBits) { in moveNBits() argument 1098 assert(NumBits < 32 && "Undefined behavior spotted!"); in moveNBits() 1100 CurrentChunk >>= NumBits; in moveNBits() 1102 Idx += NumBits; in moveNBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
D | AVRAsmBackend.cpp | 371 auto NumBits = Info.TargetSize + Info.TargetOffset; in applyFixup() local 372 auto NumBytes = (NumBits / 8) + ((NumBits % 8) == 0 ? 0 : 1); in applyFixup()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 44 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() argument 45 setSubclassData(NumBits); in IntegerType() 63 static IntegerType *get(LLVMContext &C, unsigned NumBits);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | BitVector.h | 123 unsigned NumBits = 0; in count() local 125 NumBits += countPopulation(Bits[i]); in count() 126 return NumBits; in count()
|