|
LLVM 23.0.0git
|
Enumerations | |
| enum | : uint64_t { SALU = 1 << 0 , VALU = 1 << 1 , SOP1 = 1 << 2 , SOP2 = 1 << 3 , SOPC = 1 << 4 , SOPK = 1 << 5 , SOPP = 1 << 6 , VOP1 = 1 << 7 , VOP2 = 1 << 8 , VOPC = 1 << 9 , VOP3 = 1 << 10 , VOP3P = 1 << 12 , VINTRP = 1 << 13 , SDWA = 1 << 14 , DPP = 1 << 15 , TRANS = 1 << 16 , MUBUF = 1 << 17 , MTBUF = 1 << 18 , SMRD = 1 << 19 , MIMG = 1 << 20 , VIMAGE = 1 << 21 , VSAMPLE = 1 << 22 , EXP = 1 << 23 , FLAT = 1 << 24 , DS = 1 << 25 , Spill = 1 << 26 , LDSDIR = 1 << 28 , VINTERP = 1 << 29 , VOPD3 = 1 << 30 , VM_CNT = UINT64_C(1) << 32 , EXP_CNT = UINT64_C(1) << 33 , LGKM_CNT = UINT64_C(1) << 34 , WQM = UINT64_C(1) << 35 , DisableWQM = UINT64_C(1) << 36 , Gather4 = UINT64_C(1) << 37 , TENSOR_CNT = UINT64_C(1) << 38 , SCALAR_STORE = UINT64_C(1) << 39 , FIXED_SIZE = UINT64_C(1) << 40 , ASYNC_CNT = UINT64_C(1) << 41 , VOP3_OPSEL = UINT64_C(1) << 42 , maybeAtomic = UINT64_C(1) << 43 , renamedInGFX9 = UINT64_C(1) << 44 , FPClamp = UINT64_C(1) << 45 , IntClamp = UINT64_C(1) << 46 , ClampLo = UINT64_C(1) << 47 , ClampHi = UINT64_C(1) << 48 , IsPacked = UINT64_C(1) << 49 , D16Buf = UINT64_C(1) << 50 , FlatGlobal = UINT64_C(1) << 51 , FPDPRounding = UINT64_C(1) << 52 , FPAtomic = UINT64_C(1) << 53 , IsMAI = UINT64_C(1) << 54 , IsDOT = UINT64_C(1) << 55 , FlatScratch = UINT64_C(1) << 56 , IsAtomicNoRet = UINT64_C(1) << 57 , IsAtomicRet = UINT64_C(1) << 58 , IsWMMA = UINT64_C(1) << 59 , TiedSourceNotRead = UINT64_C(1) << 60 , IsNeverUniform = UINT64_C(1) << 61 , GWS = UINT64_C(1) << 62 , IsSWMMAC = UINT64_C(1) << 63 } |
| enum | ClassFlags : unsigned { S_NAN = 1 << 0 , Q_NAN = 1 << 1 , N_INFINITY = 1 << 2 , N_NORMAL = 1 << 3 , N_SUBNORMAL = 1 << 4 , N_ZERO = 1 << 5 , P_ZERO = 1 << 6 , P_SUBNORMAL = 1 << 7 , P_NORMAL = 1 << 8 , P_INFINITY = 1 << 9 } |
Functions | |
| constexpr uint64_t | getTSFlags (const MCInstrDesc &Desc) |
| uint64_t | getTSFlags (const MCInstrInfo &MII, unsigned Opcode) |
| uint64_t | getTSFlags (const MCInstrInfo &MII, const MCInst &Inst) |
| template<typename... T> | |
| constexpr bool | isSALU (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVALU (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSOP1 (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSOP2 (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSOPC (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSOPK (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSOPP (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVOP1 (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVOP2 (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVOPC (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVOP3 (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVOP3P (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVINTRP (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSDWA (const T &...O) |
| template<typename... T> | |
| constexpr bool | isDPP (const T &...O) |
| template<typename... T> | |
| constexpr bool | isTRANS (const T &...O) |
| template<typename... T> | |
| constexpr bool | isMUBUF (const T &...O) |
| template<typename... T> | |
| constexpr bool | isMTBUF (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSMRD (const T &...O) |
| template<typename... T> | |
| constexpr bool | isMIMG (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVIMAGE (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVSAMPLE (const T &...O) |
| template<typename... T> | |
| constexpr bool | isEXP (const T &...O) |
| template<typename... T> | |
| constexpr bool | isFLAT (const T &...O) |
| template<typename... T> | |
| constexpr bool | isDS (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSpill (const T &...O) |
| template<typename... T> | |
| constexpr bool | isLDSDIR (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVINTERP (const T &...O) |
| template<typename... T> | |
| constexpr bool | isWQM (const T &...O) |
| template<typename... T> | |
| constexpr bool | isDisableWQM (const T &...O) |
| template<typename... T> | |
| constexpr bool | isGather4 (const T &...O) |
| template<typename... T> | |
| constexpr bool | usesTENSOR_CNT (const T &...O) |
| template<typename... T> | |
| constexpr bool | isScalarStore (const T &...O) |
| template<typename... T> | |
| constexpr bool | isFixedSize (const T &...O) |
| template<typename... T> | |
| constexpr bool | usesASYNC_CNT (const T &...O) |
| template<typename... T> | |
| constexpr bool | hasVOP3OpSel (const T &...O) |
| template<typename... T> | |
| constexpr bool | isMaybeAtomic (const T &...O) |
| template<typename... T> | |
| constexpr bool | hasFPClamp (const T &...O) |
| template<typename... T> | |
| constexpr bool | hasIntClamp (const T &...O) |
| template<typename... T> | |
| constexpr bool | hasClampLo (const T &...O) |
| template<typename... T> | |
| constexpr bool | hasClampHi (const T &...O) |
| template<typename... T> | |
| constexpr bool | isPacked (const T &...O) |
| template<typename... T> | |
| constexpr bool | isD16Buf (const T &...O) |
| template<typename... T> | |
| constexpr bool | isFlatGlobal (const T &...O) |
| template<typename... T> | |
| constexpr bool | usesFPDPRounding (const T &...O) |
| template<typename... T> | |
| constexpr bool | isFPAtomic (const T &...O) |
| template<typename... T> | |
| constexpr bool | isMAI (const T &...O) |
| template<typename... T> | |
| constexpr bool | isDOT (const T &...O) |
| template<typename... T> | |
| constexpr bool | isFlatScratch (const T &...O) |
| template<typename... T> | |
| constexpr bool | isAtomicNoRet (const T &...O) |
| template<typename... T> | |
| constexpr bool | isAtomicRet (const T &...O) |
| template<typename... T> | |
| constexpr bool | isWMMA (const T &...O) |
| template<typename... T> | |
| constexpr bool | isTiedSourceNotRead (const T &...O) |
| template<typename... T> | |
| constexpr bool | isNeverUniform (const T &...O) |
| template<typename... T> | |
| constexpr bool | isGWS (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSWMMAC (const T &...O) |
| template<typename... T> | |
| constexpr bool | usesVM_CNT (const T &...O) |
| template<typename... T> | |
| constexpr bool | usesLGKM_CNT (const T &...O) |
| template<typename... T> | |
| constexpr bool | isAtomic (const T &...O) |
| template<typename... T> | |
| constexpr bool | isSegmentSpecificFLAT (const T &...O) |
| template<typename... T> | |
| constexpr bool | isImage (const T &...O) |
| template<typename... T> | |
| constexpr bool | isVMEM (const T &...O) |
| anonymous enum : uint64_t |
Definition at line 59 of file SIDefines.h.
| Enumerator | |
|---|---|
| S_NAN | |
| Q_NAN | |
| N_INFINITY | |
| N_NORMAL | |
| N_SUBNORMAL | |
| N_ZERO | |
| P_ZERO | |
| P_SUBNORMAL | |
| P_NORMAL | |
| P_INFINITY | |
Definition at line 397 of file SIDefines.h.
|
constexpr |
Definition at line 196 of file SIDefines.h.
Referenced by hasClampHi(), hasClampLo(), hasFPClamp(), hasIntClamp(), hasVOP3OpSel(), isAtomicNoRet(), isAtomicRet(), isD16Buf(), isDisableWQM(), isDOT(), isDPP(), isDS(), isEXP(), isFixedSize(), isFLAT(), isFlatGlobal(), isFlatScratch(), isFPAtomic(), isGather4(), isGWS(), isLDSDIR(), isMAI(), isMaybeAtomic(), isMIMG(), isMTBUF(), isMUBUF(), isNeverUniform(), isPacked(), isSALU(), isScalarStore(), isSDWA(), isSMRD(), isSOP1(), isSOP2(), isSOPC(), isSOPK(), isSOPP(), isSpill(), isSWMMAC(), isTiedSourceNotRead(), isTRANS(), isVALU(), isVIMAGE(), isVINTERP(), isVINTRP(), isVOP1(), isVOP2(), isVOP3(), isVOP3P(), isVOPC(), isVSAMPLE(), isWMMA(), isWQM(), usesASYNC_CNT(), usesFPDPRounding(), usesLGKM_CNT(), usesTENSOR_CNT(), and usesVM_CNT().
|
inline |
Definition at line 200 of file SIDefines.h.
References llvm::MCInstrInfo::get(), llvm::MCInst::getOpcode(), and llvm::MCInstrDesc::TSFlags.
|
inline |
Definition at line 197 of file SIDefines.h.
References llvm::MCInstrInfo::get(), and llvm::MCInstrDesc::TSFlags.
Definition at line 324 of file SIDefines.h.
References ClampHi, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::hasSameClamp().
Definition at line 321 of file SIDefines.h.
References ClampLo, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::hasSameClamp().
Definition at line 315 of file SIDefines.h.
References FPClamp, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::hasFPClamp(), llvm::SIInstrInfo::hasFPClamp(), and llvm::SIInstrInfo::hasSameClamp().
Definition at line 318 of file SIDefines.h.
References getTSFlags(), IntClamp, and T.
Referenced by llvm::SIInstrInfo::hasIntClamp(), and llvm::SIInstrInfo::hasSameClamp().
Definition at line 309 of file SIDefines.h.
References getTSFlags(), T, and VOP3_OPSEL.
Definition at line 380 of file SIDefines.h.
References isAtomicNoRet(), isAtomicRet(), and T.
Referenced by llvm::SIInstrInfo::isAtomic(), and llvm::SIInstrInfo::isAtomic().
Definition at line 351 of file SIDefines.h.
References getTSFlags(), IsAtomicNoRet, and T.
Referenced by isAtomic(), llvm::SIInstrInfo::isAtomicNoRet(), and llvm::SIInstrInfo::isAtomicNoRet().
Definition at line 354 of file SIDefines.h.
References getTSFlags(), IsAtomicRet, and T.
Referenced by isAtomic(), llvm::SIInstrInfo::isAtomicRet(), and llvm::SIInstrInfo::isAtomicRet().
Definition at line 330 of file SIDefines.h.
References D16Buf, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::pseudoToMCOpcode().
Definition at line 291 of file SIDefines.h.
References DisableWQM, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isDisableWQM(), and llvm::SIInstrInfo::isDisableWQM().
Definition at line 345 of file SIDefines.h.
References getTSFlags(), IsDOT, and T.
Referenced by llvm::SIInstrInfo::isDOT(), and llvm::SIInstrInfo::isDOT().
Definition at line 246 of file SIDefines.h.
References DPP, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isDPP(), and llvm::SIInstrInfo::isDPP().
Definition at line 276 of file SIDefines.h.
References DS, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isDS(), and llvm::SIInstrInfo::isDS().
Definition at line 270 of file SIDefines.h.
References EXP, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isEXP(), and llvm::SIInstrInfo::isEXP().
Definition at line 303 of file SIDefines.h.
References FIXED_SIZE, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isFixedSize(), and llvm::SIInstrInfo::isFixedSize().
Definition at line 273 of file SIDefines.h.
References FLAT, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isFLAT(), llvm::SIInstrInfo::isFLAT(), and isVMEM().
Definition at line 333 of file SIDefines.h.
References FlatGlobal, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isFLATGlobal(), llvm::SIInstrInfo::isFLATGlobal(), and isSegmentSpecificFLAT().
Definition at line 348 of file SIDefines.h.
References FlatScratch, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isFLATScratch(), llvm::SIInstrInfo::isFLATScratch(), and isSegmentSpecificFLAT().
Definition at line 339 of file SIDefines.h.
References FPAtomic, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isFPAtomic(), and llvm::SIInstrInfo::isFPAtomic().
Definition at line 294 of file SIDefines.h.
References Gather4, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::isGather4(), and llvm::SIInstrInfo::isGather4().
Definition at line 366 of file SIDefines.h.
References getTSFlags(), GWS, and T.
Referenced by llvm::SIInstrInfo::isGWS(), and llvm::SIInstrInfo::isGWS().
Definition at line 387 of file SIDefines.h.
References isMIMG(), isVIMAGE(), isVSAMPLE(), and T.
Referenced by llvm::SIInstrInfo::isImage(), llvm::SIInstrInfo::isImage(), and isVMEM().
Definition at line 282 of file SIDefines.h.
References getTSFlags(), LDSDIR, and T.
Referenced by llvm::SIInstrInfo::isLDSDIR(), and llvm::SIInstrInfo::isLDSDIR().
Definition at line 342 of file SIDefines.h.
References getTSFlags(), IsMAI, and T.
Referenced by llvm::SIInstrInfo::isMAI().
Definition at line 312 of file SIDefines.h.
References getTSFlags(), maybeAtomic, and T.
Definition at line 261 of file SIDefines.h.
References getTSFlags(), MIMG, and T.
Referenced by isImage(), llvm::SIInstrInfo::isMIMG(), and llvm::SIInstrInfo::isMIMG().
Definition at line 255 of file SIDefines.h.
References getTSFlags(), MTBUF, and T.
Referenced by llvm::SIInstrInfo::isMTBUF(), llvm::SIInstrInfo::isMTBUF(), and isVMEM().
Definition at line 252 of file SIDefines.h.
References getTSFlags(), MUBUF, and T.
Referenced by llvm::SIInstrInfo::isMUBUF(), llvm::SIInstrInfo::isMUBUF(), and isVMEM().
Definition at line 363 of file SIDefines.h.
References getTSFlags(), IsNeverUniform, and T.
Referenced by llvm::SIInstrInfo::isNeverUniform().
Definition at line 327 of file SIDefines.h.
References getTSFlags(), IsPacked, and T.
Referenced by llvm::SIInstrInfo::isPacked(), and llvm::SIInstrInfo::isPacked().
Definition at line 204 of file SIDefines.h.
References getTSFlags(), SALU, and T.
Referenced by llvm::SIInstrInfo::isSALU(), llvm::SIInstrInfo::isSALU(), and llvm::SIInstrInfo::isScalarUnit().
Definition at line 300 of file SIDefines.h.
References getTSFlags(), SCALAR_STORE, and T.
Referenced by llvm::SIInstrInfo::isScalarStore(), and llvm::SIInstrInfo::isScalarStore().
Definition at line 243 of file SIDefines.h.
References getTSFlags(), SDWA, and T.
Referenced by llvm::SIInstrInfo::isSDWA(), llvm::SIInstrInfo::isSDWA(), and llvm::SIInstrInfo::pseudoToMCOpcode().
Definition at line 383 of file SIDefines.h.
References isFlatGlobal(), isFlatScratch(), and T.
Referenced by llvm::SIInstrInfo::isSegmentSpecificFLAT(), and llvm::SIInstrInfo::isSegmentSpecificFLAT().
Definition at line 258 of file SIDefines.h.
References getTSFlags(), SMRD, and T.
Referenced by llvm::SIInstrInfo::isScalarUnit(), llvm::SIInstrInfo::isSMRD(), and llvm::SIInstrInfo::isSMRD().
Definition at line 210 of file SIDefines.h.
References getTSFlags(), SOP1, and T.
Referenced by llvm::SIInstrInfo::isSOP1(), and llvm::SIInstrInfo::isSOP1().
Definition at line 213 of file SIDefines.h.
References getTSFlags(), SOP2, and T.
Referenced by llvm::SIInstrInfo::isSOP2(), and llvm::SIInstrInfo::isSOP2().
Definition at line 216 of file SIDefines.h.
References getTSFlags(), SOPC, and T.
Referenced by llvm::SIInstrInfo::isSOPC(), and llvm::SIInstrInfo::isSOPC().
Definition at line 219 of file SIDefines.h.
References getTSFlags(), SOPK, and T.
Referenced by llvm::SIInstrInfo::isSOPK(), and llvm::SIInstrInfo::isSOPK().
Definition at line 222 of file SIDefines.h.
References getTSFlags(), SOPP, and T.
Referenced by llvm::SIInstrInfo::isSOPP(), and llvm::SIInstrInfo::isSOPP().
Definition at line 279 of file SIDefines.h.
References getTSFlags(), Spill, and T.
Referenced by llvm::SIInstrInfo::isSpill(), and llvm::SIInstrInfo::isSpill().
Definition at line 369 of file SIDefines.h.
References getTSFlags(), IsSWMMAC, and T.
Referenced by llvm::SIInstrInfo::isSWMMAC(), and llvm::SIInstrInfo::isSWMMAC().
Definition at line 360 of file SIDefines.h.
References getTSFlags(), T, and TiedSourceNotRead.
Referenced by llvm::SIInstrInfo::doesNotReadTiedSource(), and llvm::SIInstrInfo::doesNotReadTiedSource().
Definition at line 249 of file SIDefines.h.
References getTSFlags(), T, and TRANS.
Referenced by llvm::SIInstrInfo::isTRANS(), and llvm::SIInstrInfo::isTRANS().
Definition at line 207 of file SIDefines.h.
References getTSFlags(), T, and VALU.
Referenced by llvm::SIInstrInfo::isLDSDMA(), llvm::SIInstrInfo::isLDSDMA(), llvm::SIInstrInfo::isVALU(), and llvm::SIInstrInfo::isVALU().
Definition at line 264 of file SIDefines.h.
References getTSFlags(), T, and VIMAGE.
Referenced by isImage(), llvm::SIInstrInfo::isVIMAGE(), and llvm::SIInstrInfo::isVIMAGE().
Definition at line 285 of file SIDefines.h.
References getTSFlags(), T, and VINTERP.
Referenced by llvm::SIInstrInfo::isVINTERP(), and llvm::SIInstrInfo::isVINTERP().
Definition at line 240 of file SIDefines.h.
References getTSFlags(), T, and VINTRP.
Referenced by llvm::SIInstrInfo::isVINTRP(), and llvm::SIInstrInfo::isVINTRP().
Definition at line 391 of file SIDefines.h.
References isFLAT(), isImage(), isMTBUF(), isMUBUF(), and T.
Referenced by llvm::SIInstrInfo::isVMEM(), and llvm::SIInstrInfo::isVMEM().
Definition at line 225 of file SIDefines.h.
References getTSFlags(), T, and VOP1.
Referenced by llvm::SIInstrInfo::isVOP1(), and llvm::SIInstrInfo::isVOP1().
Definition at line 228 of file SIDefines.h.
References getTSFlags(), T, and VOP2.
Referenced by llvm::SIInstrInfo::isVOP2(), and llvm::SIInstrInfo::isVOP2().
Definition at line 234 of file SIDefines.h.
References getTSFlags(), T, and VOP3.
Referenced by llvm::SIInstrInfo::isVOP3().
Definition at line 237 of file SIDefines.h.
References getTSFlags(), T, and VOP3P.
Referenced by llvm::SIInstrInfo::isVOP3P(), and llvm::SIInstrInfo::isVOP3P().
Definition at line 231 of file SIDefines.h.
References getTSFlags(), T, and VOPC.
Referenced by llvm::SIInstrInfo::isVOPC(), and llvm::SIInstrInfo::isVOPC().
Definition at line 267 of file SIDefines.h.
References getTSFlags(), T, and VSAMPLE.
Referenced by isImage(), llvm::SIInstrInfo::isVSAMPLE(), and llvm::SIInstrInfo::isVSAMPLE().
Definition at line 357 of file SIDefines.h.
References getTSFlags(), IsWMMA, and T.
Referenced by llvm::SIInstrInfo::isWMMA(), and llvm::SIInstrInfo::isWMMA().
Definition at line 288 of file SIDefines.h.
References getTSFlags(), T, and WQM.
Referenced by llvm::SIInstrInfo::isWQM(), and llvm::SIInstrInfo::isWQM().
Definition at line 306 of file SIDefines.h.
References ASYNC_CNT, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::usesASYNC_CNT(), and llvm::SIInstrInfo::usesASYNC_CNT().
Definition at line 336 of file SIDefines.h.
References FPDPRounding, getTSFlags(), and T.
Referenced by llvm::SIInstrInfo::usesFPDPRounding(), and llvm::SIInstrInfo::usesFPDPRounding().
Definition at line 375 of file SIDefines.h.
References getTSFlags(), LGKM_CNT, and T.
Referenced by llvm::SIInstrInfo::usesLGKM_CNT().
Definition at line 297 of file SIDefines.h.
References getTSFlags(), T, and TENSOR_CNT.
Referenced by llvm::SIInstrInfo::isLDSDMA(), and llvm::SIInstrInfo::isLDSDMA().
Definition at line 372 of file SIDefines.h.
References getTSFlags(), T, and VM_CNT.
Referenced by llvm::SIInstrInfo::usesVM_CNT().