Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/AMDGPU/SIInstrInfo.td
Show All 10 Lines | |||||
def isWave64 : Predicate<"Subtarget->getWavefrontSize() == 64">, | def isWave64 : Predicate<"Subtarget->getWavefrontSize() == 64">, | ||||
AssemblerPredicate <(all_of FeatureWavefrontSize64)>; | AssemblerPredicate <(all_of FeatureWavefrontSize64)>; | ||||
class GCNPredicateControl : PredicateControl { | class GCNPredicateControl : PredicateControl { | ||||
Predicate SIAssemblerPredicate = isGFX6GFX7; | Predicate SIAssemblerPredicate = isGFX6GFX7; | ||||
Predicate VIAssemblerPredicate = isGFX8GFX9; | Predicate VIAssemblerPredicate = isGFX8GFX9; | ||||
} | } | ||||
// Execpt for the NONE field, this must be kept in sync with the | // Except for the NONE field, this must be kept in sync with the | ||||
// SIEncodingFamily enum in AMDGPUInstrInfo.cpp | // SIEncodingFamily enum in AMDGPUInstrInfo.cpp | ||||
def SIEncodingFamily { | def SIEncodingFamily { | ||||
int NONE = -1; | int NONE = -1; | ||||
int SI = 0; | int SI = 0; | ||||
int VI = 1; | int VI = 1; | ||||
int SDWA = 2; | int SDWA = 2; | ||||
int SDWA9 = 3; | int SDWA9 = 3; | ||||
int GFX80 = 4; | int GFX80 = 4; | ||||
▲ Show 20 Lines • Show All 2,536 Lines • Show Last 20 Lines |