Searched defs:Bits (Results 1 - 25 of 84) sorted by relevance

1234

/external/llvm/unittests/ADT/
H A DAPSIntTest.cpp29 const uint64_t *Bits = Wide.getRawData(); local
32 EXPECT_EQ(Bits, D.getRawData()); // Verify that "Wide" was really moved.
38 Bits = Wide.getRawData();
41 EXPECT_EQ(Bits, A.getRawData()); // Verify that "Wide" was really moved.
H A DAPIntTest.cpp935 uint64_t Bits[] = {0xdeadbeefdeadbeefULL, 0xdeadbeefdeadbeefULL}; local
936 APInt Y(128, Bits);
/external/freetype/src/gzip/
H A Dinftrees.h23 Byte Bits; /* number of bits in this code or subcode */ member in struct:inflate_huft_s::__anon5052::__anon5053
/external/clang/test/Analysis/
H A Dfields.c45 struct Bits { struct
62 struct Bits bits;
121 struct Bits bits;
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DBits.java22 public final class Bits { class
26 private Bits() { method in class:Bits
224 if (Bits.get(bits, i)) {
/external/eigen/bench/
H A Dsparse_randomsetter.cpp85 const int Bits = 6; local
88 dostuff<RandomSetter<EigenSparseMatrix,StdMapTraits,Bits> >("std::map ", sm1);
89 dostuff<RandomSetter<EigenSparseMatrix,GnuHashMapTraits,Bits> >("gnu::hash_map", sm1);
90 dostuff<RandomSetter<EigenSparseMatrix,GoogleDenseHashMapTraits,Bits> >("google::dense", sm1);
91 dostuff<RandomSetter<EigenSparseMatrix,GoogleSparseHashMapTraits,Bits> >("google::sparse", sm1);
94 // RandomSetter<EigenSparseMatrix,GnuHashMapTraits,Bits> set1(sm1);
103 // RandomSetter<EigenSparseMatrix,GoogleDenseHashMapTraits,Bits> set1(sm1);
112 // RandomSetter<EigenSparseMatrix,GoogleSparseHashMapTraits,Bits> set1(sm1);
/external/lldb/test/lang/c/bitfields/
H A Dmain.c13 struct Bits struct
28 printf("%lu", sizeof(struct Bits));
30 struct Bits bits;
/external/llvm/include/llvm/ADT/
H A DSparseBitVector.h58 BitWord Bits[BITWORDS_PER_ELEMENT]; member in struct:llvm::SparseBitVectorElement
63 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
69 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
77 if (Bits[i] != RHS.Bits[i])
89 return Bits[Idx];
98 if (Bits[i])
104 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE);
117 Bits[Idx / BITWORD_SIZE] &= ~(1L << (Idx % BITWORD_SIZE));
121 return Bits[Id
[all...]
H A DPackedVector.h30 static T getValue(const BitVectorTy &Bits, unsigned Idx) { argument
33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
37 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { argument
40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);
47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { argument
50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
51 if (Bits[(Idx << (BitNum-1)) + BitNum-1])
56 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { argument
59 Bits.set((Idx << (BitNum-1)) + BitNum-1);
63 Bits[(Id
77 BitVectorTy Bits; member in class:llvm::PackedVector
[all...]
H A DBitVector.h35 BitWord *Bits; // Actual bits. member in class:llvm::BitVector
52 WordRef = &b.Bits[Idx / BITWORD_SIZE];
79 Bits = nullptr;
86 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
87 init_words(Bits, Capacity, t);
95 Bits = nullptr;
101 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
102 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord));
106 : Bits(RH
[all...]
/external/llvm/include/llvm/Transforms/IPO/
H A DLowerBitSets.h34 std::set<uint64_t> Bits; member in struct:llvm::BitSetInfo
48 return Bits.size() == 1;
52 return Bits.size() == BitSize;
187 /// Allocate BitSize bits in the byte array where Bits contains the bits to
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
/external/llvm/unittests/Transforms/IPO/
H A DLowerBitSets.cpp18 std::set<uint64_t> Bits; member in struct:__anon11331
60 EXPECT_EQ(T.Bits, BSI.Bits);
111 std::set<uint64_t> Bits; member in struct:BABAlloc
148 BABuilder.allocate(A.Bits, A.BitSize, GotByteOffset, GotMask);
/external/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp838 uint32_t Bits; local
844 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2;
847 return Bits;
851 AArch64SysReg::SysRegMapper::toString(uint32_t Bits, uint64_t FeatureBits) const { argument
854 if (SysRegMappings[i].isValueEqual(Bits, FeatureBits)) {
862 if (InstMappings[i].isValueEqual(Bits, FeatureBits)) {
867 assert(Bits < 0x10000);
868 uint32_t Op0 = (Bits >> 14) & 0x3;
869 uint32_t Op1 = (Bits >> 11) & 0x7;
870 uint32_t CRn = (Bits >>
[all...]
/external/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp268 uint64_t Bits = getFeatureBits(); local
269 if ((Bits & ARM::ProcA5 || Bits & ARM::ProcA8) && // Where this matters
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.cpp43 std::bitset<16> Bits(MCI.getOperand(MCI.getNumOperands() - 2).getImm());
44 return Bits;
182 std::bitset<16> Bits(GetImplicitBits(MCI));
183 return Bits.test(packetBeginIndex);
187 std::bitset<16> Bits(GetImplicitBits(MCI));
188 return Bits.test(packetEndIndex);
207 void HexagonMCInstrInfo::SetImplicitBits(MCInst &MCI, std::bitset<16> Bits) { argument
209 MCI.getOperand(MCI.getNumOperands() - 2).setImm(Bits.to_ulong());
213 std::bitset<16> Bits(GetImplicitBits(MCI));
214 Bits
[all...]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp85 unsigned Bits = getBinaryCodeForInstr(MI, Fixups, STI); local
89 OS << (char)(Bits >> 24);
90 Bits <<= 8;
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCCodeEmitter.cpp121 uint64_t Bits = getBinaryCodeForInstr(MI, Fixups, STI); local
126 OS << uint8_t(Bits >> ShiftValue);
/external/openfst/src/include/fst/extensions/ngram/
H A Dbitmap-index.h62 size_t Bits() const { function in class:fst::BitmapIndex
76 // REQUIRES: limit <= Bits()
80 // REQUIRES: limit <= Bits()
86 // REQUIRES: limit <= Bits()
92 // REQUIRES: limit <= Bits()
98 // is set. 0 <= begin <= end <= Bits() is required.
105 // or Bits() if index >= number of ones
109 // or Bits() if index > number of
/external/skia/include/effects/
H A DSkLayerDrawLooper.h23 * Bits specifies which aspects of the layer's paint should replace the
29 enum Bits { enum in class:SkLayerDrawLooper
/external/skia/src/utils/
H A DSkFloatUtils.h57 /** 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 class: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; }
96 Bits fraction_bits() const { return kFractionBitMask & fU.bits; }
117 const Bits dis
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h155 const unsigned Bits = getType().getIntegerBitWidth(); local
156 return Bits <= InlineBits;
163 const unsigned Bits = getType().getFloatBitWidth(); local
164 return Bits <= InlineBits;
/external/llvm/lib/IR/
H A DDataLayout.cpp212 static unsigned inBytes(unsigned Bits) { argument
213 if (Bits % 8)
215 return Bits / 8;
/external/llvm/lib/MC/
H A DSubtargetFeature.cpp154 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, argument
160 Bits |= FE.Value;
161 SetImpliedBits(Bits, &FE, FeatureTable);
170 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, argument
176 Bits &= ~FE.Value;
177 ClearImpliedBits(Bits, &FE, FeatureTable);
185 SubtargetFeatures::ToggleFeature(uint64_t Bits, StringRef Feature, argument
193 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) {
194 Bits &= ~FeatureEntry->Value;
197 ClearImpliedBits(Bits, FeatureEntr
238 uint64_t Bits = 0; // Resulting bits local
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.h36 std::vector<unsigned> Bits; member in struct:llvm::LetRecord
41 : Name(N), Bits(B), Value(V), Loc(L) {
/external/llvm/lib/Target/AArch64/
H A DAArch64BranchRelaxation.cpp258 unsigned Bits) {
259 unsigned MaxOffs = ((1 << (Bits - 1)) - 1) << 2;
256 isBlockInRange(MachineInstr *MI, MachineBasicBlock *DestBB, unsigned Bits) argument

Completed in 4522 milliseconds

1234