Home
last modified time | relevance | path

Searched refs:getSectionID (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Object/
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() function
31 return M->getSectionID(Sec); in getSectionID()
36 return cast<COFFObjectFile>(O).getSectionID(Sec); in getSectionID()
79 {O.symbol_end(), Address + Size, 0, getSectionID(O, Sec)}); in computeSymbolSizes()
H A DCOFFObjectFile.cpp342 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID() function in COFFObjectFile
H A DMachOObjectFile.cpp2099 unsigned MachOObjectFile::getSectionID(SectionRef Sec) const { in getSectionID() function in MachOObjectFile
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp232 if (MBB.isEHPad() && EHPadsSectionID != MBB.getSectionID() && in assignSections()
238 : MBB.getSectionID(); in assignSections()
344 auto EntryBBSectionID = MF.front().getSectionID(); in runOnMachineFunction()
367 auto XSectionID = X.getSectionID(); in runOnMachineFunction()
368 auto YSectionID = Y.getSectionID(); in runOnMachineFunction()
H A DMachineFunctionSplitter.cpp146 return X.getSectionID().Type < Y.getSectionID().Type; in runOnMachineFunction()
H A DMachineFunction.cpp361 auto CurrentSectionID = front().getSectionID(); in assignBeginEndSections()
363 if (MBBI->getSectionID() == CurrentSectionID) in assignBeginEndSections()
367 CurrentSectionID = MBBI->getSectionID(); in assignBeginEndSections()
H A DMachineBasicBlock.cpp531 if (getSectionID() != MBBSectionID(0)) { in printName()
534 switch (getSectionID().Type) { in printName()
542 os << getSectionID().Number; in printName()
H A DTargetLoweringObjectFileImpl.cpp1013 if (MBB.getSectionID() == MBBSectionID::ColdSectionID) { in getSectionForMachineBasicBlock()
1016 } else if (MBB.getSectionID() == MBBSectionID::ExceptionSectionID) { in getSectionForMachineBasicBlock()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h224 unsigned getSectionID() const { return SectionID; } in getSectionID() function
495 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress()
497 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
504 return GSTItr->second.getSectionID(); in getSymbolSectionID()
515 if (SymEntry.getSectionID() != AbsoluteSymbolSection) in getSymbol()
516 SectionAddr = getSectionLoadAddress(SymEntry.getSectionID()); in getSymbol()
531 auto SectionID = KV.second.getSectionID(); in getSymbolTable()
H A DRuntimeDyld.cpp415 if (GSTEntry.getSectionID() == VR.SectionID && in loadObjectImpl()
970 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
1137 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations()
H A DRuntimeDyldMachO.cpp119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
H A DRuntimeDyldELF.cpp1137 uint64_t(Sections[SymInfo.getSectionID()].getLoadAddressWithOffset( in resolveAArch64ShortBranch()
1254 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOX86_64.h185 SectionBID = SubtrahendI->second.getSectionID(); in processSubtractRelocation()
211 SectionAID = MinuendI->second.getSectionID(); in processSubtractRelocation()
H A DRuntimeDyldMachOAArch64.h497 unsigned SectionBID = SubtrahendI->second.getSectionID(); in processSubtractRelocation()
507 unsigned SectionAID = MinuendI->second.getSectionID(); in processSubtractRelocation()
H A DRuntimeDyldMachOARM.h55 Sections[Entry.getSectionID()].getObjAddress() + Entry.getOffset(); in isAddrTargetThumb()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp398 RTDyld->reassignSectionAddress(Section->getSectionID(), in mapInstrumentationSection()
419 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), in mapCodeSections()
441 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), Addr); in mapCodeSections()
H A DRewriteInstance.cpp3600 RTDyld.reassignSectionAddress(FunctionSection->getSectionID(), in mapCodeSections()
3669 RTDyld.reassignSectionAddress(Section->getSectionID(), in mapCodeSections()
3700 RTDyld.reassignSectionAddress(FuncSection->getSectionID(), in mapCodeSections()
3719 RTDyld.reassignSectionAddress(Section.getSectionID(), JT->getAddress()); in mapCodeSections()
3750 RTDyld.reassignSectionAddress(ColdSection->getSectionID(), in mapCodeSections()
3802 RTDyld.reassignSectionAddress(Section->getSectionID(), in mapDataSections()
3836 RTDyld.reassignSectionAddress(OrgSection->getSectionID(), in mapDataSections()
3859 RTDyld.reassignSectionAddress(Section.getSectionID(), in mapExtraSections()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h597 MBBSectionID getSectionID() const { return SectionID; }
639 return getSectionID() == MBB->getSectionID();
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinarySection.h404 unsigned getSectionID() const { in getSectionID() function
/llvm-project-15.0.7/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp231 DstMBB->setSectionID(SrcMBB.getSectionID()); in cloneMF()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h414 unsigned getSectionID(SectionRef Sec) const;
H A DCOFF.h983 unsigned getSectionID(SectionRef Sec) const;
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp999 W.printNumber("Section", SectionName, Obj->getSectionID(Section)); in printCodeViewSymbolSection()
1339 W.printNumber("Section", SectionName, Obj->getSectionID(Section)); in printCodeViewTypeSection()