LLVM  11.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::HexagonResource Class Reference

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

Inheritance diagram for llvm::HexagonResource:
Inheritance graph
[legend]

Public Member Functions

 HexagonResource (unsigned s)
 
void setUnits (unsigned s)
 
void setAllUnits ()
 
unsigned setWeight (unsigned s)
 
unsigned getUnits () const
 
unsigned getWeight () const
 

Static Public Member Functions

static bool lessUnits (const HexagonResource &A, const HexagonResource &B)
 
static bool lessWeight (const HexagonResource &A, const HexagonResource &B)
 

Detailed Description

Definition at line 37 of file HexagonShuffler.h.

Constructor & Destructor Documentation

◆ HexagonResource()

llvm::HexagonResource::HexagonResource ( unsigned  s)
inline

Definition at line 43 of file HexagonShuffler.h.

References setUnits().

Member Function Documentation

◆ getUnits()

unsigned llvm::HexagonResource::getUnits ( ) const
inline

◆ getWeight()

unsigned llvm::HexagonResource::getWeight ( ) const
inline

Definition at line 56 of file HexagonShuffler.h.

Referenced by lessWeight().

◆ lessUnits()

static bool llvm::HexagonResource::lessUnits ( const HexagonResource A,
const HexagonResource B 
)
inlinestatic

◆ lessWeight()

static bool llvm::HexagonResource::lessWeight ( const HexagonResource A,
const HexagonResource B 
)
inlinestatic

Definition at line 64 of file HexagonShuffler.h.

References getWeight().

Referenced by llvm::HexagonInstr::operator<().

◆ setAllUnits()

void llvm::HexagonResource::setAllUnits ( )
inline

Definition at line 50 of file HexagonShuffler.h.

References HEXAGON_PACKET_SIZE, setUnits(), and setWeight().

◆ setUnits()

void llvm::HexagonResource::setUnits ( unsigned  s)
inline

◆ setWeight()

unsigned HexagonResource::setWeight ( unsigned  s)

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