LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::afdo_detail::IRTraits< MachineBasicBlock > Struct Reference

Public Types

using InstructionT = MachineInstr
 
using BasicBlockT = MachineBasicBlock
 
using FunctionT = MachineFunction
 
using BlockFrequencyInfoT = MachineBlockFrequencyInfo
 
using LoopT = MachineLoop
 
using LoopInfoPtrT = MachineLoopInfo *
 
using DominatorTreePtrT = MachineDominatorTree *
 
using PostDominatorTreePtrT = MachinePostDominatorTree *
 
using PostDominatorTreeT = MachinePostDominatorTree
 
using OptRemarkEmitterT = MachineOptimizationRemarkEmitter
 
using OptRemarkAnalysisT = MachineOptimizationRemarkAnalysis
 
using PredRangeT = iterator_range< std::vector< MachineBasicBlock * >::iterator >
 
using SuccRangeT = iterator_range< std::vector< MachineBasicBlock * >::iterator >
 

Static Public Member Functions

static FunctiongetFunction (MachineFunction &F)
 
static const MachineBasicBlockgetEntryBB (const MachineFunction *F)
 
static PredRangeT getPredecessors (MachineBasicBlock *BB)
 
static SuccRangeT getSuccessors (MachineBasicBlock *BB)
 

Detailed Description

Definition at line 117 of file MIRSampleProfile.cpp.

Member Typedef Documentation

◆ BasicBlockT

Definition at line 119 of file MIRSampleProfile.cpp.

◆ BlockFrequencyInfoT

Definition at line 121 of file MIRSampleProfile.cpp.

◆ DominatorTreePtrT

Definition at line 124 of file MIRSampleProfile.cpp.

◆ FunctionT

Definition at line 120 of file MIRSampleProfile.cpp.

◆ InstructionT

Definition at line 118 of file MIRSampleProfile.cpp.

◆ LoopInfoPtrT

Definition at line 123 of file MIRSampleProfile.cpp.

◆ LoopT

Definition at line 122 of file MIRSampleProfile.cpp.

◆ OptRemarkAnalysisT

Definition at line 128 of file MIRSampleProfile.cpp.

◆ OptRemarkEmitterT

Definition at line 127 of file MIRSampleProfile.cpp.

◆ PostDominatorTreePtrT

Definition at line 125 of file MIRSampleProfile.cpp.

◆ PostDominatorTreeT

Definition at line 126 of file MIRSampleProfile.cpp.

◆ PredRangeT

using llvm::afdo_detail::IRTraits< MachineBasicBlock >::PredRangeT = iterator_range<std::vector<MachineBasicBlock *>::iterator>

Definition at line 129 of file MIRSampleProfile.cpp.

◆ SuccRangeT

using llvm::afdo_detail::IRTraits< MachineBasicBlock >::SuccRangeT = iterator_range<std::vector<MachineBasicBlock *>::iterator>

Definition at line 130 of file MIRSampleProfile.cpp.

Member Function Documentation

◆ getEntryBB()

Definition at line 132 of file MIRSampleProfile.cpp.

References F.

◆ getFunction()

static Function & llvm::afdo_detail::IRTraits< MachineBasicBlock >::getFunction ( MachineFunction F)
inlinestatic

Definition at line 131 of file MIRSampleProfile.cpp.

References F.

◆ getPredecessors()

static PredRangeT llvm::afdo_detail::IRTraits< MachineBasicBlock >::getPredecessors ( MachineBasicBlock BB)
inlinestatic

Definition at line 135 of file MIRSampleProfile.cpp.

References llvm::MachineBasicBlock::predecessors().

◆ getSuccessors()

static SuccRangeT llvm::afdo_detail::IRTraits< MachineBasicBlock >::getSuccessors ( MachineBasicBlock BB)
inlinestatic

Definition at line 138 of file MIRSampleProfile.cpp.

References llvm::MachineBasicBlock::successors().


The documentation for this struct was generated from the following file: