LLVM 24.0.0git
llvm::PISA::DataTypes Class Reference

#include "Target/PISA/MCTargetDesc/PISATargetStreamer.h"

Public Member Functions

TypeInfoMap::const_iterator begin () const
TypeInfoMap::const_iterator end () const
TypeInfo & getInfo (LLT Ty)
TypeInfo & getInfo (unsigned NumElts, unsigned EltSize, unsigned RegType)
TypeInfo & getInfo (DataType DT)
TypeInfo & emplaceInfo (unsigned NumElts, unsigned EltSize, unsigned RegType)
TypeInfo & emplaceInfo (LLT Ty)
TypeInfo & emplaceInfo (DataType DT)
void insertInfo (unsigned NumElts, unsigned EltSize, unsigned RegType, TypeInfo TI)
void insertInfo (DataType DT, TypeInfo TI)
void finalizeFuncParams ()

Static Public Member Functions

static DataType getTypeFromLLT (LLT Ty)
static LLT getLLTFromType (const DataType &Ty)
static std::string getPrefixFromLLT (LLT Ty)
static DataType getTypeFromPrefix (StringRef Prefix)

Detailed Description

Definition at line 134 of file PISATargetStreamer.h.

Member Function Documentation

◆ begin()

TypeInfoMap::const_iterator llvm::PISA::DataTypes::begin ( ) const
inline

Definition at line 152 of file PISATargetStreamer.h.

◆ emplaceInfo() [1/3]

TypeInfo & llvm::PISA::DataTypes::emplaceInfo ( DataType DT)
inline

Definition at line 171 of file PISATargetStreamer.h.

References getLLTFromType(), and getPrefixFromLLT().

◆ emplaceInfo() [2/3]

TypeInfo & llvm::PISA::DataTypes::emplaceInfo ( LLT Ty)
inline

Definition at line 170 of file PISATargetStreamer.h.

References emplaceInfo(), and getTypeFromLLT().

Referenced by emplaceInfo().

◆ emplaceInfo() [3/3]

TypeInfo & llvm::PISA::DataTypes::emplaceInfo ( unsigned NumElts,
unsigned EltSize,
unsigned RegType )
inline

Definition at line 167 of file PISATargetStreamer.h.

References emplaceInfo().

Referenced by emplaceInfo().

◆ end()

TypeInfoMap::const_iterator llvm::PISA::DataTypes::end ( ) const
inline

Definition at line 153 of file PISATargetStreamer.h.

◆ finalizeFuncParams()

void llvm::PISA::DataTypes::finalizeFuncParams ( )
inline

Definition at line 193 of file PISATargetStreamer.h.

◆ getInfo() [1/3]

TypeInfo & llvm::PISA::DataTypes::getInfo ( DataType DT)
inline

Definition at line 159 of file PISATargetStreamer.h.

References llvm_unreachable.

◆ getInfo() [2/3]

TypeInfo & llvm::PISA::DataTypes::getInfo ( LLT Ty)
inline

Definition at line 155 of file PISATargetStreamer.h.

References getInfo(), and getTypeFromLLT().

Referenced by getInfo(), and getInfo().

◆ getInfo() [3/3]

TypeInfo & llvm::PISA::DataTypes::getInfo ( unsigned NumElts,
unsigned EltSize,
unsigned RegType )
inline

Definition at line 156 of file PISATargetStreamer.h.

References getInfo().

◆ getLLTFromType()

LLT DataTypes::getLLTFromType ( const DataType & Ty)
static

◆ getPrefixFromLLT()

std::string DataTypes::getPrefixFromLLT ( LLT Ty)
static

◆ getTypeFromLLT()

DataType DataTypes::getTypeFromLLT ( LLT Ty)
static

Definition at line 498 of file PISATargetStreamer.cpp.

References llvm::PISA::RegEncoder::PRED, and llvm::PISA::RegEncoder::REG.

Referenced by emplaceInfo(), and getInfo().

◆ getTypeFromPrefix()

DataType DataTypes::getTypeFromPrefix ( StringRef Prefix)
static

◆ insertInfo() [1/2]

void llvm::PISA::DataTypes::insertInfo ( DataType DT,
TypeInfo TI )
inline

Definition at line 182 of file PISATargetStreamer.h.

References assert().

◆ insertInfo() [2/2]

void llvm::PISA::DataTypes::insertInfo ( unsigned NumElts,
unsigned EltSize,
unsigned RegType,
TypeInfo TI )
inline

Definition at line 178 of file PISATargetStreamer.h.

References insertInfo().

Referenced by insertInfo().


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