LLVM  4.0.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::HexagonCVIResource Class Reference

#include <HexagonShuffler.h>

Inheritance diagram for llvm::HexagonCVIResource:
[legend]
Collaboration diagram for llvm::HexagonCVIResource:
[legend]

Public Types

typedef std::pair< unsigned,
unsigned
UnitsAndLanes
 
typedef llvm::DenseMap
< unsigned, UnitsAndLanes
TypeUnitsAndLanes
 

Public Member Functions

 HexagonCVIResource (TypeUnitsAndLanes *TUL, MCInstrInfo const &MCII, unsigned s, MCInst const *id)
 
bool isValid () const
 
unsigned getLanes () const
 
bool mayLoad () const
 
bool mayStore () const
 
- Public Member Functions inherited from llvm::HexagonResource
 HexagonResource (unsigned s)
 
void setUnits (unsigned s)
 
unsigned setWeight (unsigned s)
 
unsigned getUnits () const
 
unsigned getWeight () const
 

Static Public Member Functions

static void SetupTUL (TypeUnitsAndLanes *TUL, StringRef CPU)
 
- Static Public Member Functions inherited from llvm::HexagonResource
static bool lessUnits (const HexagonResource &A, const HexagonResource &B)
 
static bool lessWeight (const HexagonResource &A, const HexagonResource &B)
 

Detailed Description

Definition at line 56 of file HexagonShuffler.h.

Member Typedef Documentation

Definition at line 59 of file HexagonShuffler.h.

Definition at line 58 of file HexagonShuffler.h.

Constructor & Destructor Documentation

HexagonCVIResource::HexagonCVIResource ( TypeUnitsAndLanes TUL,
MCInstrInfo const MCII,
unsigned  s,
MCInst const id 
)

Member Function Documentation

unsigned llvm::HexagonCVIResource::getLanes ( ) const
inline

Definition at line 90 of file HexagonShuffler.h.

bool llvm::HexagonCVIResource::isValid ( ) const
inline

Definition at line 89 of file HexagonShuffler.h.

bool llvm::HexagonCVIResource::mayLoad ( ) const
inline

Definition at line 91 of file HexagonShuffler.h.

Referenced by HexagonCVIResource().

bool llvm::HexagonCVIResource::mayStore ( ) const
inline

Definition at line 92 of file HexagonShuffler.h.

Referenced by HexagonCVIResource().

void HexagonCVIResource::SetupTUL ( TypeUnitsAndLanes TUL,
StringRef  CPU 
)
static

The documentation for this class was generated from the following files: