LLVM  8.0.1
Macros | Functions | Variables
MSP430BranchSelector.cpp File Reference
#include "MSP430.h"
#include "MSP430InstrInfo.h"
#include "MSP430Subtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetMachine.h"
Include dependency graph for MSP430BranchSelector.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "msp430-branch-select"
 

Functions

 STATISTIC (NumSplit, "Number of machine basic blocks split")
 
 STATISTIC (NumExpanded, "Number of branches expanded to long format")
 
static bool isInRage (int DistanceInBytes)
 

Variables

static cl::opt< boolBranchSelectEnabled ("msp430-branch-select", cl::Hidden, cl::init(true), cl::desc("Expand out of range branches"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "msp430-branch-select"

Definition at line 28 of file MSP430BranchSelector.cpp.

Function Documentation

◆ isInRage()

static bool isInRage ( int  DistanceInBytes)
static

◆ STATISTIC() [1/2]

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

◆ STATISTIC() [2/2]

STATISTIC ( NumExpanded  ,
"Number of branches expanded to long format"   
)

Variable Documentation

◆ BranchSelectEnabled

cl::opt<bool> BranchSelectEnabled("msp430-branch-select", cl::Hidden, cl::init(true), cl::desc("Expand out of range branches"))
static

Referenced by isInRage().