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

#include "Target/Hexagon/MCTargetDesc/HexagonShuffler.h"

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

Public Types

using UnitsAndLanes = std::pair< unsigned, unsigned >
 
using TypeUnitsAndLanes = DenseMap< unsigned, UnitsAndLanes >
 

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 65 of file HexagonShuffler.h.

Member Typedef Documentation

◆ TypeUnitsAndLanes

Definition at line 68 of file HexagonShuffler.h.

◆ UnitsAndLanes

Definition at line 67 of file HexagonShuffler.h.

Constructor & Destructor Documentation

◆ HexagonCVIResource()

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

Member Function Documentation

◆ getLanes()

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

Definition at line 100 of file HexagonShuffler.h.

◆ isValid()

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

Definition at line 99 of file HexagonShuffler.h.

◆ mayLoad()

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

Definition at line 101 of file HexagonShuffler.h.

References llvm::SPII::Load.

Referenced by HexagonCVIResource().

◆ mayStore()

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

Definition at line 102 of file HexagonShuffler.h.

References llvm::SPII::Store.

Referenced by HexagonCVIResource().

◆ SetupTUL()

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

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