Searched refs:Bits (Results 1 - 25 of 210) sorted by relevance

123456789

/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/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DPackedVector.h30 static T getValue(const llvm::BitVector &Bits, unsigned Idx) { argument
33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
37 static void setValue(llvm::BitVector &Bits, unsigned Idx, T val) { argument
40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);
47 static T getValue(const llvm::BitVector &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(llvm::BitVector &Bits, unsigned Idx, T val) { argument
59 Bits.set((Idx << (BitNum-1)) + BitNum-1);
63 Bits[(Id
77 llvm::BitVector Bits; member in class:llvm::PackedVector
[all...]
H A DBitVector.h31 BitWord *Bits; // Actual bits. member in class:llvm::BitVector
47 WordRef = &b.Bits[Idx / BITWORD_SIZE];
74 Bits = 0;
81 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
82 init_words(Bits, Capacity, t);
90 Bits = 0;
96 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
97 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord));
101 std::free(Bits);
[all...]
H A DSparseBitVector.h57 BitWord Bits[BITWORDS_PER_ELEMENT]; member in struct:llvm::SparseBitVectorElement
62 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
68 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
76 if (Bits[i] != RHS.Bits[i])
88 return Bits[Idx];
97 if (Bits[i])
103 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE);
116 Bits[Idx / BITWORD_SIZE] &= ~(1L << (Idx % BITWORD_SIZE));
120 return Bits[Id
[all...]
/external/elfutils/libelf/
H A Dgelf_xlate.c67 #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 Dabstract.h31 #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 Delf_getdata.c83 # define TYPE_ALIGNS(Bits) \
85 [ELF_T_ADDR] = __alignof__ (ElfW2(Bits,Addr)), \
86 [ELF_T_EHDR] = __alignof__ (ElfW2(Bits,Ehdr)), \
87 [ELF_T_HALF] = __alignof__ (ElfW2(Bits,Half)), \
88 [ELF_T_OFF] = __alignof__ (ElfW2(Bits,Off)), \
89 [ELF_T_PHDR] = __alignof__ (ElfW2(Bits,Phdr)), \
90 [ELF_T_SHDR] = __alignof__ (ElfW2(Bits,Shdr)), \
91 [ELF_T_SWORD] = __alignof__ (ElfW2(Bits,Sword)), \
92 [ELF_T_WORD] = __alignof__ (ElfW2(Bits,Word)), \
93 [ELF_T_XWORD] = __alignof__ (ElfW2(Bits,Xwor
[all...]
/external/llvm/include/llvm/ADT/
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
37 unsigned Capacity; // Number of BitWords allocated in the Bits array.
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, Capacit
[all...]
H A DPointerEmbeddedInt.h30 template <typename IntT, int Bits = sizeof(IntT) * CHAR_BIT>
36 static_assert(Bits < sizeof(uintptr_t) * CHAR_BIT,
42 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits,
45 Mask = static_cast<uintptr_t>(-1) << Bits
64 assert((std::is_signed<IntT>::value ? llvm::isInt<Bits>(I)
65 : llvm::isUInt<Bits>(I)) &&
82 template <typename IntT, int Bits>
83 class PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
84 typedef PointerEmbeddedInt<IntT, Bits> T;
102 template <typename IntT, int Bits>
[all...]
/external/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp94 uint32_t Bits; local
100 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2;
102 return Bits;
105 std::string AArch64SysReg::genericRegisterString(uint32_t Bits) { argument
106 assert(Bits < 0x10000);
107 uint32_t Op0 = (Bits >> 14) & 0x3;
108 uint32_t Op1 = (Bits >> 11) & 0x7;
109 uint32_t CRn = (Bits >> 7) & 0xf;
110 uint32_t CRm = (Bits >> 3) & 0xf;
111 uint32_t Op2 = Bits
[all...]
/external/clang/lib/Basic/
H A DLangOptions.cpp19 #define LANGOPT(Name, Bits, Default, Description) Name = Default;
20 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default);
25 #define LANGOPT(Name, Bits, Default, Description)
26 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default;
27 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
/external/clang/lib/Frontend/
H A DCodeGenOptions.cpp16 #define CODEGENOPT(Name, Bits, Default) Name = Default;
17 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86GenSubtargetInfo.inc158 uint64_t Bits = ReInitMCSubtargetInfo(CPU, FS);
159 if ((Bits & X86::Feature3DNow) != 0 && X863DNowLevel < ThreeDNow) X863DNowLevel = ThreeDNow;
160 if ((Bits & X86::Feature3DNowA) != 0 && X863DNowLevel < ThreeDNowA) X863DNowLevel = ThreeDNowA;
161 if ((Bits & X86::Feature64Bit) != 0) HasX86_64 = true;
162 if ((Bits & X86::FeatureAES) != 0) HasAES = true;
163 if ((Bits & X86::FeatureAVX) != 0) HasAVX = true;
164 if ((Bits & X86::FeatureBMI) != 0) HasBMI = true;
165 if ((Bits & X86::FeatureCLMUL) != 0) HasCLMUL = true;
166 if ((Bits & X86::FeatureCMOV) != 0) HasCMov = true;
167 if ((Bits
[all...]
/external/clang/include/clang/Basic/
H A DDiagnosticOptions.h73 #define DIAGOPT(Name, Bits, Default) unsigned Name : Bits;
74 #define ENUM_DIAGOPT(Name, Type, Bits, Default)
80 #define DIAGOPT(Name, Bits, Default)
81 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits;
101 #define DIAGOPT(Name, Bits, Default)
102 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \
108 #define DIAGOPT(Name, Bits, Default) Name = Default;
109 #define ENUM_DIAGOPT(Name, Type, Bits, Defaul
[all...]
H A DLangOptions.h33 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits;
34 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description)
40 #define LANGOPT(Name, Bits, Default, Description)
41 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
42 unsigned Name : Bits;
132 #define LANGOPT(Name, Bits, Default, Description)
133 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
/external/llvm/lib/MC/
H A DSubtargetFeature.cpp135 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry, argument
141 Bits |= FE.Value;
142 SetImpliedBits(Bits, &FE, FeatureTable);
151 void ClearImpliedBits(FeatureBitset &Bits, argument
158 Bits &= ~FE.Value;
159 ClearImpliedBits(Bits, &FE, FeatureTable);
166 SubtargetFeatures::ToggleFeature(FeatureBitset &Bits, StringRef Feature, argument
174 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) {
175 Bits &= ~FeatureEntry->Value;
177 ClearImpliedBits(Bits, FeatureEntr
191 ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, ArrayRef<SubtargetFeatureKV> FeatureTable) argument
238 FeatureBitset Bits; local
[all...]
/external/swiftshader/third_party/LLVM/lib/Support/
H A DFoldingSet.cpp67 Bits.append(reinterpret_cast<unsigned *>(&Ptr),
71 Bits.push_back(I);
74 Bits.push_back(I);
94 Bits.push_back(unsigned(I >> 32));
99 Bits.push_back(Size);
108 Bits.append(Base, Base + Units);
120 Bits.push_back(V);
129 Bits.push_back(V);
145 Bits.push_back(V);
150 Bits
[all...]
/external/v8/src/arm64/
H A Ddecoder-arm64-inl.h20 if (instr->Bits(28, 27) == 0) {
23 switch (instr->Bits(27, 24)) {
99 DCHECK(instr->Bits(27, 24) == 0x0);
109 DCHECK((instr->Bits(27, 24) == 0x4) ||
110 (instr->Bits(27, 24) == 0x5) ||
111 (instr->Bits(27, 24) == 0x6) ||
112 (instr->Bits(27, 24) == 0x7) );
114 switch (instr->Bits(31, 29)) {
145 if ((instr->Bits(4, 2) != 0) ||
159 if (instr->Bits(2
[all...]
/external/llvm/lib/Support/
H A DFoldingSet.cpp57 Bits.append(reinterpret_cast<unsigned *>(&Ptr),
61 Bits.push_back(I);
64 Bits.push_back(I);
84 Bits.push_back(unsigned(I >> 32));
89 Bits.push_back(Size);
98 Bits.append(Base, Base + Units);
112 Bits.push_back(V);
120 Bits.push_back(V);
136 Bits.push_back(V);
141 Bits
[all...]
/external/v8/src/arm/
H A Dconstants-arm.h488 inline int Bits(int hi, int lo) const { function in class:v8::internal::Instruction
507 static inline int Bits(Instr instr, int hi, int lo) { function in class:v8::internal::Instruction
530 inline int ConditionValue() const { return Bits(31, 28); }
537 inline int TypeValue() const { return Bits(27, 25); }
538 inline int SpecialValue() const { return Bits(27, 23); }
540 inline int RnValue() const { return Bits(19, 16); }
542 inline int RdValue() const { return Bits(15, 12); }
545 inline int CoprocessorValue() const { return Bits(11, 8); }
548 inline int VnValue() const { return Bits(19, 16); }
549 inline int VmValue() const { return Bits(
[all...]
/external/swiftshader/third_party/LLVM/lib/MC/
H A DSubtargetFeature.cpp193 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, argument
202 Bits |= FE.Value;
203 SetImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize);
212 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, argument
221 Bits &= ~FE.Value;
222 ClearImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize);
230 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature, argument
238 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) {
239 Bits &= ~FeatureEntry->Value;
242 ClearImpliedBits(Bits, FeatureEntr
279 uint64_t Bits = 0; // Resulting bits local
[all...]
/external/valgrind/none/tests/x86-linux/
H A Dseg_override.c33 } Bits; member in union:_LDT_ENTRY::__anon23800
41 (unsigned long)ent->HighWord.Bits.BaseMid << 16 |
42 (unsigned long)ent->HighWord.Bits.BaseHi << 24);
46 unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16);
47 if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;
/external/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h39 // Bits in BytesUsed[I] are 1 if matching bit in Bytes[I] is used, 0 if not.
105 VTableBits *Bits; member in struct:llvm::wholeprogramdevirt::TypeMemberInfo
111 return Bits < other.Bits || (Bits == other.Bits && Offset < other.Offset);
148 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; }
153 return minBeforeBytes() + TM->Bits->Before.Bytes.size();
159 return minAfterBytes() + TM->Bits->After.Bytes.size();
165 TM->Bits
[all...]
/external/v8/src/s390/
H A Dconstants-s390.h557 LLGT = 0xE317, // Load Logical Thirty One Bits
558 LLGTAT = 0xE39C, // Load Logical Thirty One Bits And Trap (64<-31)
559 LLGTR = 0xB917, // Load Logical Thirty One Bits
731 RISBG = 0xEC55, // Rotate Then Insert Selected Bits
732 RISBGN = 0xEC59, // Rotate Then Insert Selected Bits
733 RISBHG = 0xEC5D, // Rotate Then Insert Selected Bits High
734 RISBLG = 0xEC51, // Rotate Then Insert Selected Bits Low
737 RNSBG = 0xEC54, // Rotate Then And Selected Bits
738 ROSBG = 0xEC56, // Rotate Then Or Selected Bits
742 RXSBG = 0xEC57, // Rotate Then Exclusive Or Selected Bits
1117 inline int Bits(int hi, int lo) const { function in class:v8::internal::Instruction
1123 inline U Bits(int hi, int lo) const { function in class:v8::internal::Instruction
1147 static inline int Bits(Instr instr, int hi, int lo) { function in class:v8::internal::Instruction
[all...]

Completed in 1098 milliseconds

123456789