LLVM 20.0.0git
|
Coalesce basic blocks guarded by the same branch condition into a single basic block. More...
#include "PPC.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/InitializePasses.h"
#include "llvm/Support/Debug.h"
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 |
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 30 of file PPCBranchCoalescing.cpp.
INITIALIZE_PASS_BEGIN | ( | PPCBranchCoalescing | , |
DEBUG_TYPE | , | ||
"Branch Coalescing" | , | ||
false | , | ||
false | |||
) |
STATISTIC | ( | NumBlocksCoalesced | , |
"Number of blocks coalesced" | |||
) |
STATISTIC | ( | NumPHINotMoved | , |
"Number of PHI Nodes that cannot be merged" | |||
) |
Branch Coalescing |
Definition at line 200 of file PPCBranchCoalescing.cpp.
DEBUG_TYPE |
Definition at line 200 of file PPCBranchCoalescing.cpp.
Branch false |
Definition at line 201 of file PPCBranchCoalescing.cpp.