LLVM 22.0.0git
MachineBranchProbabilityInfo.cpp File Reference

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  )

References INITIALIZE_PASS_END.

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.