LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions | Variables
HexagonHardwareLoops.cpp File Reference
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/PassSupport.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "Hexagon.h"
#include "HexagonTargetMachine.h"
#include <algorithm>
#include <vector>
Include dependency graph for HexagonHardwareLoops.cpp:

Go to the source code of this file.

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Macros

#define DEBUG_TYPE   "hwloops"
 

Functions

 STATISTIC (NumHWLoops,"Number of loops converted to hardware loops")
 
void llvm::initializeHexagonHardwareLoopsPass (PassRegistry &)
 
 INITIALIZE_PASS_BEGIN (HexagonHardwareLoops,"hwloops","Hexagon Hardware Loops", false, false) INITIALIZE_PASS_END(HexagonHardwareLoops
 
Hexagon Hardware static false bool isHardwareLoop (const MachineInstr *MI)
 Returns true if the instruction is a hardware loop instruction. More...
 

Variables

static cl::opt< int > HWLoopLimit ("max-hwloop", cl::Hidden, cl::init(-1))
 
 hwloops
 
Hexagon Hardware Loops
 
Hexagon Hardware false
 

Macro Definition Documentation

#define DEBUG_TYPE   "hwloops"

Definition at line 29 of file HexagonHardwareLoops.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( HexagonHardwareLoops  ,
"hwloops"  ,
"Hexagon Hardware Loops ,
false  ,
false   
)
Hexagon Hardware static false bool isHardwareLoop ( const MachineInstr MI)
static

Returns true if the instruction is a hardware loop instruction.

Definition at line 286 of file HexagonHardwareLoops.cpp.

STATISTIC ( NumHWLoops  ,
"Number of loops converted to hardware loops  
)

Variable Documentation

Hexagon Hardware false

Definition at line 281 of file HexagonHardwareLoops.cpp.

cl::opt<int> HWLoopLimit("max-hwloop", cl::Hidden, cl::init(-1))
static
hwloops

Definition at line 281 of file HexagonHardwareLoops.cpp.

Hexagon Hardware Loops