Lines Matching refs:Predicate
1065 // Predicate helper class
1069 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
1073 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1078 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1084 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
1088 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1093 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1098 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1104 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1111 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS">,
1115 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS">,
1118 def isGFX8Only : Predicate<"Subtarget->getGeneration() =="
1123 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::GFX9">,
1126 def isGFX9Only : Predicate <
1131 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::VOLCANIC_ISLANDS ||"
1136 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::GFX10">,
1139 def HasFlatAddressSpace : Predicate<"Subtarget->hasFlatAddressSpace()">,
1142 def HasFlatGlobalInsts : Predicate<"Subtarget->hasFlatGlobalInsts()">,
1144 def HasFlatScratchInsts : Predicate<"Subtarget->hasFlatScratchInsts()">,
1146 def HasScalarFlatScratchInsts : Predicate<"Subtarget->hasScalarFlatScratchInsts()">,
1148 def HasD16LoadStore : Predicate<"Subtarget->hasD16LoadStore()">,
1151 def HasFlatScratchSTMode : Predicate<"Subtarget->hasFlatScratchSTMode()">,
1154 def HasGFX10_BEncoding : Predicate<"Subtarget->hasGFX10_BEncoding()">,
1157 def HasUnpackedD16VMem : Predicate<"Subtarget->hasUnpackedD16VMem()">,
1159 def HasPackedD16VMem : Predicate<"!Subtarget->hasUnpackedD16VMem()">,
1163 Predicate<"Subtarget->d16PreservesUnusedBits()">,
1166 def LDSRequiresM0Init : Predicate<"Subtarget->ldsRequiresM0Init()">;
1167 def NotLDSRequiresM0Init : Predicate<"!Subtarget->ldsRequiresM0Init()">;
1169 def HasDSAddTid : Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::GFX9">,
1172 def HasLDSFPAtomics : Predicate<"Subtarget->hasLDSFPAtomics()">,
1175 def HasAddNoCarryInsts : Predicate<"Subtarget->hasAddNoCarry()">,
1178 def NotHasAddNoCarryInsts : Predicate<"!Subtarget->hasAddNoCarry()">;
1180 def Has16BitInsts : Predicate<"Subtarget->has16BitInsts()">,
1182 def HasVOP3PInsts : Predicate<"Subtarget->hasVOP3PInsts()">,
1185 def HasMinMaxDenormModes : Predicate<"Subtarget->supportsMinMaxDenormModes()">;
1186 def NotHasMinMaxDenormModes : Predicate<"!Subtarget->supportsMinMaxDenormModes()">;
1188 def HasSDWA : Predicate<"Subtarget->hasSDWA()">,
1192 Predicate<"Subtarget->hasSDWA()">,
1196 Predicate<"Subtarget->hasSDWA()">,
1199 def HasDPP : Predicate<"Subtarget->hasDPP()">,
1202 def HasDPP8 : Predicate<"Subtarget->hasDPP8()">,
1205 def HasR128A16 : Predicate<"Subtarget->hasR128A16()">,
1208 def HasGFX10A16 : Predicate<"Subtarget->hasGFX10A16()">,
1211 def HasG16 : Predicate<"Subtarget->hasG16()">,
1214 def HasDPP16 : Predicate<"Subtarget->hasDPP()">,
1217 def HasIntClamp : Predicate<"Subtarget->hasIntClamp()">,
1220 def HasMadMixInsts : Predicate<"Subtarget->hasMadMixInsts()">,
1223 def HasScalarStores : Predicate<"Subtarget->hasScalarStores()">,
1226 def HasScalarAtomics : Predicate<"Subtarget->hasScalarAtomics()">,
1229 def HasNoSdstCMPX : Predicate<"Subtarget->hasNoSdstCMPX()">,
1232 def HasSdstCMPX : Predicate<"!Subtarget->hasNoSdstCMPX()">,
1235 def has16BankLDS : Predicate<"Subtarget->getLDSBankCount() == 16">;
1236 def has32BankLDS : Predicate<"Subtarget->getLDSBankCount() == 32">;
1237 def HasVGPRIndexMode : Predicate<"Subtarget->hasVGPRIndexMode()">,
1239 def HasMovrel : Predicate<"Subtarget->hasMovrel()">,
1242 def HasFmaMixInsts : Predicate<"Subtarget->hasFmaMixInsts()">,
1245 def HasDLInsts : Predicate<"Subtarget->hasDLInsts()">,
1248 def HasDot1Insts : Predicate<"Subtarget->hasDot1Insts()">,
1251 def HasDot2Insts : Predicate<"Subtarget->hasDot2Insts()">,
1254 def HasDot3Insts : Predicate<"Subtarget->hasDot3Insts()">,
1257 def HasDot4Insts : Predicate<"Subtarget->hasDot4Insts()">,
1260 def HasDot5Insts : Predicate<"Subtarget->hasDot5Insts()">,
1263 def HasDot6Insts : Predicate<"Subtarget->hasDot6Insts()">,
1266 def HasGetWaveIdInst : Predicate<"Subtarget->hasGetWaveIdInst()">,
1269 def HasMAIInsts : Predicate<"Subtarget->hasMAIInsts()">,
1272 def HasSMemTimeInst : Predicate<"Subtarget->hasSMemTimeInst()">,
1275 def HasNoSMemTimeInst : Predicate<"!Subtarget->hasSMemTimeInst()">;
1277 def HasPkFmacF16Inst : Predicate<"Subtarget->hasPkFmacF16Inst()">,
1280 def HasMadMacF32Insts : Predicate<"Subtarget->hasMadMacF32Insts()">,
1283 def HasFmaLegacy32 : Predicate<"Subtarget->hasGFX10_3Insts()">,
1286 def HasAtomicFaddInsts : Predicate<"Subtarget->hasAtomicFaddInsts()">,
1289 def HasDsSrc2Insts : Predicate<"!Subtarget->hasDsSrc2Insts()">,
1292 def HasOffset3fBug : Predicate<"!Subtarget->hasOffset3fBug()">,
1295 def EnableLateCFGStructurize : Predicate<
1298 def EnableFlatScratch : Predicate<"Subtarget->enableFlatScratch()">;
1300 def DisableFlatScratch : Predicate<"!Subtarget->enableFlatScratch()">;