Home
last modified time | relevance | path

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

/llvm-project-15.0.7/bolt/lib/Profile/
H A DHeatmap.cpp268 unsigned TextSectionIndex = 0; in printSectionHotness() local
287 while (TextSectionIndex < TextSections.size() && in printSectionHotness()
288 Address >= TextSections[TextSectionIndex].EndAddress) in printSectionHotness()
289 TextSectionIndex++; in printSectionHotness()
290 if (TextSectionIndex >= TextSections.size() || in printSectionHotness()
291 Address + BucketSize < TextSections[TextSectionIndex].BeginAddress) { in printSectionHotness()
295 SectionHotness[TextSections[TextSectionIndex].Name] += KV.second; in printSectionHotness()
/llvm-project-15.0.7/llvm/lib/Object/
H A DELFObjectFile.cpp678 Optional<unsigned> TextSectionIndex) { in readBBAddrMapImpl() argument
686 if (TextSectionIndex) { in readBBAddrMapImpl()
692 if (*TextSectionIndex != std::distance(Sections.begin(), *TextSecOrErr)) in readBBAddrMapImpl()
775 ELFObjectFileBase::readBBAddrMap(Optional<unsigned> TextSectionIndex) const { in readBBAddrMap()
777 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex); in readBBAddrMap()
779 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex); in readBBAddrMap()
781 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex); in readBBAddrMap()
783 return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex); in readBBAddrMap()
/llvm-project-15.0.7/llvm/unittests/Object/
H A DELFObjectFileTest.cpp675 Optional<unsigned> TextSectionIndex, in TEST()
685 auto BBAddrMaps = ElfOrErr->readBBAddrMap(TextSectionIndex); in TEST()
691 Optional<unsigned> TextSectionIndex, in TEST() argument
701 EXPECT_THAT_ERROR(ElfOrErr->readBBAddrMap(TextSectionIndex).takeError(), in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFObjectFile.h110 readBBAddrMap(Optional<unsigned> TextSectionIndex = None) const;