LLVM  8.0.1
Macros | Functions
BranchRelaxation.cpp File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LivePhysRegs.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdint>
#include <iterator>
#include <memory>
Include dependency graph for BranchRelaxation.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "branch-relaxation"
 
#define BRANCH_RELAX_NAME   "Branch relaxation pass"
 

Functions

 STATISTIC (NumSplit, "Number of basic blocks split")
 
 STATISTIC (NumConditionalRelaxed, "Number of conditional branches relaxed")
 
 STATISTIC (NumUnconditionalRelaxed, "Number of unconditional branches relaxed")
 

Macro Definition Documentation

◆ BRANCH_RELAX_NAME

#define BRANCH_RELAX_NAME   "Branch relaxation pass"

Definition at line 42 of file BranchRelaxation.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   "branch-relaxation"

Definition at line 36 of file BranchRelaxation.cpp.

Function Documentation

◆ STATISTIC() [1/3]

STATISTIC ( NumSplit  ,
"Number of basic blocks split  
)

◆ STATISTIC() [2/3]

STATISTIC ( NumConditionalRelaxed  ,
"Number of conditional branches relaxed"   
)

◆ STATISTIC() [3/3]

STATISTIC ( NumUnconditionalRelaxed  ,
"Number of unconditional branches relaxed"   
)