LLVM  8.0.0svn
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)
 
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 36 of file HexagonShuffler.h.

Constructor & Destructor Documentation

◆ HexagonResource()

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

Definition at line 42 of file HexagonShuffler.h.

References setUnits().

Member Function Documentation

◆ getUnits()

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

Definition at line 51 of file HexagonShuffler.h.

Referenced by lessUnits().

◆ getWeight()

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

Definition at line 52 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 60 of file HexagonShuffler.h.

References getWeight().

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

◆ 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: