Home
last modified time | relevance | path

Searched refs:NumEntries (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Analysis/
DProfileInfoLoader.cpp45 unsigned NumEntries; in ReadProfilingBlock() local
46 if (fread(&NumEntries, sizeof(unsigned), 1, F) != 1) { in ReadProfilingBlock()
51 NumEntries = ByteSwap(NumEntries, ShouldByteSwap); in ReadProfilingBlock()
54 std::vector<unsigned> TempSpace(NumEntries); in ReadProfilingBlock()
57 if (fread(&TempSpace[0], sizeof(unsigned)*NumEntries, 1, F) != 1) { in ReadProfilingBlock()
65 if (Data.size() < NumEntries) in ReadProfilingBlock()
66 Data.resize(NumEntries, ProfileInfoLoader::Uncounted); in ReadProfilingBlock()
70 for (unsigned i = 0; i != NumEntries; ++i) { in ReadProfilingBlock()
74 for (unsigned i = 0; i != NumEntries; ++i) { in ReadProfilingBlock()
DProfileDataLoader.cpp66 T *Data, size_t NumEntries) { in ReadProfilingData() argument
68 if (fread(Data, sizeof(T), NumEntries, F) != NumEntries) in ReadProfilingData()
87 unsigned NumEntries = ReadProfilingNumEntries(ToolName, F, ShouldByteSwap); in ReadProfilingBlock() local
90 SmallVector<unsigned, 8> TempSpace(NumEntries); in ReadProfilingBlock()
91 ReadProfilingData<unsigned>(ToolName, F, TempSpace.data(), NumEntries); in ReadProfilingBlock()
94 if (Data.size() < NumEntries) in ReadProfilingBlock()
95 Data.resize(NumEntries, ProfileDataLoader::Uncounted); in ReadProfilingBlock()
98 for (unsigned i = 0; i < NumEntries; ++i) { in ReadProfilingBlock()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineWorklist.h53 void AddInitialGroup(Instruction *const *List, unsigned NumEntries) { in AddInitialGroup() argument
55 Worklist.reserve(NumEntries+16); in AddInitialGroup()
56 WorklistMap.resize(NumEntries); in AddInitialGroup()
57 DEBUG(errs() << "IC: ADDING: " << NumEntries << " instrs to worklist\n"); in AddInitialGroup()
58 for (unsigned Idx = 0; NumEntries; --NumEntries) { in AddInitialGroup()
59 Instruction *I = List[NumEntries-1]; in AddInitialGroup()
/external/clang/include/clang/Basic/
DOnDiskHashTable.h116 unsigned NumEntries; variable
178 ++NumEntries; in insert()
179 if (4*NumEntries >= 3*NumBuckets) resize(NumBuckets*2); in insert()
219 Emit32(out, NumEntries); in Emit()
226 NumEntries = 0; in OnDiskChainedHashTableGenerator()
241 const unsigned NumEntries; variable
255 : NumBuckets(numBuckets), NumEntries(numEntries), in NumBuckets()
262 unsigned getNumEntries() const { return NumEntries; } in getNumEntries()
266 bool isEmpty() const { return NumEntries == 0; } in isEmpty()
346 key_iterator(const unsigned char* const Ptr, unsigned NumEntries, in key_iterator() argument
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.h114 getCalleeSavedSpillSlots(unsigned &NumEntries) const { in getCalleeSavedSpillSlots() argument
116 NumEntries = 1; in getCalleeSavedSpillSlots()
128 NumEntries = 0; in getCalleeSavedSpillSlots()
308 NumEntries = array_lengthof(Offsets64); in getCalleeSavedSpillSlots()
312 NumEntries = array_lengthof(Offsets); in getCalleeSavedSpillSlots()
/external/llvm/include/llvm/ADT/
DDenseMap.h524 unsigned NumEntries; variable
558 std::swap(NumEntries, RHS.NumEntries); in swap()
584 NumEntries = 0; in copyFrom()
593 NumEntries = 0; in init()
616 unsigned OldNumEntries = NumEntries; in shrink_and_clear()
634 return NumEntries; in getNumEntries()
637 NumEntries = Num; in setNumEntries()
680 unsigned NumEntries : 31; variable
721 unsigned TmpNumEntries = RHS.NumEntries; in swap()
722 RHS.NumEntries = NumEntries; in swap()
[all …]
/external/llvm/lib/Target/CellSPU/
DSPUTargetMachine.cpp29 SPUFrameLowering::getCalleeSaveSpillSlots(unsigned &NumEntries) const { in getCalleeSaveSpillSlots()
30 NumEntries = 1; in getCalleeSaveSpillSlots()
DSPUFrameLowering.h51 getCalleeSaveSpillSlots(unsigned &NumEntries) const;
/external/llvm/include/llvm/Target/
DTargetFrameLowering.h95 getCalleeSavedSpillSlots(unsigned &NumEntries) const { in getCalleeSavedSpillSlots() argument
96 NumEntries = 0; in getCalleeSavedSpillSlots()
/external/clang/utils/
DclangVisualizers.txt224 #if ($e.NumEntries == 0) ( "empty" )
227 "[NumEntries=", $e.NumEntries,
235 #if ($e.NumEntries == 0) ( #array(expr: 0, size: 0) )
239 #(NumEntries : $e.NumEntries),
/external/jhead/
Dexif.c1311 unsigned short NumEntries; in create_EXIF_internal() local
1330 NumEntries = 1 + exifTagCount; // the extra is the thumbnail in create_EXIF_internal()
1332 ++NumEntries; // allow for the GPS info tag in create_EXIF_internal()
1337 ++NumEntries; in create_EXIF_internal()
1339 DataWriteIndex += 2 + NumEntries*12 + 4; in create_EXIF_internal()
1341 Put16u(Buffer+DirIndex, NumEntries); // Number of entries in create_EXIF_internal()
1428 NumEntries = gpsTagCount; in create_EXIF_internal()
1429 DataWriteIndex += 2 + NumEntries*12 + 4; in create_EXIF_internal()
1431 Put16u(Buffer+DirIndex, NumEntries); // Number of entries in create_EXIF_internal()
1468 NumEntries = 2; in create_EXIF_internal()
[all …]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp222 size_t NumEntries, in op_write_debug_line_info() argument
228 return WriteDebugLineInfoFunc(Agent, Code, NumEntries, Info); in op_write_debug_line_info()
/external/clang/lib/Lex/
DHeaderMap.cpp49 uint32_t NumEntries; // Number of entries in the string table. member
187 getEndianAdjustedWord(Hdr.NumEntries)); in dump()
/external/icu4c/common/
Ducmndata.h95 NumEntriesFn NumEntries; member
/external/llvm/lib/ExecutionEngine/JIT/
DJITEmitter.cpp1103 unsigned NumEntries = 0; in initJumpTableInfo() local
1105 NumEntries += JT[i].MBBs.size(); in initJumpTableInfo()
1113 JumpTableBase = allocateSpace(NumEntries * EntrySize, in initJumpTableInfo()
/external/llvm/lib/Target/ARM/
DARMExpandPseudoInsts.cpp327 const unsigned NumEntries = array_lengthof(NEONLdStTable); in LookupNEONLdSt() local
333 for (unsigned i = 0; i != NumEntries-1; ++i) in LookupNEONLdSt()
341 std::lower_bound(NEONLdStTable, NEONLdStTable + NumEntries, Opcode); in LookupNEONLdSt()
342 if (I != NEONLdStTable + NumEntries && I->PseudoOpc == Opcode) in LookupNEONLdSt()
DARMBaseInstrInfo.cpp621 unsigned NumEntries = getNumJTEntries(JT, JTI); in GetInstSizeInBytes() local
622 if (Opc == ARM::t2TBB_JT && (NumEntries & 1)) in GetInstSizeInBytes()
626 ++NumEntries; in GetInstSizeInBytes()
627 return NumEntries * EntrySize + InstSize; in GetInstSizeInBytes()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp341 unsigned NumEntries = MJTI->getJumpTables()[JTI].MBBs.size(); in LowerBR_JT() local
342 if (NumEntries <= 32) { in LowerBR_JT()
345 assert((NumEntries >> 31) == 0); in LowerBR_JT()
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp588 static bool TableIsSorted(const TableEntry *Table, unsigned NumEntries) { in TableIsSorted() argument
589 for (unsigned i = 0; i != NumEntries-1; ++i) in TableIsSorted()
/external/clang/lib/Serialization/
DASTReader.cpp824 unsigned NumEntries = Record[Idx++]; in ParseLineTable() local
825 assert(NumEntries && "Numentries is 00000"); in ParseLineTable()
827 Entries.reserve(NumEntries); in ParseLineTable()
828 for (unsigned I = 0; I != NumEntries; ++I) { in ParseLineTable()