LLVM
8.0.1
|
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"
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 |
Coalesce basic blocks guarded by the same branch condition into a single basic block.
Definition in file PPCBranchCoalescing.cpp.
#define DEBUG_TYPE "ppc-branch-coalescing" |
Definition at line 31 of file PPCBranchCoalescing.cpp.
Referenced by llvm::createPPCBranchCoalescingPass().
INITIALIZE_PASS_BEGIN | ( | PPCBranchCoalescing | , |
DEBUG_TYPE | , | ||
"Branch Coalescing" | , | ||
false | , | ||
false | |||
) |
Referenced by llvm::createPPCBranchCoalescingPass().
STATISTIC | ( | NumBlocksCoalesced | , |
"Number of blocks coalesced" | |||
) |
STATISTIC | ( | NumPHINotMoved | , |
"Number of PHI Nodes that cannot be merged" | |||
) |
STATISTIC | ( | NumBlocksNotCoalesced | , |
"Number of blocks not coalesced" | |||
) |
Branch Coalescing |
Definition at line 205 of file PPCBranchCoalescing.cpp.
DEBUG_TYPE |
Definition at line 205 of file PPCBranchCoalescing.cpp.
Branch false |
Definition at line 205 of file PPCBranchCoalescing.cpp.