Home
last modified time | relevance | path

Searched refs:MBBSectionID (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/lib/CodeGen/
DBasicBlockSections.cpp238 Optional<MBBSectionID> EHPadsSectionID; in assignSections()
256 MBB.setSectionID(MBBSectionID::ColdSectionID); in assignSections()
260 EHPadsSectionID != MBBSectionID::ExceptionSectionID) { in assignSections()
265 ? MBBSectionID::ExceptionSectionID in assignSections()
272 if (EHPadsSectionID == MBBSectionID::ExceptionSectionID) in assignSections()
349 auto MBBSectionOrder = [EntryBBSectionID](const MBBSectionID &LHS, in runOnMachineFunction()
350 const MBBSectionID &RHS) { in runOnMachineFunction()
370 if (XSectionID.Type == MBBSectionID::SectionType::Default) in runOnMachineFunction()
DMachineBasicBlock.cpp69 if (SectionID == MBBSectionID::ColdSectionID) { in getSymbol()
71 } else if (SectionID == MBBSectionID::ExceptionSectionID) { in getSymbol()
516 if (getSectionID() != MBBSectionID(0)) { in printName()
520 case MBBSectionID::SectionType::Exception: in printName()
523 case MBBSectionID::SectionType::Cold: in printName()
1576 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
1577 const MBBSectionID
1578 MBBSectionID::ExceptionSectionID(MBBSectionID::SectionType::Exception);
DMachineFunctionSplitter.cpp131 MBB.setSectionID(MBBSectionID::ColdSectionID); in runOnMachineFunction()
DTargetLoweringObjectFileImpl.cpp918 if (MBB.getSectionID() == MBBSectionID::ColdSectionID) { in getSectionForMachineBasicBlock()
921 } else if (MBB.getSectionID() == MBBSectionID::ExceptionSectionID) { in getSectionForMachineBasicBlock()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h52 struct MBBSectionID { struct
61 MBBSectionID(unsigned N) : Type(Default), Number(N) {} in MBBSectionID() argument
64 const static MBBSectionID ColdSectionID; argument
65 const static MBBSectionID ExceptionSectionID; argument
67 bool operator==(const MBBSectionID &Other) const {
71 bool operator!=(const MBBSectionID &Other) const { return !(*this == Other); }
75 MBBSectionID(SectionType T) : Type(T), Number(0) {} in MBBSectionID() argument
163 MBBSectionID SectionID{0};
471 MBBSectionID getSectionID() const { return SectionID; }
475 return ((unsigned)MBBSectionID::SectionType::Cold) -
[all …]
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp498 bool parseSectionID(Optional<MBBSectionID> &SID);
624 bool MIParser::parseSectionID(Optional<MBBSectionID> &SID) { in parseSectionID()
631 SID = MBBSectionID{Value}; in parseSectionID()
635 SID = MBBSectionID::ExceptionSectionID; in parseSectionID()
637 SID = MBBSectionID::ColdSectionID; in parseSectionID()
657 Optional<MBBSectionID> SectionID; in parseBasicBlockDefinition()