LLVM
8.0.1
|
#include "Target/Hexagon/MCTargetDesc/HexagonShuffler.h"
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) |
Definition at line 66 of file HexagonShuffler.h.
Definition at line 69 of file HexagonShuffler.h.
using llvm::HexagonCVIResource::UnitsAndLanes = std::pair<unsigned, unsigned> |
Definition at line 68 of file HexagonShuffler.h.
HexagonCVIResource::HexagonCVIResource | ( | TypeUnitsAndLanes * | TUL, |
MCInstrInfo const & | MCII, | ||
unsigned | s, | ||
MCInst const * | id | ||
) |
Definition at line 145 of file HexagonShuffler.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), first, llvm::HexagonMCInstrInfo::getDesc(), llvm::HexagonMCInstrInfo::getType(), mayLoad(), mayStore(), second, and llvm::HexagonResource::setUnits().
|
inline |
Definition at line 100 of file HexagonShuffler.h.
|
inline |
Definition at line 99 of file HexagonShuffler.h.
|
inline |
Definition at line 101 of file HexagonShuffler.h.
References llvm::SPII::Load.
Referenced by HexagonCVIResource().
|
inline |
Definition at line 102 of file HexagonShuffler.h.
References llvm::SPII::Store.
Referenced by HexagonCVIResource().
|
static |
Definition at line 109 of file HexagonShuffler.cpp.
References llvm::HexagonII::TypeCVI_4SLOT_MPY, llvm::HexagonII::TypeCVI_GATHER, llvm::HexagonII::TypeCVI_HIST, llvm::HexagonII::TypeCVI_SCATTER, llvm::HexagonII::TypeCVI_SCATTER_DV, llvm::HexagonII::TypeCVI_SCATTER_NEW_ST, llvm::HexagonII::TypeCVI_VA, llvm::HexagonII::TypeCVI_VA_DV, llvm::HexagonII::TypeCVI_VINLANESAT, llvm::HexagonII::TypeCVI_VM_LD, llvm::HexagonII::TypeCVI_VM_NEW_ST, llvm::HexagonII::TypeCVI_VM_ST, llvm::HexagonII::TypeCVI_VM_STU, llvm::HexagonII::TypeCVI_VM_TMP_LD, llvm::HexagonII::TypeCVI_VM_VP_LDU, llvm::HexagonII::TypeCVI_VP, llvm::HexagonII::TypeCVI_VP_VS, llvm::HexagonII::TypeCVI_VS, llvm::HexagonII::TypeCVI_VS_VX, llvm::HexagonII::TypeCVI_VX, llvm::HexagonII::TypeCVI_VX_DV, llvm::HexagonII::TypeCVI_VX_LATE, and llvm::HexagonII::TypeCVI_ZW.
Referenced by llvm::HexagonShuffler::HexagonShuffler().