Searched refs:NumEntries (Results 1 - 25 of 40) sorted by last modified time

12

/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/include/llvm/Target/
H A DTargetFrameLowering.h99 getCalleeSavedSpillSlots(unsigned &NumEntries) const {
100 NumEntries = 0;
/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 DARMBaseInstrInfo.cpp611 unsigned NumEntries = getNumJTEntries(JT, JTI);
612 if (Opc == ARM::t2TBB_JT && (NumEntries & 1))
616 ++NumEntries;
617 return NumEntries * EntrySize + InstSize;
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/CellSPU/
H A DSPUFrameLowering.h51 getCalleeSaveSpillSlots(unsigned &NumEntries) const;
H A DSPUTargetMachine.cpp30 SPUFrameLowering::getCalleeSaveSpillSlots(unsigned &NumEntries) const {
31 NumEntries = 1;
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
H A DPPCFrameLowering.h114 getCalleeSavedSpillSlots(unsigned &NumEntries) const {
116 NumEntries = 1;
128 NumEntries = 0;
308 NumEntries = array_lengthof(Offsets64);
312 NumEntries = array_lengthof(Offsets);
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86FloatingPoint.cpp587 static bool TableIsSorted(const TableEntry *Table, unsigned NumEntries) {
588 for (unsigned i = 0; i != NumEntries-1; ++i)
/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/PowerPC/
H A DPPCFrameLowering.cpp93 unsigned &NumEntries) const {
95 NumEntries = 1;
107 NumEntries = 0;
237 NumEntries = array_lengthof(Offsets64);
241 NumEntries = array_lengthof(Offsets);
H A DPPCFrameLowering.h138 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
/external/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp60 SystemZFrameLowering::getCalleeSavedSpillSlots(unsigned &NumEntries) const {
61 NumEntries = array_lengthof(SpillOffsetTable);
H A DSystemZFrameLowering.h28 const SpillSlot *getCalleeSavedSpillSlots(unsigned &NumEntries) const
/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/include/llvm/Target/
H A DTargetFrameLowering.h137 getCalleeSavedSpillSlots(unsigned &NumEntries) const {
138 NumEntries = 0;
/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

Completed in 451 milliseconds

12