Home
last modified time | relevance | path

Searched refs:AMDGPUSubtarget (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp36 #define AMDGPUSubtarget GCNSubtarget macro
40 #undef AMDGPUSubtarget
65 if (getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS) { in initializeSubtargetDependencies()
99 if (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) { in initializeSubtargetDependencies()
122 assert(!hasFP64() || (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS)); in initializeSubtargetDependencies()
151 HasFminFmaxLegacy = getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS; in initializeSubtargetDependencies()
169 AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT) : in AMDGPUSubtarget() function in AMDGPUSubtarget
191 AMDGPUSubtarget(TT), in GCNSubtarget()
316 unsigned AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount(unsigned NWaves, in getMaxLocalMemSizeWithWaveCount()
328 unsigned AMDGPUSubtarget::getOccupancyWithLocalMemSize(uint32_t Bytes, in getOccupancyWithLocalMemSize()
[all …]
DAMDGPUSubtarget.h48 class AMDGPUSubtarget {
83 AMDGPUSubtarget(const Triple &TT);
85 static const AMDGPUSubtarget &get(const MachineFunction &MF);
86 static const AMDGPUSubtarget &get(const TargetMachine &TM,
249 virtual ~AMDGPUSubtarget() {} in ~AMDGPUSubtarget()
253 public AMDGPUSubtarget {
255 using AMDGPUSubtarget::getMaxWavesPerEU;
500 return (getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS); in hasAddr64()
534 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMed3_16()
538 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMin3Max3_16()
[all …]
DAMDGPU.td975 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
979 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
980 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
984 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
985 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
986 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">,
990 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
994 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
995 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">,
999 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
[all …]
DAMDGPUInstructionSelector.h26 #define AMDGPUSubtarget GCNSubtarget macro
29 #undef AMDGPUSubtarget
200 #define AMDGPUSubtarget GCNSubtarget macro
203 #undef AMDGPUSubtarget
DAMDGPUPromoteAlloca.cpp160 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in runOnFunction()
185 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in getLocalSizeYZ()
271 const AMDGPUSubtarget &ST = in getWorkitemID()
272 AMDGPUSubtarget::get(*TM, *Builder.GetInsertBlock()->getParent()); in getWorkitemID()
629 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, F); in hasSufficientLocalMem()
759 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(*TM, ContainingFunction); in handleAlloca()
DAMDGPUMachineFunction.cpp26 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(MF); in AMDGPUMachineFunction()
DR700Instructions.td15 def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
DAMDGPUISelLowering.h25 class AMDGPUSubtarget; variable
30 const AMDGPUSubtarget *Subtarget;
147 AMDGPUTargetLowering(const TargetMachine &TM, const AMDGPUSubtarget &STI);
DR600ControlFlowFinalizer.cpp139 if (ST->getGeneration() <= AMDGPUSubtarget::R700) { in getSubEntrySize()
152 assert(ST->getGeneration() >= AMDGPUSubtarget::EVERGREEN); in getSubEntrySize()
179 ST->getGeneration() > AMDGPUSubtarget::EVERGREEN && in pushBranch()
252 bool isEg = (ST->getGeneration() >= AMDGPUSubtarget::EVERGREEN); in getHWInstrDesc()
DAMDGPUCallingConv.td143 "AMDGPUSubtarget::SOUTHERN_ISLANDS",
147 "AMDGPUSubtarget::SOUTHERN_ISLANDS && State.getCallingConv() == CallingConv::C",
DR600AsmPrinter.cpp71 if (STM.getGeneration() >= AMDGPUSubtarget::EVERGREEN) { in EmitProgramInfoR600()
DAMDGPULowerIntrinsics.cpp126 Changed |= AMDGPUSubtarget::get(TM, F).makeLIDRangeMetadata(CI); in makeLIDRangeMetadata()
DCMakeLists.txt66 AMDGPUSubtarget.cpp
DSIInstrInfo.cpp3714 ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in verifyInstruction()
3720 ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in verifyInstruction()
3726 ST.getGeneration() < AMDGPUSubtarget::GFX10) { in verifyInstruction()
4747 < AMDGPUSubtarget::VOLCANIC_ISLANDS && in legalizeOperands()
5871 if (ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in getDefaultRsrcDataFormat()
5880 if (ST.getGeneration() <= AMDGPUSubtarget::VOLCANIC_ISLANDS) in getDefaultRsrcDataFormat()
5885 if (ST.getGeneration() == AMDGPUSubtarget::VOLCANIC_ISLANDS) in getDefaultRsrcDataFormat()
5898 if (ST.getGeneration() <= AMDGPUSubtarget::VOLCANIC_ISLANDS) { in getScratchRsrcWords23()
5909 if (ST.getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS && in getScratchRsrcWords23()
5910 ST.getGeneration() <= AMDGPUSubtarget::GFX9) in getScratchRsrcWords23()
[all …]
DR600InstrFormats.td13 def isR600 : Predicate<"Subtarget->getGeneration() <= AMDGPUSubtarget::R700">;
16 "Subtarget->getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS">;
DAMDGPUAsmPrinter.cpp952 if (STM.getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS && in getSIProgramInfo()
991 if (STM.getGeneration() <= AMDGPUSubtarget::SEA_ISLANDS || in getSIProgramInfo()
1047 if (STM.getGeneration() < AMDGPUSubtarget::SEA_ISLANDS) { in getSIProgramInfo()
DEvergreenInstructions.td16 "Subtarget->getGeneration() >= AMDGPUSubtarget::EVERGREEN && "
21 "Subtarget->getGeneration() == AMDGPUSubtarget::EVERGREEN ||"
22 "Subtarget->getGeneration() == AMDGPUSubtarget::NORTHERN_ISLANDS"
DSIMemoryLegalizer.cpp658 if (Generation <= AMDGPUSubtarget::SOUTHERN_ISLANDS) in create()
660 if (Generation < AMDGPUSubtarget::GFX10) in create()
DSIMachineFunctionInfo.cpp122 if (ST.getGeneration() >= AMDGPUSubtarget::GFX9 && in SIMachineFunctionInfo()
DSIFrameLowering.cpp223 if (ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in emitFlatScratchInit()
251 assert(ST.getGeneration() < AMDGPUSubtarget::GFX10); in emitFlatScratchInit()
DAMDGPUInstructionSelector.cpp44 #define AMDGPUSubtarget GCNSubtarget macro
47 #undef AMDGPUSubtarget
1064 if (STI.getGeneration() >= AMDGPUSubtarget::GFX10) { in selectDSOrderedIntrinsic()
1084 if (STI.getGeneration() >= AMDGPUSubtarget::GFX10) in selectDSOrderedIntrinsic()
DSIShrinkInstructions.cpp696 ST.getGeneration() >= AMDGPUSubtarget::GFX10 && in runOnMachineFunction()
DSIISelLowering.cpp1179 if (Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS) { in isLegalAddressingMode()
1183 } else if (Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS) { in isLegalAddressingMode()
1188 } else if (Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS) { in isLegalAddressingMode()
2154 if (Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS && in LowerFormalArguments()
5348 bool IsGFX10 = Subtarget->getGeneration() >= AMDGPUSubtarget::GFX10; in lowerImage()
5627 if (Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS) in lowerImage()
5791 if (Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS) in LowerINTRINSIC_WO_CHAIN()
5796 if (Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS) in LowerINTRINSIC_WO_CHAIN()
5800 if (Subtarget->getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS) in LowerINTRINSIC_WO_CHAIN()
5898 bool IsGFX10 = Subtarget->getGeneration() >= AMDGPUSubtarget::GFX10; in LowerINTRINSIC_WO_CHAIN()
[all …]
DAMDGPUISelDAGToDAG.cpp1784 if (Gen == AMDGPUSubtarget::SEA_ISLANDS && isUInt<32>(EncodedOffset)) { in SelectSMRDOffset()
1853 if (Subtarget->getGeneration() != AMDGPUSubtarget::SEA_ISLANDS) in SelectSMRDImm32()
1878 if (Subtarget->getGeneration() != AMDGPUSubtarget::SEA_ISLANDS) in SelectSMRDBufferImm32()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h29 class AMDGPUSubtarget; variable

12