Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp200 if (MBB.getSectionID() != MBBSectionID::ColdSectionID) in scanFunction()
276 NewBB->setSectionID(OrigMBB.getSectionID()); in createNewBlockAfter()
300 NewBB->setSectionID(OrigBB->getSectionID()); in splitBlockBeforeInstr()
357 SrcBB->getSectionID() != DestBB.getSectionID() in isBlockInRange()
432 if (MBB->getSectionID() != TBB->getSectionID() && in fixupConditionalBranch()
433 TBB->getSectionID() == MBBSectionID::ColdSectionID && in fixupConditionalBranch()
569 MI.getOpcode(), MBB->getSectionID() != DestBB->getSectionID() in fixupUnconditionalBranch()
608 BranchBB->getSectionID() != DestBB->getSectionID() in fixupUnconditionalBranch()
622 if (MBB->getSectionID() == MBBSectionID::ColdSectionID && in fixupUnconditionalBranch()
623 DestBB->getSectionID() != MBBSectionID::ColdSectionID) { in fixupUnconditionalBranch()
[all …]
H A DBasicBlockSections.cpp225 if (MBB.isEHPad() && EHPadsSectionID != MBB.getSectionID() && in assignSections()
231 : MBB.getSectionID(); in assignSections()
331 auto EntryBBSectionID = EntryBB.getSectionID(); in handleBBSections()
356 auto XSectionID = X.getSectionID(); in handleBBSections()
357 auto YSectionID = Y.getSectionID(); in handleBBSections()
H A DMachineFunctionSplitter.cpp102 return X.getSectionID().Type < Y.getSectionID().Type; in finishAdjustingBasicBlocksAndLandingPads()
H A DCFIFixup.cpp288 InsertionPoint &InsertPt = InsertionPts[CurrBB.getSectionID()]; in fixupBlock()
329 InsertionPts[PrologueBlock->getSectionID()] = {PrologueBlock, PrologueEnd}; in runOnMachineFunction()
H A DMachineFunction.cpp418 auto CurrentSectionID = front().getSectionID(); in assignBeginEndSections()
420 if (MBBI->getSectionID() == CurrentSectionID) in assignBeginEndSections()
424 CurrentSectionID = MBBI->getSectionID(); in assignBeginEndSections()
H A DMachineBasicBlock.cpp559 if (getSectionID() != MBBSectionID(0)) { in printName()
562 switch (getSectionID().Type) { in printName()
570 os << getSectionID().Number; in printName()
H A DTargetLoweringObjectFileImpl.cpp1107 if (MBB.getSectionID() == MBBSectionID::ColdSectionID) { in getSectionForMachineBasicBlock()
1110 } else if (MBB.getSectionID() == MBBSectionID::ExceptionSectionID) { in getSectionForMachineBasicBlock()
/freebsd/contrib/llvm-project/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()
92 {O.symbol_end(), Address + Size, 0, getSectionID(O, Sec)}); in computeSymbolSizes()
H A DCOFFObjectFile.cpp341 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID() function in COFFObjectFile
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h219 unsigned getSectionID() const { return SectionID; } in getSectionID() function
510 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress()
512 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
519 return GSTItr->second.getSectionID(); in getSymbolSectionID()
530 if (SymEntry.getSectionID() != AbsoluteSymbolSection) in getSymbol()
531 SectionAddr = getSectionLoadAddress(SymEntry.getSectionID()); in getSymbol()
546 auto SectionID = KV.second.getSectionID(); in getSymbolTable()
H A DRuntimeDyld.cpp419 if (GSTEntry.getSectionID() == VR.SectionID && in loadObjectImpl()
969 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
1147 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations()
H A DRuntimeDyldMachO.cpp118 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
H A DRuntimeDyldELF.cpp658 uint64_t(Sections[SymInfo.getSectionID()].getLoadAddressWithOffset( in resolveLoongArch64ShortBranch()
1514 TargetSectionID = SymInfo.getSectionID(); in resolveAArch64ShortBranch()
1638 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
2749 LLVM_DEBUG(dbgs() << "\tSectionID: " << Symbol.getSectionID() in finalizeLoad()
2754 Symbol.getSectionID(), Symbol.getOffset()); in finalizeLoad()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h709 MBBSectionID getSectionID() const { return SectionID; }
751 return getSectionID() == MBB->getSectionID();
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp531 W.printNumber("Section", SectionName, getObj().getSectionID(Section)); in traverseTypeSection()
641 W.printNumber("Section", SectionName, getObj().getSectionID(Section)); in traverseSymbolSection()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1467 MBBSectionNumBlocks[MBB.getSectionID()] = BBCount; in emitBBAddrMapSection()
1483 OutStreamer->emitULEB128IntValue(MBBSectionNumBlocks[MBB.getSectionID()]); in emitBBAddrMapSection()
1830 MBBSectionRanges[MF->front().getSectionID()] = in emitFunctionBody()
1992 assert(!MBBSectionRanges.contains(MBB.getSectionID()) && in emitFunctionBody()
1994 MBBSectionRanges[MBB.getSectionID()] = in emitFunctionBody()
2116 MBBSectionRanges[MF->front().getSectionID()].EndLabel = CurrentFnEnd; in emitFunctionBody()
2786 auto Res = MBBSectionExceptionSyms.try_emplace(MBB.getSectionID()); in getMBBExceptionSym()
H A DDwarfDebug.cpp1726 EndLabel = Asm->MBBSectionRanges[EndMBB.getSectionID()].EndLabel; in buildLocationList()
1788 if (Instr->getParent()->getSectionID() == MBBSectionId) { in buildLocationList()
1834 auto RangeIt = Asm->MBBSectionRanges.find(RangeMBB->getSectionID()); in buildLocationList()
2107 PrevInstBB->getSectionID() == MI->getParent()->getSectionID()); in beginInstruction()
H A DEHStreamer.cpp254 auto &Range = Asm->MBBSectionRanges[MBB.getSectionID()]; in computeCallSiteTable()
H A DDwarfCompileUnit.cpp718 auto MBBSectionRange = Asm->MBBSectionRanges[MBB->getSectionID()]; in attachRangesOrLowHighPC()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h445 unsigned getSectionID(SectionRef Sec) const;
H A DCOFF.h1092 unsigned getSectionID(SectionRef Sec) const;
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1188 W.printNumber("Section", SectionName, Obj->getSectionID(Section)); in printCodeViewSymbolSection()
1530 W.printNumber("Section", SectionName, Obj->getSectionID(Section)); in printCodeViewTypeSection()

12