LLVM 22.0.0git
HexagonFixupHwLoops.cpp File Reference

Go to the source code of this file.

Functions

 INITIALIZE_PASS (HexagonFixupHwLoops, "hwloopsfixup", "Hexagon Hardware Loops Fixup", false, false) FunctionPass *llvm
static bool isHardwareLoop (const MachineInstr &MI)
 Returns true if the instruction is a hardware loop instruction.

Variables

static cl::opt< unsignedMaxLoopRange ("hexagon-loop-range", cl::Hidden, cl::init(200), cl::desc("Restrict range of loopN instructions (testing only)"))

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( HexagonFixupHwLoops ,
"hwloopsfixup" ,
"Hexagon Hardware Loops Fixup" ,
false ,
false  )

Definition at line 68 of file HexagonFixupHwLoops.cpp.

References llvm::createHexagonFixupHwLoops().

◆ isHardwareLoop()

bool isHardwareLoop ( const MachineInstr & MI)
static

Returns true if the instruction is a hardware loop instruction.

Definition at line 76 of file HexagonFixupHwLoops.cpp.

References MI.

Variable Documentation

◆ MaxLoopRange

cl::opt< unsigned > MaxLoopRange("hexagon-loop-range", cl::Hidden, cl::init(200), cl::desc("Restrict range of loopN instructions (testing only)")) ( "hexagon-loop-range" ,
cl::Hidden ,
cl::init(200) ,
cl::desc("Restrict range of loopN instructions (testing only)")  )
static