LLVM 20.0.0git
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/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include <cassert>
#include <cstdint>
#include <iterator>
#include <memory>

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 43 of file BranchRelaxation.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   "branch-relaxation"

Definition at line 37 of file BranchRelaxation.cpp.

Function Documentation

◆ STATISTIC() [1/3]

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

◆ STATISTIC() [2/3]

STATISTIC ( NumSplit  ,
"Number of basic blocks split"   
)

◆ STATISTIC() [3/3]

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