| /freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
| D | BitVector.h | 32 BitWord *Bits; // Actual bits. variable 48 WordRef = &b.Bits[Idx / BITWORD_SIZE]; in reference() 75 Bits = 0; in BitVector() 82 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in Size() 83 init_words(Bits, Capacity, t); in Size() 91 Bits = 0; in BitVector() 97 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in BitVector() 98 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); in BitVector() 103 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) { in BitVector() 104 RHS.Bits = 0; in BitVector() [all …]
|
| 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[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() [all …]
|
| D | SparseBitVector.h | 57 BitWord Bits[BITWORDS_PER_ELEMENT]; member 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[Idx / BITWORD_SIZE] & (1L << (Idx % BITWORD_SIZE)); 127 NumBits += CountPopulation_32(Bits[i]); [all …]
|
| D | SmallBitVector.h | 180 uintptr_t Bits = getSmallBits(); in count() local 182 return CountPopulation_32(Bits); in count() 184 return CountPopulation_64(Bits); in count() 215 uintptr_t Bits = getSmallBits(); in find_first() local 216 if (Bits == 0) in find_first() 219 return countTrailingZeros(Bits); in find_first() 221 return countTrailingZeros(Bits); in find_first() 231 uintptr_t Bits = getSmallBits(); in find_next() local 233 Bits &= ~uintptr_t(0) << (Prev + 1); in find_next() 234 if (Bits == 0 || Prev + 1 >= getSmallSize()) in find_next() [all …]
|
| /freebsd-10-stable/contrib/llvm/lib/Support/ |
| D | FoldingSet.cpp | 57 Bits.append(reinterpret_cast<unsigned *>(&Ptr), in AddPointer() 61 Bits.push_back(I); in AddInteger() 64 Bits.push_back(I); in AddInteger() 84 Bits.push_back(unsigned(I >> 32)); in AddInteger() 89 Bits.push_back(Size); in AddString() 98 Bits.append(Base, Base + Units); in AddString() 110 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.end()); in AddNodeID() [all …]
|
| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/ |
| D | DiagnosticOptions.h | 39 #define DIAGOPT(Name, Bits, Default) unsigned Name : Bits; argument 40 #define ENUM_DIAGOPT(Name, Type, Bits, Default) argument 46 #define DIAGOPT(Name, Bits, Default) argument 47 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits; argument 63 #define DIAGOPT(Name, Bits, Default) argument 64 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \ argument 70 #define DIAGOPT(Name, Bits, Default) Name = Default; in DiagnosticOptions() argument 71 #define ENUM_DIAGOPT(Name, Type, Bits, Default) set##Name(Default); in DiagnosticOptions() argument
|
| D | LangOptions.h | 40 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits; argument 41 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) argument 48 #define LANGOPT(Name, Bits, Default, Description) argument 49 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ argument 50 unsigned Name : Bits; 91 #define LANGOPT(Name, Bits, Default, Description) argument 92 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ argument
|
| D | DiagnosticOptions.def | 24 # define VALUE_DIAGOPT(Name, Bits, Default) \ 25 DIAGOPT(Name, Bits, Default) 29 # define ENUM_DIAGOPT(Name, Type, Bits, Default) \ 30 DIAGOPT(Name, Bits, Default) 34 # define SEMANTIC_DIAGOPT(Name, Bits, Default) DIAGOPT(Name, Bits, Default) 38 # define SEMANTIC_VALUE_DIAGOPT(Name, Bits, Default) \ 39 VALUE_DIAGOPT(Name, Bits, Default) 43 # define SEMANTIC_ENUM_DIAGOPT(Name, Type, Bits, Default) \ 44 ENUM_DIAGOPT(Name, Type, Bits, Default)
|
| D | LangOptions.def | 25 # define VALUE_LANGOPT(Name, Bits, Default, Description) \ 26 LANGOPT(Name, Bits, Default, Description) 30 # define BENIGN_LANGOPT(Name, Bits, Default, Description) \ 31 LANGOPT(Name, Bits, Default, Description) 35 # define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ 36 LANGOPT(Name, Bits, Default, Description) 40 # define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ 41 ENUM_LANGOPT(Name, Type, Bits, Default, Description)
|
| /freebsd-10-stable/contrib/llvm/lib/MC/ |
| D | SubtargetFeature.cpp | 189 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument 198 Bits |= FE.Value; in SetImpliedBits() 199 SetImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in SetImpliedBits() 208 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument 217 Bits &= ~FE.Value; in ClearImpliedBits() 218 ClearImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in ClearImpliedBits() 226 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature, in ToggleFeature() argument 234 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { in ToggleFeature() 235 Bits &= ~FeatureEntry->Value; in ToggleFeature() 238 ClearImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in ToggleFeature() [all …]
|
| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/ |
| D | CodeGenOptions.h | 26 #define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits; argument 27 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) argument 31 #define CODEGENOPT(Name, Bits, Default) argument 32 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits; argument 147 #define CODEGENOPT(Name, Bits, Default) argument 148 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) \ argument 154 #define CODEGENOPT(Name, Bits, Default) Name = Default; in CodeGenOptions() argument 155 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) \ in CodeGenOptions() argument
|
| D | CodeGenOptions.def | 22 # define VALUE_CODEGENOPT(Name, Bits, Default) \ 23 CODEGENOPT(Name, Bits, Default) 27 # define ENUM_CODEGENOPT(Name, Type, Bits, Default) \ 28 CODEGENOPT(Name, Bits, Default)
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/ |
| D | LangOptions.cpp | 20 #define LANGOPT(Name, Bits, Default, Description) Name = Default; in LangOptions() argument 21 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default); in LangOptions() argument 28 #define LANGOPT(Name, Bits, Default, Description) in resetNonModularOptions() argument 29 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default; in resetNonModularOptions() argument 30 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ in resetNonModularOptions() argument
|
| /freebsd-10-stable/contrib/llvm/lib/Target/AArch64/Utils/ |
| D | AArch64BaseInfo.cpp | 787 uint32_t Bits; in fromString() local 792 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2; in fromString() 795 return Bits; in fromString() 799 A64SysReg::SysRegMapper::toString(uint32_t Bits, bool &Valid) const { in toString() argument 801 if (SysRegPairs[i].Value == Bits) { in toString() 808 if (InstPairs[i].Value == Bits) { in toString() 814 uint32_t Op0 = (Bits >> 14) & 0x3; in toString() 815 uint32_t Op1 = (Bits >> 11) & 0x7; in toString() 816 uint32_t CRn = (Bits >> 7) & 0xf; in toString() 817 uint32_t CRm = (Bits >> 3) & 0xf; in toString() [all …]
|
| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/ |
| D | TemplateName.h | 59 struct BitsTag Bits; member 64 Bits.Kind = kind; in UncommonTemplateNameStorage() 65 Bits.Size = size; in UncommonTemplateNameStorage() 69 unsigned size() const { return Bits.Size; } in size() 72 return Bits.Kind == Overloaded in getAsOverloadedStorage() 78 return Bits.Kind == SubstTemplateTemplateParm in getAsSubstTemplateTemplateParm() 84 return Bits.Kind == SubstTemplateTemplateParmPack in getAsSubstTemplateTemplateParmPack()
|
| D | DeclBase.h | 532 unsigned Bits = NextInContextAndBits.getInt(); 534 Bits |= TopLevelDeclInObjCContainerFlag; 536 Bits &= ~TopLevelDeclInObjCContainerFlag; 537 NextInContextAndBits.setInt(Bits); 550 unsigned Bits = NextInContextAndBits.getInt(); 552 Bits |= ModulePrivateFlag; 554 Bits &= ~ModulePrivateFlag; 555 NextInContextAndBits.setInt(Bits);
|
| /freebsd-10-stable/contrib/llvm/lib/Target/AArch64/ |
| D | AArch64BranchFixupPass.cpp | 86 unsigned Bits = Unalign ? Unalign : KnownBits; in internalKnownBits() local 89 if (Size & ((1u << Bits) - 1)) in internalKnownBits() 90 Bits = countTrailingZeros(Size); in internalKnownBits() 91 return Bits; in internalKnownBits() 289 unsigned Bits = 0; in initializeFunctionInfo() local 298 Bits = 14 + 2; in initializeFunctionInfo() 306 Bits = 19 + 2; in initializeFunctionInfo() 309 Bits = 26 + 2; in initializeFunctionInfo() 314 ImmBranches.push_back(ImmBranch(I, Bits, IsCond)); in initializeFunctionInfo()
|
| D | AArch64InstrInfo.cpp | 642 uint64_t Bits = static_cast<uint64_t>(abs64(NumBytes)); in emitRegUpdate() local 644 .addImm(0xffff & Bits).addImm(0) in emitRegUpdate() 647 Bits >>= 16; in emitRegUpdate() 648 if (Bits & 0xffff) { in emitRegUpdate() 651 .addImm(0xffff & Bits).addImm(1) in emitRegUpdate() 655 Bits >>= 16; in emitRegUpdate() 656 if (Bits & 0xffff) { in emitRegUpdate() 659 .addImm(0xffff & Bits).addImm(2) in emitRegUpdate() 663 Bits >>= 16; in emitRegUpdate() 664 if (Bits & 0xffff) { in emitRegUpdate() [all …]
|
| /freebsd-10-stable/contrib/llvm/lib/Target/ARM/ |
| D | ARMConstantIslandPass.cpp | 127 unsigned Bits = Unalign ? Unalign : KnownBits; in internalKnownBits() local 130 if (Size & ((1u << Bits) - 1)) in internalKnownBits() 131 Bits = countTrailingZeros(Size); in internalKnownBits() 132 return Bits; in internalKnownBits() 670 unsigned Bits = 0; in initializeFunctionInfo() local 684 Bits = 24; in initializeFunctionInfo() 690 Bits = 8; in initializeFunctionInfo() 694 Bits = 11; in initializeFunctionInfo() 700 Bits = 20; in initializeFunctionInfo() 704 Bits = 24; in initializeFunctionInfo() [all …]
|
| D | ARMSubtarget.cpp | 250 uint64_t Bits = getFeatureBits(); in resetSubtargetFeatures() local 251 if ((Bits & ARM::ProcA5 || Bits & ARM::ProcA8) && // Where this matters in resetSubtargetFeatures()
|
| /freebsd-10-stable/contrib/llvm/tools/llvm-bcanalyzer/ |
| D | llvm-bcanalyzer.cpp | 470 static void PrintSize(double Bits) { in PrintSize() argument 471 outs() << format("%.2f/%.2fB/%luW", Bits, Bits/8,(unsigned long)(Bits/32)); in PrintSize() 473 static void PrintSize(uint64_t Bits) { in PrintSize() argument 474 outs() << format("%lub/%.2fB/%luW", (unsigned long)Bits, in PrintSize() 475 (double)Bits/8, (unsigned long)(Bits/32)); in PrintSize()
|
| /freebsd-10-stable/contrib/llvm/lib/Target/Sparc/MCTargetDesc/ |
| D | SparcMCCodeEmitter.cpp | 73 unsigned Bits = getBinaryCodeForInstr(MI, Fixups); in EncodeInstruction() local 77 OS << (char)(Bits >> 24); in EncodeInstruction() 78 Bits <<= 8; in EncodeInstruction()
|
| /freebsd-10-stable/contrib/file/magic/Magdir/ |
| D | smile | 12 # Bits 4-7 (4 MSB): 4-bit version number 13 # Bits 3: Reserved
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/ |
| D | FrontendActions.cpp | 340 #define LANGOPT(Name, Bits, Default, Description) \ in ReadLanguageOptions() argument 342 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ in ReadLanguageOptions() argument 345 #define VALUE_LANGOPT(Name, Bits, Default, Description) \ in ReadLanguageOptions() argument 347 #define BENIGN_LANGOPT(Name, Bits, Default, Description) in ReadLanguageOptions() argument 348 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) in ReadLanguageOptions() argument
|
| /freebsd-10-stable/contrib/llvm/lib/TableGen/ |
| D | Record.cpp | 476 ProfileBitsInit(ID, Bits); in Profile() 480 BitsInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange() 481 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() 483 for (unsigned i = 0, e = Bits.size(); i != e; ++i) { in convertInitializerBitRange() 484 if (Bits[i] >= getNumBits()) in convertInitializerBitRange() 486 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange() 524 Init *CurBit = Bits[i]; in resolveReferences() 588 IntInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange() 589 SmallVector<Init *, 16> NewBits(Bits.size()); in convertInitializerBitRange() 591 for (unsigned i = 0, e = Bits.size(); i != e; ++i) { in convertInitializerBitRange() [all …]
|