LLVM  15.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 54 of file SampleProfileLoaderBaseImpl.h.

Member Typedef Documentation

◆ BasicBlockT

Definition at line 56 of file SampleProfileLoaderBaseImpl.h.

◆ BlockFrequencyInfoT

Definition at line 58 of file SampleProfileLoaderBaseImpl.h.

◆ DominatorTreePtrT

Definition at line 61 of file SampleProfileLoaderBaseImpl.h.

◆ FunctionT

Definition at line 57 of file SampleProfileLoaderBaseImpl.h.

◆ InstructionT

Definition at line 55 of file SampleProfileLoaderBaseImpl.h.

◆ LoopInfoPtrT

Definition at line 60 of file SampleProfileLoaderBaseImpl.h.

◆ LoopT

Definition at line 59 of file SampleProfileLoaderBaseImpl.h.

◆ OptRemarkAnalysisT

Definition at line 65 of file SampleProfileLoaderBaseImpl.h.

◆ OptRemarkEmitterT

Definition at line 64 of file SampleProfileLoaderBaseImpl.h.

◆ PostDominatorTreePtrT

Definition at line 63 of file SampleProfileLoaderBaseImpl.h.

◆ PostDominatorTreeT

Definition at line 62 of file SampleProfileLoaderBaseImpl.h.

◆ PredRangeT

Definition at line 66 of file SampleProfileLoaderBaseImpl.h.

◆ SuccRangeT

Definition at line 67 of file SampleProfileLoaderBaseImpl.h.

Member Function Documentation

◆ getEntryBB()

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

Definition at line 69 of file SampleProfileLoaderBaseImpl.h.

References F.

◆ getFunction()

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

Definition at line 68 of file SampleProfileLoaderBaseImpl.h.

References F.

◆ getPredecessors()

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

Definition at line 72 of file SampleProfileLoaderBaseImpl.h.

References BB, and llvm::predecessors().

◆ getSuccessors()

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

Definition at line 73 of file SampleProfileLoaderBaseImpl.h.

References BB, and llvm::successors().


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