LLVM API Documentation

Namespaces | Functions
HexagonFixupHwLoops.cpp File Reference
#include "llvm/ADT/DenseMap.h"
#include "Hexagon.h"
#include "HexagonTargetMachine.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/PassSupport.h"
#include "llvm/Target/TargetInstrInfo.h"
Include dependency graph for HexagonFixupHwLoops.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

void llvm::initializeHexagonFixupHwLoopsPass (PassRegistry &)
 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.

Function Documentation

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

Definition at line 74 of file HexagonFixupHwLoops.cpp.

static bool isHardwareLoop ( const MachineInstr MI) [static]

Returns true if the instruction is a hardware loop instruction.

Definition at line 83 of file HexagonFixupHwLoops.cpp.

References llvm::MachineInstr::getOpcode().