LLVM  7.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
Collaboration diagram for llvm::HexagonCVIResource:
Collaboration graph

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

Member Typedef Documentation

◆ TypeUnitsAndLanes

Definition at line 69 of file HexagonShuffler.h.

◆ UnitsAndLanes

Definition at line 68 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

Definition at line 99 of file HexagonShuffler.h.

◆ isValid()

bool llvm::HexagonCVIResource::isValid ( ) const

Definition at line 98 of file HexagonShuffler.h.

◆ mayLoad()

bool llvm::HexagonCVIResource::mayLoad ( ) const

Definition at line 100 of file HexagonShuffler.h.

References llvm::SPII::Load.

Referenced by HexagonCVIResource().

◆ mayStore()

bool llvm::HexagonCVIResource::mayStore ( ) const

Definition at line 101 of file HexagonShuffler.h.

References llvm::SPII::Store.

Referenced by HexagonCVIResource().

◆ SetupTUL()

void HexagonCVIResource::SetupTUL ( TypeUnitsAndLanes TUL,
StringRef  CPU 

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