LLVM API Documentation

Namespaces | Defines | Functions | Variables
HexagonHardwareLoops.cpp File Reference
#include "llvm/ADT/SmallSet.h"
#include "Hexagon.h"
#include "HexagonTargetMachine.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 <algorithm>
#include <vector>
Include dependency graph for HexagonHardwareLoops.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#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.

Variables

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

Define Documentation

#define DEBUG_TYPE   "hwloops"

Definition at line 49 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 287 of file HexagonHardwareLoops.cpp.

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

Variable Documentation

Hexagon Hardware false

Definition at line 282 of file HexagonHardwareLoops.cpp.

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

Definition at line 282 of file HexagonHardwareLoops.cpp.

Hexagon Hardware Loops