/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | BitVector.h | 36 BitWord *Bits; // Actual bits. member in llvm::BitVector 38 unsigned Capacity; // Number of BitWords allocated in the Bits array. 51 WordRef = &b.Bits[Idx / BITWORD_SIZE]; in reference() 79 Bits = nullptr; in BitVector() 86 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in BitVector() 87 init_words(Bits, Capacity, t); in BitVector() 95 Bits = nullptr; in BitVector() 101 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in BitVector() 102 std::memcpy(Bits, RHS.Bits, Capacit in BitVector() [all...] |
/third_party/elfutils/libelf/ |
H A D | gelf_xlate.c | 67 #define FETCH(Bits, ptr) (*(const uint##Bits##_t *) ptr) 68 #define STORE(Bits, ptr, val) (*(uint##Bits##_t *) ptr = val) 79 #define FETCH(Bits, ptr) (((const union unaligned *) ptr)->u##Bits) 80 #define STORE(Bits, ptr, val) (((union unaligned *) ptr)->u##Bits = val) 90 #define FUNDAMENTAL(NAME, Name, Bits) \ 91 INLINE2 (ELFW2(Bits,FSZ [all...] |
H A D | abstract.h | 31 #define Ehdr(Bits, Ext) \ 32 START (Bits, Ehdr, Ext##Ehdr) \ 35 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \ 36 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \ 37 TYPE_NAME (ElfW2(Bits, Ext##Word), e_version) \ 38 TYPE_NAME (ElfW2(Bits, Ext##Addr), e_entry) \ 39 TYPE_NAME (ElfW2(Bits, Ext##Off), e_phoff) \ 40 TYPE_NAME (ElfW2(Bits, Ext##Off), e_shoff) \ 41 TYPE_NAME (ElfW2(Bits, Ext##Word), e_flags) \ 42 TYPE_NAME (ElfW2(Bits, Ex [all...] |
H A D | elf_getdata.c | 78 # define TYPE_ALIGNS(Bits) \ 79 [ELF_T_ADDR] = __alignof__ (ElfW2(Bits,Addr)), \ 80 [ELF_T_EHDR] = __alignof__ (ElfW2(Bits,Ehdr)), \ 81 [ELF_T_HALF] = __alignof__ (ElfW2(Bits,Half)), \ 82 [ELF_T_OFF] = __alignof__ (ElfW2(Bits,Off)), \ 83 [ELF_T_PHDR] = __alignof__ (ElfW2(Bits,Phdr)), \ 84 [ELF_T_SHDR] = __alignof__ (ElfW2(Bits,Shdr)), \ 85 [ELF_T_SWORD] = __alignof__ (ElfW2(Bits,Sword)), \ 86 [ELF_T_WORD] = __alignof__ (ElfW2(Bits,Word)), \ 87 [ELF_T_XWORD] = __alignof__ (ElfW2(Bits,Xwor [all...] |
H A D | libelfP.h | 45 #define __elfw2_(Bits, Name) __elf##Bits##_##Name 46 #define elfw2_(Bits, Name) elf##Bits##_##Name 47 #define ElfW2_(Bits, Name) Elf##Bits##_##Name 48 #define ELFW2_(Bits, Name) ELF##Bits##_##Name 49 #define ELFW_(Name, Bits) Name##Bits [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceBitVector.h | 49 memcpy(Bits, BV.Bits, sizeof(Bits)); in operator =() 89 return Reference(Bits + (Idx >> BitIndexSize), 95 return Bits[Idx >> BitIndexSize] & in operator []() 105 if (Bits[i]) { 135 Count += llvm::countPopulation(Bits[i]); 144 Ret.Bits[i] = Bits[i] & Rhs.Bits[ [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | BitVector.h | 81 MutableArrayRef<BitWord> Bits; // Actual bits. member in llvm::BitVector 95 WordRef = &b.Bits[Idx / BITWORD_SIZE]; in reference() 140 Bits = allocate(Capacity); in BitVector() 141 init_words(Bits, t); in BitVector() 149 Bits = MutableArrayRef<BitWord>(); in BitVector() 154 Bits = allocate(Capacity); in BitVector() 155 std::memcpy(Bits.data(), RHS.Bits.data(), Capacity * sizeof(BitWord)); in BitVector() 158 BitVector(BitVector &&RHS) : Bits(RHS.Bits), Siz [all...] |
H A D | PackedVector.h | 30 static T getValue(const BitVectorTy &Bits, unsigned Idx) { in getValue() argument 33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 37 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { in setValue() argument 40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() 47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { in getValue() argument 50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 51 if (Bits[(Idx << (BitNum-1)) + BitNum-1]) in getValue() 56 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { in setValue() argument 59 Bits.set((Idx << (BitNum-1)) + BitNum-1); in setValue() 63 Bits[(Id in setValue() 77 BitVectorTy Bits; global() member in llvm::PackedVector [all...] |
H A D | SparseBitVector.h | 54 BitWord Bits[BITWORDS_PER_ELEMENT]; member 58 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); in SparseBitVectorElement() 64 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); in SparseBitVectorElement() 72 if (Bits[i] != RHS.Bits[i]) in operator ==() 84 return Bits[Idx]; in word() 93 if (Bits[i]) 99 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE); 112 Bits[Idx / BITWORD_SIZE] &= ~(1L << (Idx % BITWORD_SIZE)); 116 return Bits[Id [all...] |
H A D | PointerEmbeddedInt.h | 32 template <typename IntT, int Bits = sizeof(IntT) * CHAR_BIT> 38 static_assert(Bits < sizeof(uintptr_t) * CHAR_BIT, 44 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits, 47 Mask = static_cast<uintptr_t>(-1) << Bits 64 assert((std::is_signed<IntT>::value ? isInt<Bits>(I) : isUInt<Bits>(I)) && 81 template <typename IntT, int Bits> 82 struct PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> { 83 using T = PointerEmbeddedInt<IntT, Bits>; 102 template <typename IntT, int Bits> [all...] |
H A D | SmallBitVector.h | 199 uintptr_t Bits = getSmallBits(); in count() local 200 return countPopulation(Bits); in count() 229 uintptr_t Bits = getSmallBits(); in find_first() local 230 if (Bits == 0) in find_first() 232 return countTrailingZeros(Bits); in find_first() 239 uintptr_t Bits = getSmallBits(); in find_last() local 240 if (Bits == 0) in find_last() 242 return NumBaseBits - countLeadingZeros(Bits) - 1; in find_last() 253 uintptr_t Bits = getSmallBits(); in find_first_unset() 254 return countTrailingOnes(Bits); in find_first_unset() 276 uintptr_t Bits = getSmallBits(); find_next() local 291 uintptr_t Bits = getSmallBits(); find_next_unset() local 311 uintptr_t Bits = getSmallBits(); find_prev() local [all...] |
/third_party/skia/src/utils/ |
H A D | SkFloatUtils.h | 57 /** Bits is a unsigned integer the same size as the floating point number. */ 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; typedef in SkFloatingPoint 70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1); 73 static const Bits kFractionBitMask = 74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1); 77 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask); 93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; } in exponent_bits() 96 Bits fraction_bits() const { return kFractionBitMask & fU.bits; } in fraction_bits() 117 const Bits dis in AlmostEquals() [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | decoder-arm64-inl.h | 18 if (instr->Bits(28, 27) == 0) { in Decode() 21 switch (instr->Bits(27, 24)) { in Decode() 112 DCHECK_EQ(0x0, instr->Bits(27, 24)); in DecodePCRelAddressing() 121 DCHECK_EQ(0x4, instr->Bits(27, 24) & 0xC); // 0x4, 0x5, 0x6, 0x7 in DecodeBranchSystemException() 123 switch (instr->Bits(31, 29)) { in DecodeBranchSystemException() 154 if ((instr->Bits(4, 2) != 0) || in DecodeBranchSystemException() 168 if (instr->Bits(23, 22) == 0) { in DecodeBranchSystemException() 170 if ((instr->Bits(21, 19) == 0x4) || in DecodeBranchSystemException() 191 if ((instr->Bit(24) == 0x1) || (instr->Bits(20, 16) != 0x1F) || in DecodeBranchSystemException() 192 (instr->Bits(1 in DecodeBranchSystemException() [all...] |
H A D | constants-arm64.h | 153 V_(Rd, 4, 0, Bits) /* Destination register. */ \ 154 V_(Rn, 9, 5, Bits) /* First source register. */ \ 155 V_(Rm, 20, 16, Bits) /* Second source register. */ \ 156 V_(Ra, 14, 10, Bits) /* Third source register. */ \ 157 V_(Rt, 4, 0, Bits) /* Load dest / store source. */ \ 158 V_(Rt2, 14, 10, Bits) /* Load second dest / */ \ 160 V_(Rs, 20, 16, Bits) /* Store-exclusive status */ \ 161 V_(PrefetchMode, 4, 0, Bits) \ 164 V_(SixtyFourBits, 31, 31, Bits) \ 165 V_(FlagsUpdate, 29, 29, Bits) \ [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
H A D | SubtargetFeature.h | 44 uint64_t Bits[MAX_SUBTARGET_WORDS] = {}; member in llvm::FeatureBitset 49 Bits[I] = B[I]; in FeatureBitset() 60 std::fill(std::begin(Bits), std::end(Bits), -1ULL); in set() 66 uint64_t NewBits = Bits[I / 64] | (uint64_t(1) << (I % 64)); in set() 67 Bits[I / 64] = NewBits; in set() 73 uint64_t NewBits = Bits[I / 64] & ~(uint64_t(1) << (I % 64)); in reset() 74 Bits[I / 64] = NewBits; in reset() 80 uint64_t NewBits = Bits[I / 64] ^ (uint64_t(1) << (I % 64)); in flip() 81 Bits[ in flip() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | FoldingSet.cpp | 61 Bits.push_back(I); in AddInteger() 64 Bits.push_back(I); in AddInteger() 88 Bits.push_back(Size); in AddString() 97 Bits.append(Base, Base + Units); in AddString() 111 Bits.push_back(V); in AddString() 119 Bits.push_back(V); in AddString() 135 Bits.push_back(V); in AddString() 140 Bits.append(ID.Bits.begin(), ID.Bits in AddNodeID() [all...] |
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | constants-arm.h | 453 inline int Bits(int hi, int lo) const { in Bits() function in v8::internal::Instruction 475 inline int ConditionValue() const { return Bits(31, 28); } in ConditionValue() 482 inline int TypeValue() const { return Bits(27, 25); } in TypeValue() 483 inline int SpecialValue() const { return Bits(27, 23); } in SpecialValue() 485 inline int RnValue() const { return Bits(19, 16); } in RnValue() 487 inline int RdValue() const { return Bits(15, 12); } in RdValue() 490 inline int CoprocessorValue() const { return Bits(11, 8); } in CoprocessorValue() 493 inline int VnValue() const { return Bits(19, 16); } in VnValue() 494 inline int VmValue() const { return Bits(3, 0); } in VmValue() 495 inline int VdValue() const { return Bits(1 in VmValue() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64BaseInfo.cpp | 136 uint32_t Bits; in parseGenericRegister() local 142 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2; in parseGenericRegister() 144 return Bits; in parseGenericRegister() 147 std::string AArch64SysReg::genericRegisterString(uint32_t Bits) { in genericRegisterString() argument 148 assert(Bits < 0x10000); in genericRegisterString() 149 uint32_t Op0 = (Bits >> 14) & 0x3; in genericRegisterString() 150 uint32_t Op1 = (Bits >> 11) & 0x7; in genericRegisterString() 151 uint32_t CRn = (Bits >> 7) & 0xf; in genericRegisterString() 152 uint32_t CRm = (Bits >> 3) & 0xf; in genericRegisterString() 153 uint32_t Op2 = Bits in genericRegisterString() [all...] |
/third_party/node/deps/v8/src/codegen/loong64/ |
H A D | constants-loong64.h | 737 inline int Bits(int hi, int lo) const { 757 return this->Bits(kRjShift + kRjBits - 1, kRjShift); 761 return this->Bits(kRkShift + kRkBits - 1, kRkShift); 765 return this->Bits(kRdShift + kRdBits - 1, kRdShift); 769 return this->Bits(kSaShift + kSa2Bits - 1, kSaShift); 773 return this->Bits(kSaShift + kSa3Bits - 1, kSaShift); 777 return this->Bits(kUi5Shift + kUi5Bits - 1, kUi5Shift); 781 return this->Bits(kUi6Shift + kUi6Bits - 1, kUi6Shift); 785 return this->Bits(kUi12Shift + kUi12Bits - 1, kUi12Shift); 789 return this->Bits(kLsbwShif [all...] |
/third_party/node/deps/v8/src/codegen/riscv64/ |
H A D | constants-riscv64.h | 1408 inline int Bits(int hi, int lo) const { 1415 Bits(kBaseOpcodeShift + kBaseOpcodeBits - 1, kBaseOpcodeShift)); 1481 return this->Bits(kRs1Shift + kRs1Bits - 1, kRs1Shift); 1491 return this->Bits(kRs2Shift + kRs2Bits - 1, kRs2Shift); 1496 return this->Bits(kRs3Shift + kRs3Bits - 1, kRs3Shift); 1503 return this->Bits(kVs1Shift + kVs1Bits - 1, kVs1Shift); 1510 return this->Bits(kVs2Shift + kVs2Bits - 1, kVs2Shift); 1517 return this->Bits(kVdShift + kVdBits - 1, kVdShift); 1528 return this->Bits(kRdShift + kRdBits - 1, kRdShift); 1533 return this->Bits(kRvcRdShif [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
H A D | WholeProgramDevirt.h | 42 // Bits in BytesUsed[I] are 1 if matching bit in Bytes[I] is used, 0 if not. 108 VTableBits *Bits; member 114 return Bits < other.Bits || (Bits == other.Bits && Offset < other.Offset); in operator <() 154 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; } in minAfterBytes() 159 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); in allocatedBeforeBytes() 165 return minAfterBytes() + TM->Bits->After.Bytes.size(); in allocatedAfterBytes() 171 TM->Bits in setBeforeBit() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
H A D | MCSubtargetInfo.cpp | 36 void SetImpliedBits(FeatureBitset &Bits, const FeatureBitset &Implies, in SetImpliedBits() argument 40 Bits |= Implies; in SetImpliedBits() 43 SetImpliedBits(Bits, FE.Implies.getAsBitset(), FeatureTable); in SetImpliedBits() 48 void ClearImpliedBits(FeatureBitset &Bits, unsigned Value, in ClearImpliedBits() argument 52 Bits.reset(FE.Value); in ClearImpliedBits() 53 ClearImpliedBits(Bits, FE.Value, FeatureTable); in ClearImpliedBits() 58 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag() argument 70 Bits.set(FeatureEntry->Value); in ApplyFeatureFlag() 73 SetImpliedBits(Bits, FeatureEntry->Implies.getAsBitset(), FeatureTable); in ApplyFeatureFlag() 75 Bits in ApplyFeatureFlag() 163 FeatureBitset Bits; getFeatures() local [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects-inl.h | 25 hints = B##Bits::update(hints, field); \ 29 int32_t v = B##Bits::decode(data()); \ 42 (static_cast<uint32_t>(int32_t{-1}) << B##Bits::kSize); \ 43 hints = B##Bits::update(hints, field); \ 47 int32_t v = B##Bits::decode(data()); \ 49 v |= ((int32_t{1} << (B##Bits::kSize - 1) & v) \ 50 ? (static_cast<uint32_t>(int32_t{-1}) << B##Bits::kSize) \
|
/third_party/node/deps/v8/src/diagnostics/ppc/ |
H A D | disasm-ppc.cc | 289 uint32_t imm_value = instr->Bits(15, 0); in FormatOption() 301 int8_t value = instr->Bits(18, 11); in FormatOption() 307 int32_t value = instr->Bits(15, 0); in FormatOption() 313 uint8_t value = instr->Bits(19, 12); in FormatOption() 319 int32_t value = static_cast<int32_t>(SIGN_EXT_IMM5(instr->Bits(20, 16))); in FormatOption() 325 uint8_t value = instr->Bits(19, 16); in FormatOption() 345 int code = instr->Bits(20, 18); in FormatOption() 356 int off = ((instr->Bits(25, 2)) << 8) >> 6; in FormatOption() 362 int off = ((instr->Bits(15, 2)) << 18) >> 16; in FormatOption() 373 int32_t sh = instr->Bits(1 in FormatOption() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsConstantIslandPass.cpp | 135 unsigned Bits, Scale; in branchMaxOffsets() local 138 Bits = 11; in branchMaxOffsets() 142 Bits = 16; in branchMaxOffsets() 146 Bits = 8; in branchMaxOffsets() 150 Bits = 16; in branchMaxOffsets() 154 Bits = 8; in branchMaxOffsets() 158 Bits = 16; in branchMaxOffsets() 162 Bits = 8; in branchMaxOffsets() 166 Bits = 16; in branchMaxOffsets() 170 Bits in branchMaxOffsets() 665 unsigned Bits = 0; initializeFunctionInfo() local 745 unsigned Bits = 0; initializeFunctionInfo() local [all...] |