Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp188 if (MBB.getSectionID() != MBBSectionID::ColdSectionID) in scanFunction()
258 NewBB->setSectionID(OrigMBB.getSectionID()); in createNewBlockAfter()
282 NewBB->setSectionID(OrigBB->getSectionID()); in splitBlockBeforeInstr()
339 SrcBB->getSectionID() != DestBB.getSectionID() in isBlockInRange()
409 if (MBB->getSectionID() != TBB->getSectionID() && in fixupConditionalBranch()
410 TBB->getSectionID() == MBBSectionID::ColdSectionID && in fixupConditionalBranch()
548 MI.getOpcode(), MBB->getSectionID() != DestBB->getSectionID() in fixupUnconditionalBranch()
587 BranchBB->getSectionID() != DestBB->getSectionID() in fixupUnconditionalBranch()
599 if (MBB->getSectionID() == MBBSectionID::ColdSectionID && in fixupUnconditionalBranch()
600 DestBB->getSectionID() != MBBSectionID::ColdSectionID) { in fixupUnconditionalBranch()
[all …]
H A DBasicBlockSections.cpp222 if (MBB.isEHPad() && EHPadsSectionID != MBB.getSectionID() && in assignSections()
228 : MBB.getSectionID(); in assignSections()
333 auto EntryBBSectionID = EntryBB.getSectionID(); in handleBBSections()
358 auto XSectionID = X.getSectionID(); in handleBBSections()
359 auto YSectionID = Y.getSectionID(); in handleBBSections()
H A DMachineFunctionSplitter.cpp102 return X.getSectionID().Type < Y.getSectionID().Type; in finishAdjustingBasicBlocksAndLandingPads()
H A DMachineFunction.cpp385 auto CurrentSectionID = front().getSectionID(); in assignBeginEndSections()
387 if (MBBI->getSectionID() == CurrentSectionID) in assignBeginEndSections()
391 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.cpp1044 if (MBB.getSectionID() == MBBSectionID::ColdSectionID) { in getSectionForMachineBasicBlock()
1047 } else if (MBB.getSectionID() == MBBSectionID::ExceptionSectionID) { in getSectionForMachineBasicBlock()
/src/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
H A DMachOObjectFile.cpp2150 unsigned MachOObjectFile::getSectionID(SectionRef Sec) const { in getSectionID() function in MachOObjectFile
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h224 unsigned getSectionID() const { return SectionID; } in getSectionID() function
505 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress()
507 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
514 return GSTItr->second.getSectionID(); in getSymbolSectionID()
525 if (SymEntry.getSectionID() != AbsoluteSymbolSection) in getSymbol()
526 SectionAddr = getSectionLoadAddress(SymEntry.getSectionID()); in getSymbol()
541 auto SectionID = KV.second.getSectionID(); in getSymbolTable()
H A DRuntimeDyld.cpp419 if (GSTEntry.getSectionID() == VR.SectionID && in loadObjectImpl()
966 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
1132 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations()
H A DRuntimeDyldMachO.cpp119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
H A DRuntimeDyldELF.cpp1142 TargetSectionID = SymInfo.getSectionID(); in resolveAArch64ShortBranch()
1266 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
2352 LLVM_DEBUG(dbgs() << "\tSectionID: " << Symbol.getSectionID() in finalizeLoad()
2357 Symbol.getSectionID(), Symbol.getOffset()); in finalizeLoad()
/src/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()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h681 MBBSectionID getSectionID() const { return SectionID; }
723 return getSectionID() == MBB->getSectionID();
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp256 {Asm->MBBSectionRanges[MBB.getSectionID()].BeginLabel, in computeCallSiteTable()
257 Asm->MBBSectionRanges[MBB.getSectionID()].EndLabel, in computeCallSiteTable()
H A DAsmPrinter.cpp1391 MBBSectionNumBlocks[MBB.getSectionID()] = BBCount; in emitBBAddrMapSection()
1407 OutStreamer->emitULEB128IntValue(MBBSectionNumBlocks[MBB.getSectionID()]); in emitBBAddrMapSection()
1858 assert(!MBBSectionRanges.contains(MBB.getSectionID()) && in emitFunctionBody()
1860 MBBSectionRanges[MBB.getSectionID()] = in emitFunctionBody()
1977 assert(!MBBSectionRanges.contains(MF->front().getSectionID()) && in emitFunctionBody()
1979 MBBSectionRanges[MF->front().getSectionID()] = in emitFunctionBody()
2545 auto Res = MBBSectionExceptionSyms.try_emplace(MBB.getSectionID()); in getMBBExceptionSym()
H A DDwarfDebug.cpp1716 EndLabel = Asm->MBBSectionRanges[EndMBB.getSectionID()].EndLabel; in buildLocationList()
2067 PrevInstBB->getSectionID() == MI->getParent()->getSectionID()); in beginInstruction()
H A DDwarfCompileUnit.cpp687 auto MBBSectionRange = Asm->MBBSectionRanges[MBB->getSectionID()]; in attachRangesOrLowHighPC()
/src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp536 W.printNumber("Section", SectionName, getObj().getSectionID(Section)); in traverseTypeSection()
646 W.printNumber("Section", SectionName, getObj().getSectionID(Section)); in traverseSymbolSection()
/src/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h440 unsigned getSectionID(SectionRef Sec) const;
H A DCOFF.h1038 unsigned getSectionID(SectionRef Sec) const;
/src/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1143 W.printNumber("Section", SectionName, Obj->getSectionID(Section)); in printCodeViewSymbolSection()
1484 W.printNumber("Section", SectionName, Obj->getSectionID(Section)); in printCodeViewTypeSection()

12