LLVM 20.0.0git
Namespaces | Functions | Variables
MachineBranchProbabilityInfo.cpp File Reference
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

 INITIALIZE_PASS_BEGIN (MachineBranchProbabilityInfoWrapperPass, "machine-branch-prob", "Machine Branch Probability Analysis", false, true) INITIALIZE_PASS_END(MachineBranchProbabilityInfoWrapperPass
 
cl::opt< unsignedllvm::StaticLikelyProb ("static-likely-prob", cl::desc("branch probability threshold in percentage" "to be considered very likely"), cl::init(80), cl::Hidden)
 
cl::opt< unsignedllvm::ProfileLikelyProb ("profile-likely-prob", cl::desc("branch probability threshold in percentage to be considered" " very likely when profile is available"), cl::init(51), cl::Hidden)
 

Variables

machine branch prob
 
machine branch Machine Branch Probability Analysis
 
machine branch Machine Branch Probability false
 

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( MachineBranchProbabilityInfoWrapperPass  ,
"machine-branch-prob"  ,
"Machine Branch Probability Analysis"  ,
false  ,
true   
)

Variable Documentation

◆ Analysis

machine branch Machine Branch Probability Analysis

Definition at line 26 of file MachineBranchProbabilityInfo.cpp.

◆ false

machine branch Machine Branch Probability false

Definition at line 26 of file MachineBranchProbabilityInfo.cpp.

◆ prob

machine branch prob

Definition at line 25 of file MachineBranchProbabilityInfo.cpp.