LLVM 22.0.0git
HexagonEarlyIfConv.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "hexagon-eif"

Functions

 INITIALIZE_PASS (HexagonEarlyIfConversion, "hexagon-early-if", "Hexagon early if conversion", false, false) bool HexagonEarlyIfConversion

Variables

static cl::opt< boolEnableHexagonBP ("enable-hexagon-br-prob", cl::Hidden, cl::init(true), cl::desc("Enable branch probability info"))
static cl::opt< unsignedSizeLimit ("eif-limit", cl::init(6), cl::Hidden, cl::desc("Size limit in Hexagon early if-conversion"))
static cl::opt< boolSkipExitBranches ("eif-no-loop-exit", cl::init(false), cl::Hidden, cl::desc("Do not convert branches that may exit the loop"))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hexagon-eif"

Definition at line 90 of file HexagonEarlyIfConv.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( HexagonEarlyIfConversion ,
"hexagon-early-if" ,
"Hexagon early if conversion" ,
false ,
false  )

Definition at line 220 of file HexagonEarlyIfConv.cpp.

References B(), and const.

Variable Documentation

◆ EnableHexagonBP

cl::opt< bool > EnableHexagonBP("enable-hexagon-br-prob", cl::Hidden, cl::init(true), cl::desc("Enable branch probability info")) ( "enable-hexagon-br-prob" ,
cl::Hidden ,
cl::init(true) ,
cl::desc("Enable branch probability info")  )
static

◆ SizeLimit

cl::opt< unsigned > SizeLimit("eif-limit", cl::init(6), cl::Hidden, cl::desc("Size limit in Hexagon early if-conversion")) ( "eif-limit" ,
cl::init(6) ,
cl::Hidden ,
cl::desc("Size limit in Hexagon early if-conversion")  )
static

◆ SkipExitBranches

cl::opt< bool > SkipExitBranches("eif-no-loop-exit", cl::init(false), cl::Hidden, cl::desc("Do not convert branches that may exit the loop")) ( "eif-no-loop-exit" ,
cl::init(false) ,
cl::Hidden ,
cl::desc("Do not convert branches that may exit the loop")  )
static