LLVM  8.0.1
Namespaces | Macros | Functions | Variables
PPCBranchCoalescing.cpp File Reference

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

#include "PPC.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachinePostDominators.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/Debug.h"
Include dependency graph for PPCBranchCoalescing.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

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")
 
void llvm::initializePPCBranchCoalescingPass (PassRegistry &)
 
 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 31 of file PPCBranchCoalescing.cpp.

Referenced by llvm::createPPCBranchCoalescingPass().

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 ( NumPHINotMoved  ,
"Number of PHI Nodes that cannot be merged"   
)

◆ STATISTIC() [3/3]

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

Variable Documentation

◆ Coalescing

Branch Coalescing

Definition at line 205 of file PPCBranchCoalescing.cpp.

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 205 of file PPCBranchCoalescing.cpp.

◆ false

Branch false

Definition at line 205 of file PPCBranchCoalescing.cpp.