LLVM 22.0.0git
MSP430BranchSelector.cpp File Reference

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()

bool isInRage ( int DistanceInBytes)
static

Definition at line 64 of file MSP430BranchSelector.cpp.

References assert(), and llvm::isInt().

◆ STATISTIC() [1/2]

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

References TII.

◆ STATISTIC() [2/2]

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

Variable Documentation

◆ BranchSelectEnabled

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