LLVM 22.0.0git
PPCBranchCoalescing.cpp File Reference

Coalesce basic blocks guarded by the same branch condition into a single basic block. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppc-branch-coalescing"

Functions

 STATISTIC (NumBlocksCoalesced, "Number of blocks coalesced")
 STATISTIC (NumPHINotMoved, "Number of PHI Nodes that cannot be merged")
 STATISTIC (NumBlocksNotCoalesced, "Number of blocks not coalesced")
 INITIALIZE_PASS_BEGIN (PPCBranchCoalescing, DEBUG_TYPE, "Branch Coalescing", false, false) INITIALIZE_PASS_END(PPCBranchCoalescing

Variables

 DEBUG_TYPE
Branch Coalescing
Branch false

Detailed Description

Coalesce basic blocks guarded by the same branch condition into a single basic block.

Definition in file PPCBranchCoalescing.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppc-branch-coalescing"

Definition at line 30 of file PPCBranchCoalescing.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( PPCBranchCoalescing ,
DEBUG_TYPE ,
"Branch Coalescing" ,
false ,
false  )

◆ STATISTIC() [1/3]

STATISTIC ( NumBlocksCoalesced ,
"Number of blocks coalesced"  )

◆ STATISTIC() [2/3]

STATISTIC ( NumBlocksNotCoalesced ,
"Number of blocks not coalesced"  )

References Cond.

◆ STATISTIC() [3/3]

STATISTIC ( NumPHINotMoved ,
"Number of PHI Nodes that cannot be merged"  )

Variable Documentation

◆ Coalescing

Branch Coalescing

Definition at line 198 of file PPCBranchCoalescing.cpp.

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 198 of file PPCBranchCoalescing.cpp.

◆ false

Branch false

Definition at line 199 of file PPCBranchCoalescing.cpp.