Home
last modified time | relevance | path

Searched refs:IndexEntries (Results 1 – 4 of 4) sorted by relevance

/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp266 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries, in writeIndexTable() argument
268 for (const auto &E : IndexEntries) in writeIndexTable()
277 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries) { in writeIndex() argument
278 if (IndexEntries.empty()) in writeIndex()
286 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2)); in writeIndex()
289 for (const auto &P : IndexEntries) { in writeIndex()
294 assert(S != IndexEntries.begin()[Buckets[H] - 1].first && in writeIndex()
305 Out.EmitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
310 Out.EmitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
322 writeIndexTable(Out, ContributionOffsets, IndexEntries, in writeIndex()
[all …]
/external/llvm-project/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp316 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries, in writeIndexTable() argument
318 for (const auto &E : IndexEntries) in writeIndexTable()
327 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries) { in writeIndex() argument
328 if (IndexEntries.empty()) in writeIndex()
336 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2)); in writeIndex()
339 for (const auto &P : IndexEntries) { in writeIndex()
344 assert(S != IndexEntries.begin()[Buckets[H] - 1].first && in writeIndex()
355 Out.emitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
360 Out.emitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
372 writeIndexTable(Out, ContributionOffsets, IndexEntries, in writeIndex()
[all …]
/external/llvm/tools/llvm-objdump/
DMachODump.cpp7290 SmallVector<IndexEntry, 4> IndexEntries; in printMachOUnwindInfoSection() local
7300 IndexEntries.push_back(Entry); in printMachOUnwindInfoSection()
7318 Pos = Contents.data() + IndexEntries[0].LSDAStart; in printMachOUnwindInfoSection()
7319 int NumLSDAs = (IndexEntries.back().LSDAStart - IndexEntries[0].LSDAStart) / in printMachOUnwindInfoSection()
7339 for (unsigned i = 0; i < IndexEntries.size() - 1; ++i) { in printMachOUnwindInfoSection()
7341 if (IndexEntries[i].SecondLevelPageStart == 0) in printMachOUnwindInfoSection()
7346 << format("0x%08" PRIx32, IndexEntries[i].SecondLevelPageStart) in printMachOUnwindInfoSection()
7349 << format("0x%08" PRIx32, IndexEntries[i].FunctionOffset) << '\n'; in printMachOUnwindInfoSection()
7351 Pos = Contents.data() + IndexEntries[i].SecondLevelPageStart; in printMachOUnwindInfoSection()
7356 printCompressedSecondLevelUnwindPage(Pos, IndexEntries[i].FunctionOffset, in printMachOUnwindInfoSection()
/external/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp8142 SmallVector<IndexEntry, 4> IndexEntries; in printMachOUnwindInfoSection() local
8152 IndexEntries.push_back(Entry); in printMachOUnwindInfoSection()
8170 Pos = IndexEntries[0].LSDAStart; in printMachOUnwindInfoSection()
8173 (IndexEntries.back().LSDAStart - IndexEntries[0].LSDAStart) / LSDASize; in printMachOUnwindInfoSection()
8193 for (unsigned i = 0; i < IndexEntries.size() - 1; ++i) { in printMachOUnwindInfoSection()
8195 if (IndexEntries[i].SecondLevelPageStart == 0) in printMachOUnwindInfoSection()
8200 << format("0x%08" PRIx32, IndexEntries[i].SecondLevelPageStart) in printMachOUnwindInfoSection()
8203 << format("0x%08" PRIx32, IndexEntries[i].FunctionOffset) << '\n'; in printMachOUnwindInfoSection()
8205 Pos = IndexEntries[i].SecondLevelPageStart; in printMachOUnwindInfoSection()
8217 IndexEntries[i].FunctionOffset, in printMachOUnwindInfoSection()