Searched defs:NumEntries (Results 1 - 24 of 24) sorted by last modified time

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DDenseMap.h85 /// Grow the densemap so that it can contain at least \p NumEntries items
87 void reserve(size_type NumEntries) { argument
88 auto NumBuckets = getMinBucketToReserveForEntries(NumEntries);
106 unsigned NumEntries = getNumEntries(); local
111 --NumEntries;
116 assert(NumEntries == 0 && "Node count imbalance!");
326 /// accommodate \p NumEntries without need to grow().
327 unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { argument
328 // Ensure that "NumEntries * 4 < NumBuckets * 3"
329 if (NumEntries
591 unsigned NumEntries; member in class:llvm::DenseMap
[all...]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DStringMap.cpp23 /// accommodate \p NumEntries without need to grow().
24 static unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { argument
25 // Ensure that "NumEntries * 4 < NumBuckets * 3"
26 if (NumEntries == 0)
29 // For example if NumEntries is 48, we need to return 401.
30 return NextPowerOf2(NumEntries * 4 / 3 + 1);
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DDenseMap.h44 unsigned NumEntries; member in class:llvm::DenseMap
98 bool empty() const { return NumEntries == 0; }
99 unsigned size() const { return NumEntries; }
108 if (NumEntries == 0 && NumTombstones == 0) return;
112 if (NumEntries * 4 < NumBuckets && NumBuckets > 64) {
122 --NumEntries;
127 assert(NumEntries == 0 && "Node count imbalance!");
189 --NumEntries;
197 --NumEntries;
204 std::swap(NumEntries, RH
[all...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DProfileInfoLoader.cpp45 unsigned NumEntries; local
46 if (fread(&NumEntries, sizeof(unsigned), 1, F) != 1) {
51 NumEntries = ByteSwap(NumEntries, ShouldByteSwap);
54 std::vector<unsigned> TempSpace(NumEntries);
57 if (fread(&TempSpace[0], sizeof(unsigned)*NumEntries, 1, F) != 1) {
65 if (Data.size() < NumEntries)
66 Data.resize(NumEntries, ProfileInfoLoader::Uncounted);
70 for (unsigned i = 0; i != NumEntries; ++i) {
74 for (unsigned i = 0; i != NumEntries;
[all...]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
H A DJITEmitter.cpp1116 unsigned NumEntries = 0; local
1118 NumEntries += JT[i].MBBs.size();
1126 JumpTableBase = allocateSpace(NumEntries * EntrySize,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp361 unsigned NumEntries = array_lengthof(NEONLdStTable); local
367 for (unsigned i = 0; i != NumEntries-1; ++i)
375 std::lower_bound(NEONLdStTable, NEONLdStTable + NumEntries, Opcode);
376 if (I != NEONLdStTable + NumEntries && I->PseudoOpc == Opcode)
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
H A DXCoreISelLowering.cpp343 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size(); local
344 if (NumEntries <= 32) {
347 assert((NumEntries >> 31) == 0);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineWorklist.h53 void AddInitialGroup(Instruction *const *List, unsigned NumEntries) { argument
55 Worklist.reserve(NumEntries+16);
56 WorklistMap.resize(NumEntries);
57 DEBUG(errs() << "IC: ADDING: " << NumEntries << " instrs to worklist\n");
58 for (; NumEntries; --NumEntries) {
59 Instruction *I = List[NumEntries-1];
/external/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp143 uint32_t NumEntries; member in struct:CatchableTypeArray
284 CTA.NumEntries =
419 outs() << CTAName << "[NumEntries]: " << CTA.NumEntries << '\n';
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp7149 uint16_t NumEntries = readNext<uint16_t>(Pos); local
7152 for (unsigned i = 0; i < NumEntries; ++i) {
7172 uint16_t NumEntries = readNext<uint16_t>(Pos); local
7180 for (unsigned i = 0; i < NumEntries; ++i) {
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp360 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size(); local
361 if (NumEntries <= 32) {
364 assert((NumEntries >> 31) == 0);
/external/llvm/include/llvm/ADT/
H A DDenseMap.h84 /// Grow the densemap so that it can contain at least \p NumEntries items
86 void reserve(size_type NumEntries) { argument
87 auto NumBuckets = getMinBucketToReserveForEntries(NumEntries);
105 unsigned NumEntries = getNumEntries(); local
110 --NumEntries;
115 assert(NumEntries == 0 && "Node count imbalance!");
311 /// accommodate \p NumEntries without need to grow().
312 unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { argument
313 // Ensure that "NumEntries * 4 < NumBuckets * 3"
314 if (NumEntries
593 unsigned NumEntries; member in class:llvm::DenseMap
[all...]
/external/llvm/include/llvm/Support/
H A DOnDiskHashTable.h76 offset_type NumEntries; member in class:llvm::OnDiskChainedHashTableGenerator
127 ++NumEntries;
128 if (4 * NumEntries >= 3 * NumBuckets)
167 NumEntries <= 2 ? 1 : NextPowerOf2(NumEntries * 4 / 3);
218 LE.write<offset_type>(NumEntries);
226 NumEntries = 0;
276 const typename Info::offset_type NumEntries; member in class:llvm::OnDiskChainedHashTable
289 OnDiskChainedHashTable(offset_type NumBuckets, offset_type NumEntries, argument
293 : NumBuckets(NumBuckets), NumEntries(NumEntrie
309 offset_type NumEntries = local
452 iterator_base(const unsigned char *const Ptr, offset_type NumEntries) argument
492 OnDiskIterableChainedHashTable(offset_type NumBuckets, offset_type NumEntries, const unsigned char *Buckets, const unsigned char *Payload, const unsigned char *Base, const Info &InfoObj = Info()) argument
507 key_iterator(const unsigned char *const Ptr, offset_type NumEntries, Info *InfoObj) argument
553 data_iterator(const unsigned char *const Ptr, offset_type NumEntries, Info *InfoObj) argument
[all...]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp226 size_t NumEntries,
232 return WriteDebugLineInfoFunc(Agent, Code, NumEntries, Info);
224 op_write_debug_line_info( void const* Code, size_t NumEntries, struct debug_line_info const* Info) argument
/external/llvm/lib/Object/
H A DCOFFObjectFile.cpp1398 uint32_t NumEntries = ExportTable->NumberOfNamePointers; local
1400 for (const ulittle16_t *I = Start, *E = Start + NumEntries;
/external/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp247 uint32_t NumEntries = ProfileSummaryBuilder::DefaultCutoffs.size(); local
248 uint32_t SummarySize = Summary::getSize(Summary::NumKinds, NumEntries);
/external/llvm/lib/Support/
H A DStringMap.cpp21 /// accommodate \p NumEntries without need to grow().
22 static unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { argument
23 // Ensure that "NumEntries * 4 < NumBuckets * 3"
24 if (NumEntries == 0)
27 // For example if NumEntries is 48, we need to return 401.
28 return NextPowerOf2(NumEntries * 4 / 3 + 1);
/external/icu/icu4c/source/common/
H A Ducmndata.h97 NumEntriesFn NumEntries; member in struct:__anon7308
/external/giflib/
H A Dquantize.c36 unsigned int NumEntries; /* # of QuantizedColorType in linked list below */ member in struct:NewColorMapType
103 NewColorSubdiv[i].Count = NewColorSubdiv[i].NumEntries = 0;
124 NewColorSubdiv[0].NumEntries = NumOfEntries; /* Different sampled colors */
142 if ((j = NewColorSubdiv[i].NumEntries) > 0) {
202 unsigned int i, j, Index = 0, NumEntries, MinColor, MaxColor; local
212 (NewColorSubdiv[i].NumEntries > 1)) {
229 NewColorSubdiv[Index].NumEntries);
233 j < NewColorSubdiv[Index].NumEntries && QuantizedColor != NULL;
248 qsort(SortArray, NewColorSubdiv[Index].NumEntries,
252 for (j = 0; j < NewColorSubdiv[Index].NumEntries
[all...]
/external/clang/lib/Serialization/
H A DASTReader.cpp1094 unsigned NumEntries = Record[Idx++]; local
1095 assert(NumEntries && "no line entries for file ID");
1097 Entries.reserve(NumEntries);
1098 for (unsigned I = 0; I != NumEntries; ++I) {
H A DMultiOnDiskHashTable.h52 OnDiskTable(file_type File, unsigned NumBuckets, unsigned NumEntries, argument
56 Table(NumBuckets, NumEntries, Buckets, Payload, Base, InfoObj) {}
/external/clang/include/clang/Lex/
H A DHeaderMapTypes.h34 uint32_t NumEntries; // Number of entries in the string table. member in struct:clang::HMapHeader
/external/clang/lib/AST/
H A DMicrosoftMangle.cpp156 bool IsUnaligned, uint32_t NumEntries,
158 void mangleCXXCatchableTypeArray(QualType T, uint32_t NumEntries,
2661 uint32_t NumEntries,
2672 Mangler.getStream() << NumEntries;
2677 QualType T, uint32_t NumEntries, raw_ostream &Out) {
2681 Mangler.getStream() << NumEntries;
2658 mangleCXXThrowInfo(QualType T, bool IsConst, bool IsVolatile, bool IsUnaligned, uint32_t NumEntries, raw_ostream &Out) argument
2676 mangleCXXCatchableTypeArray( QualType T, uint32_t NumEntries, raw_ostream &Out) argument
/external/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp323 unsigned NumEntries = 1 + SrcRD->getNumVBases(); local
324 SmallVector<llvm::Constant *, 4> Map(NumEntries,
688 llvm::StructType *getCatchableTypeArrayType(uint32_t NumEntries) { argument
690 CatchableTypeArrayTypeMap[NumEntries];
695 CTATypeName += llvm::utostr(NumEntries);
699 CGM.IntTy, // NumEntries
700 llvm::ArrayType::get(CTType, NumEntries) // CatchableTypes
4077 uint32_t NumEntries = CatchableTypes.size(); local
4080 llvm::ArrayType *AT = llvm::ArrayType::get(CTType, NumEntries);
4081 llvm::StructType *CTAType = getCatchableTypeArrayType(NumEntries);
4114 uint32_t NumEntries = local
[all...]

Completed in 924 milliseconds