LLVM 20.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]

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

◆ isValid()

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

Definition at line 91 of file HexagonShuffler.h.

◆ mayLoad()

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

Definition at line 93 of file HexagonShuffler.h.

Referenced by HexagonCVIResource().

◆ mayStore()

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

Definition at line 94 of file HexagonShuffler.h.

Referenced by HexagonCVIResource().


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