LLVM  12.0.0git
Public Types | 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 >
 

Public Member Functions

 HexagonCVIResource (MCInstrInfo const &MCII, MCSubtargetInfo const &STI, 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)
 
void setAllUnits ()
 
unsigned setWeight (unsigned s)
 
unsigned getUnits () const
 
unsigned getWeight () const
 

Additional Inherited Members

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

Member Typedef Documentation

◆ UnitsAndLanes

Definition at line 72 of file HexagonShuffler.h.

Constructor & Destructor Documentation

◆ HexagonCVIResource()

HexagonCVIResource::HexagonCVIResource ( MCInstrInfo const MCII,
MCSubtargetInfo const STI,
unsigned  s,
MCInst const id 
)

Member Function Documentation

◆ getLanes()

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

Definition at line 102 of file HexagonShuffler.h.

◆ isValid()

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

Definition at line 101 of file HexagonShuffler.h.

◆ mayLoad()

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

Definition at line 103 of file HexagonShuffler.h.

References llvm::SPII::Load.

Referenced by HexagonCVIResource().

◆ mayStore()

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

Definition at line 104 of file HexagonShuffler.h.

References llvm::SPII::Store.

Referenced by HexagonCVIResource().


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