Home
last modified time | relevance | path

Searched refs:GCNSubtarget (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp36 #define AMDGPUSubtarget GCNSubtarget
53 GCNSubtarget::~GCNSubtarget() = default;
75 GCNSubtarget &
76 GCNSubtarget::initializeSubtargetDependencies(const Triple &TT, in initializeSubtargetDependencies()
188 GCNSubtarget::GCNSubtarget(const Triple &TT, StringRef GPU, StringRef FS, in GCNSubtarget() function in GCNSubtarget
296 unsigned GCNSubtarget::getConstantBusLimit(unsigned Opcode) const { in getConstantBusLimit()
548 void GCNSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy()
565 bool GCNSubtarget::hasMadF16() const { in hasMadF16()
569 bool GCNSubtarget::useVGPRIndexMode() const { in useVGPRIndexMode()
573 unsigned GCNSubtarget::getOccupancyWithNumSGPRs(unsigned SGPRs) const { in getOccupancyWithNumSGPRs()
[all …]
DSIFrameLowering.h19 class GCNSubtarget; variable
58 void emitFlatScratchInit(const GCNSubtarget &ST,
63 const GCNSubtarget &ST,
70 const GCNSubtarget &ST, const SIInstrInfo *TII, const SIRegisterInfo *TRI,
74 void emitEntryFunctionScratchSetup(const GCNSubtarget &ST, MachineFunction &MF,
DSIFrameLowering.cpp27 static ArrayRef<MCPhysReg> getAllSGPR128(const GCNSubtarget &ST, in getAllSGPR128()
33 static ArrayRef<MCPhysReg> getAllSGPRs(const GCNSubtarget &ST, in getAllSGPRs()
187 void SIFrameLowering::emitFlatScratchInit(const GCNSubtarget &ST, in emitFlatScratchInit()
270 const GCNSubtarget &ST, in getReservedPrivateSegmentBufferReg()
320 const GCNSubtarget &ST, const SIInstrInfo *TII, const SIRegisterInfo *TRI, in getReservedPrivateSegmentWaveByteOffsetReg()
404 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in emitEntryFunctionPrologue()
533 void SIFrameLowering::emitEntryFunctionScratchSetup(const GCNSubtarget &ST, in emitEntryFunctionScratchSetup()
589 const GCNSubtarget &Subtarget = MF.getSubtarget<GCNSubtarget>(); in emitEntryFunctionScratchSetup()
686 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in emitPrologue()
828 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in emitEpilogue()
[all …]
DSIMachineFunctionInfo.cpp50 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in SIMachineFunctionInfo()
182 const GCNSubtarget& ST = MF.getSubtarget<GCNSubtarget>(); in limitOccupancy()
254 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in haveFreeLanesForSGPRSpill()
268 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in allocateSGPRSpillToVGPR()
328 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in allocateVGPRSpillToAGPR()
DAMDGPUAsmPrinter.cpp196 const GCNSubtarget &STM = MF->getSubtarget<GCNSubtarget>(); in EmitFunctionBodyStart()
258 const GCNSubtarget &STM = MF->getSubtarget<GCNSubtarget>(); in EmitFunctionEntryLabel()
392 if (MF.getSubtarget<GCNSubtarget>().isWave32()) { in getAmdhsaKernelCodeProperties()
430 const GCNSubtarget &STM = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
485 Info.getTotalNumSGPRs(MF.getSubtarget<GCNSubtarget>()), in runOnMachineFunction()
570 const GCNSubtarget &STM = MF.getSubtarget<GCNSubtarget>(); in getFunctionCodeSize()
602 const GCNSubtarget &ST) const { in getTotalNumSGPRs()
608 const GCNSubtarget &ST) const { in getTotalNumVGPRs()
617 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in analyzeResourceUsage()
926 const GCNSubtarget &STM = MF.getSubtarget<GCNSubtarget>(); in getSIProgramInfo()
[all …]
DAMDGPUInstructionSelector.h26 #define AMDGPUSubtarget GCNSubtarget
36 class GCNSubtarget; variable
51 AMDGPUInstructionSelector(const GCNSubtarget &STI,
197 const GCNSubtarget &STI;
200 #define AMDGPUSubtarget GCNSubtarget
DAMDGPUTargetTransformInfo.h49 const GCNSubtarget *ST;
59 ST(static_cast<const GCNSubtarget *>(TM->getSubtargetImpl(F))), in AMDGPUTTIImpl()
72 const GCNSubtarget *ST;
105 const GCNSubtarget *getST() const { return ST; } in getST()
132 ST(static_cast<const GCNSubtarget*>(TM->getSubtargetImpl(F))), in GCNTTIImpl()
DSIInsertSkips.cpp247 const GCNSubtarget &ST = MBB.getParent()->getSubtarget<GCNSubtarget>(); in kill()
275 const GCNSubtarget &ST = MF->getSubtarget<GCNSubtarget>(); in kill()
346 const GCNSubtarget &ST = MBB.getParent()->getSubtarget<GCNSubtarget>(); in optimizeVccBranch()
430 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DSIOptimizeExecMaskingPreRA.cpp87 const GCNSubtarget &ST) { in isEndCF()
97 static bool isFullExecCopy(const MachineInstr& MI, const GCNSubtarget& ST) { in isFullExecCopy()
110 const GCNSubtarget& ST) { in getOrNonExecReg()
124 const GCNSubtarget& ST) { in getOrExecSource()
190 const GCNSubtarget &ST, in optimizeVcndVcmpPair()
298 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DAMDGPUAsmPrinter.h37 class GCNSubtarget; variable
54 int32_t getTotalNumSGPRs(const GCNSubtarget &ST) const;
55 int32_t getTotalNumVGPRs(const GCNSubtarget &ST) const;
DAMDGPUInstrInfo.h24 class GCNSubtarget; variable
31 explicit AMDGPUInstrInfo(const GCNSubtarget &st);
DGCNIterativeScheduler.cpp110 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printRegions()
134 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printSchedRP()
318 dbgs(), &MF.getSubtarget<GCNSubtarget>()); in schedule()
420 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleRegion()
435 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in sortRegionsByPressure()
452 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in tryMaximizeOccupancy()
489 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleLegacyMaxOccupancy()
543 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleMinReg()
577 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleILP()
DSIFixVGPRCopies.cpp49 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DAMDGPULegalizerInfo.h25 class GCNSubtarget; variable
29 const GCNSubtarget &ST;
32 AMDGPULegalizerInfo(const GCNSubtarget &ST,
DSIOptimizeExecMasking.cpp60 static Register isCopyFromExec(const MachineInstr &MI, const GCNSubtarget &ST) { in isCopyFromExec()
78 static Register isCopyToExec(const MachineInstr &MI, const GCNSubtarget &ST) { in isCopyToExec()
240 const GCNSubtarget &ST, in findExecCopy()
272 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DAMDGPURegisterBankInfo.h28 class GCNSubtarget; variable
44 const GCNSubtarget &Subtarget;
155 AMDGPURegisterBankInfo(const GCNSubtarget &STI);
DGCNRegPressure.h54 unsigned getOccupancy(const GCNSubtarget &ST) const { in getOccupancy()
64 bool higherOccupancy(const GCNSubtarget &ST, const GCNRegPressure& O) const { in higherOccupancy()
68 bool less(const GCNSubtarget &ST, const GCNRegPressure& O,
79 void print(raw_ostream &OS, const GCNSubtarget *ST = nullptr) const;
DSIMemoryLegalizer.cpp257 SICacheControl(const GCNSubtarget &ST);
262 static std::unique_ptr<SICacheControl> create(const GCNSubtarget &ST);
322 SIGfx6CacheControl(const GCNSubtarget &ST) : SICacheControl(ST) {}; in SIGfx6CacheControl()
346 SIGfx7CacheControl(const GCNSubtarget &ST) : SIGfx6CacheControl(ST) {}; in SIGfx7CacheControl()
367 SIGfx10CacheControl(const GCNSubtarget &ST, bool CuMode) : in SIGfx10CacheControl()
650 SICacheControl::SICacheControl(const GCNSubtarget &ST) { in SICacheControl()
656 std::unique_ptr<SICacheControl> SICacheControl::create(const GCNSubtarget &ST) { in create()
657 GCNSubtarget::Generation Generation = ST.getGeneration(); in create()
860 const GCNSubtarget &STM = MBB.getParent()->getSubtarget<GCNSubtarget>(); in insertCacheInvalidate()
1288 CC = SICacheControl::create(MF.getSubtarget<GCNSubtarget>()); in runOnMachineFunction()
DGCNSchedStrategy.h23 class GCNSubtarget; variable
67 const GCNSubtarget &ST;
DSILowerSGPRSpills.cpp188 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in spillCalleeSavedRegs()
232 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DSIFixupVectorISel.cpp158 const GCNSubtarget &ST, in fixupGlobalSaddr()
224 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DGCNHazardRecognizer.h31 class GCNSubtarget; variable
47 const GCNSubtarget &ST;
DAMDGPUTargetMachine.h96 mutable StringMap<std::unique_ptr<GCNSubtarget>> SubtargetMap;
106 const GCNSubtarget *getSubtargetImpl(const Function &) const override;
DSIRegisterInfo.h23 class GCNSubtarget; variable
30 const GCNSubtarget &ST;
43 SIRegisterInfo(const GCNSubtarget &ST);
DAMDGPUMCInstLower.cpp222 const GCNSubtarget &STI = MF->getSubtarget<GCNSubtarget>(); in lowerOperand()
261 const GCNSubtarget &STI = MF->getSubtarget<GCNSubtarget>(); in EmitInstruction()

1234