LLVM  14.0.0git
Namespaces | Functions | Variables
MachineBranchProbabilityInfo.cpp File Reference
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/IR/Instructions.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for MachineBranchProbabilityInfo.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 

Functions

 INITIALIZE_PASS_BEGIN (MachineBranchProbabilityInfo, "machine-branch-prob", "Machine Branch Probability Analysis", false, true) INITIALIZE_PASS_END(MachineBranchProbabilityInfo
 
cl::opt< unsigned > llvm::StaticLikelyProb ("static-likely-prob", cl::desc("branch probability threshold in percentage" "to be considered very likely"), cl::init(80), cl::Hidden)
 
cl::opt< unsigned > llvm::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 ( MachineBranchProbabilityInfo  ,
"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.