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

#include "llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h"

Public Types

using InstructionT = Instruction
 
using BasicBlockT = BasicBlock
 
using FunctionT = Function
 
using BlockFrequencyInfoT = BlockFrequencyInfo
 
using LoopT = Loop
 
using LoopInfoPtrT = std::unique_ptr< LoopInfo >
 
using DominatorTreePtrT = std::unique_ptr< DominatorTree >
 
using PostDominatorTreeT = PostDominatorTree
 
using PostDominatorTreePtrT = std::unique_ptr< PostDominatorTree >
 
using OptRemarkEmitterT = OptimizationRemarkEmitter
 
using OptRemarkAnalysisT = OptimizationRemarkAnalysis
 
using PredRangeT = pred_range
 
using SuccRangeT = succ_range
 

Static Public Member Functions

static FunctiongetFunction (Function &F)
 
static const BasicBlockgetEntryBB (const Function *F)
 
static pred_range getPredecessors (BasicBlock *BB)
 
static succ_range getSuccessors (BasicBlock *BB)
 

Detailed Description

Definition at line 61 of file SampleProfileLoaderBaseImpl.h.

Member Typedef Documentation

◆ BasicBlockT

Definition at line 63 of file SampleProfileLoaderBaseImpl.h.

◆ BlockFrequencyInfoT

Definition at line 65 of file SampleProfileLoaderBaseImpl.h.

◆ DominatorTreePtrT

using llvm::afdo_detail::IRTraits< BasicBlock >::DominatorTreePtrT = std::unique_ptr<DominatorTree>

Definition at line 68 of file SampleProfileLoaderBaseImpl.h.

◆ FunctionT

Definition at line 64 of file SampleProfileLoaderBaseImpl.h.

◆ InstructionT

Definition at line 62 of file SampleProfileLoaderBaseImpl.h.

◆ LoopInfoPtrT

using llvm::afdo_detail::IRTraits< BasicBlock >::LoopInfoPtrT = std::unique_ptr<LoopInfo>

Definition at line 67 of file SampleProfileLoaderBaseImpl.h.

◆ LoopT

Definition at line 66 of file SampleProfileLoaderBaseImpl.h.

◆ OptRemarkAnalysisT

Definition at line 72 of file SampleProfileLoaderBaseImpl.h.

◆ OptRemarkEmitterT

Definition at line 71 of file SampleProfileLoaderBaseImpl.h.

◆ PostDominatorTreePtrT

using llvm::afdo_detail::IRTraits< BasicBlock >::PostDominatorTreePtrT = std::unique_ptr<PostDominatorTree>

Definition at line 70 of file SampleProfileLoaderBaseImpl.h.

◆ PostDominatorTreeT

Definition at line 69 of file SampleProfileLoaderBaseImpl.h.

◆ PredRangeT

Definition at line 73 of file SampleProfileLoaderBaseImpl.h.

◆ SuccRangeT

Definition at line 74 of file SampleProfileLoaderBaseImpl.h.

Member Function Documentation

◆ getEntryBB()

static const BasicBlock * llvm::afdo_detail::IRTraits< BasicBlock >::getEntryBB ( const Function F)
inlinestatic

Definition at line 76 of file SampleProfileLoaderBaseImpl.h.

References F.

◆ getFunction()

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

Definition at line 75 of file SampleProfileLoaderBaseImpl.h.

References F.

◆ getPredecessors()

static pred_range llvm::afdo_detail::IRTraits< BasicBlock >::getPredecessors ( BasicBlock BB)
inlinestatic

Definition at line 79 of file SampleProfileLoaderBaseImpl.h.

References llvm::predecessors().

◆ getSuccessors()

static succ_range llvm::afdo_detail::IRTraits< BasicBlock >::getSuccessors ( BasicBlock BB)
inlinestatic

Definition at line 80 of file SampleProfileLoaderBaseImpl.h.

References llvm::successors().


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