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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp277 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries, in writeIndexTable() argument
279 for (const auto &E : IndexEntries) in writeIndexTable()
288 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries) { in writeIndex() argument
289 if (IndexEntries.empty()) in writeIndex()
297 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2)); in writeIndex()
300 for (const auto &P : IndexEntries) { in writeIndex()
305 assert(S != IndexEntries.begin()[Buckets[H] - 1].first && in writeIndex()
316 Out.EmitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
321 Out.EmitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
333 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp7675 SmallVector<IndexEntry, 4> IndexEntries; in printMachOUnwindInfoSection() local
7685 IndexEntries.push_back(Entry); in printMachOUnwindInfoSection()
7703 Pos = IndexEntries[0].LSDAStart; in printMachOUnwindInfoSection()
7706 (IndexEntries.back().LSDAStart - IndexEntries[0].LSDAStart) / LSDASize; in printMachOUnwindInfoSection()
7726 for (unsigned i = 0; i < IndexEntries.size() - 1; ++i) { in printMachOUnwindInfoSection()
7728 if (IndexEntries[i].SecondLevelPageStart == 0) in printMachOUnwindInfoSection()
7733 << format("0x%08" PRIx32, IndexEntries[i].SecondLevelPageStart) in printMachOUnwindInfoSection()
7736 << format("0x%08" PRIx32, IndexEntries[i].FunctionOffset) << '\n'; in printMachOUnwindInfoSection()
7738 Pos = IndexEntries[i].SecondLevelPageStart; in printMachOUnwindInfoSection()
7750 IndexEntries[i].FunctionOffset, in printMachOUnwindInfoSection()