Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp37 #define AMDGPUSubtarget GCNSubtarget
44 GCNSubtarget::~GCNSubtarget() = default;
66 GCNSubtarget &
67 GCNSubtarget::initializeSubtargetDependencies(const Triple &TT, in initializeSubtargetDependencies()
145 GCNSubtarget::GCNSubtarget(const Triple &TT, StringRef GPU, StringRef FS, in GCNSubtarget() function in GCNSubtarget
466 void GCNSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy()
483 bool GCNSubtarget::isVGPRSpillingEnabled(const Function& F) const { in isVGPRSpillingEnabled()
487 unsigned GCNSubtarget::getOccupancyWithNumSGPRs(unsigned SGPRs) const { in getOccupancyWithNumSGPRs()
510 unsigned GCNSubtarget::getOccupancyWithNumVGPRs(unsigned VGPRs) const { in getOccupancyWithNumVGPRs()
532 unsigned GCNSubtarget::getReservedNumSGPRs(const MachineFunction &MF) const { in getReservedNumSGPRs()
[all …]
DSIFrameLowering.cpp26 static ArrayRef<MCPhysReg> getAllSGPR128(const GCNSubtarget &ST, in getAllSGPR128()
32 static ArrayRef<MCPhysReg> getAllSGPRs(const GCNSubtarget &ST, in getAllSGPRs()
38 void SIFrameLowering::emitFlatScratchInit(const GCNSubtarget &ST, in emitFlatScratchInit()
101 const GCNSubtarget &ST, in getReservedPrivateSegmentBufferReg()
152 const GCNSubtarget &ST, in getReservedPrivateSegmentWaveByteOffsetReg()
223 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in emitEntryFunctionPrologue()
367 void SIFrameLowering::emitEntryFunctionScratchSetup(const GCNSubtarget &ST, in emitEntryFunctionScratchSetup()
511 const GCNSubtarget &Subtarget = MF->getSubtarget<GCNSubtarget>(); in findScratchNonCalleeSaveRegister()
540 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in emitPrologue()
610 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in emitEpilogue()
[all …]
DSIFrameLowering.h20 class GCNSubtarget; variable
51 void emitFlatScratchInit(const GCNSubtarget &ST,
56 const GCNSubtarget &ST,
63 const GCNSubtarget &ST,
73 void emitEntryFunctionScratchSetup(const GCNSubtarget &ST, MachineFunction &MF,
DAMDGPUInstructionSelector.h25 #define AMDGPUSubtarget GCNSubtarget
35 class GCNSubtarget; variable
45 AMDGPUInstructionSelector(const GCNSubtarget &STI,
97 const GCNSubtarget &STI;
100 #define AMDGPUSubtarget GCNSubtarget
DAMDGPUAsmPrinter.cpp70 const GCNSubtarget& ST = F.getSubtarget<GCNSubtarget>(); in getFPMode()
200 const GCNSubtarget &STM = MF->getSubtarget<GCNSubtarget>(); in EmitFunctionBodyStart()
261 const GCNSubtarget &STM = MF->getSubtarget<GCNSubtarget>(); in EmitFunctionEntryLabel()
268 const GCNSubtarget &STI = MF->getSubtarget<GCNSubtarget>(); in EmitFunctionEntryLabel()
280 const GCNSubtarget &STI = MBB.getParent()->getSubtarget<GCNSubtarget>(); in EmitBasicBlockStart()
405 const GCNSubtarget &STM = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
446 Info.getTotalNumSGPRs(MF.getSubtarget<GCNSubtarget>()), in runOnMachineFunction()
481 if (MF.getSubtarget<GCNSubtarget>().debuggerEmitPrologue()) { in runOnMachineFunction()
532 const GCNSubtarget &STM = MF.getSubtarget<GCNSubtarget>(); in getFunctionCodeSize()
564 const GCNSubtarget &ST) const { in getTotalNumSGPRs()
[all …]
DSIMachineFunctionInfo.cpp50 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in SIMachineFunctionInfo()
181 const GCNSubtarget& ST = MF.getSubtarget<GCNSubtarget>(); in limitOccupancy()
256 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in allocateSGPRSpillToVGPR()
DSIRegisterInfo.cpp59 SIRegisterInfo::SIRegisterInfo(const GCNSubtarget &ST) : in SIRegisterInfo()
109 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in reservedPrivateSegmentBufferReg()
134 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in reservedPrivateSegmentWaveByteOffsetReg()
176 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in getReservedRegs()
256 MF.getSubtarget<GCNSubtarget>().hasScalarStores() && in requiresFrameIndexReplacementScavenging()
311 const GCNSubtarget &Subtarget = MF->getSubtarget<GCNSubtarget>(); in materializeFrameBaseRegister()
340 const GCNSubtarget &Subtarget = MF->getSubtarget<GCNSubtarget>(); in resolveFrameIndex()
527 const GCNSubtarget &ST = MF->getSubtarget<GCNSubtarget>(); in buildSpillLoadStore()
655 const GCNSubtarget &ST = MF->getSubtarget<GCNSubtarget>(); in spillSGPR()
833 const GCNSubtarget &ST = MF->getSubtarget<GCNSubtarget>(); in restoreSGPR()
[all …]
DAMDGPULegalizerInfo.h24 class GCNSubtarget; variable
29 AMDGPULegalizerInfo(const GCNSubtarget &ST,
DGCNRegPressure.h52 unsigned getOccupancy(const GCNSubtarget &ST) const { in getOccupancy()
62 bool higherOccupancy(const GCNSubtarget &ST, const GCNRegPressure& O) const { in higherOccupancy()
66 bool less(const GCNSubtarget &ST, const GCNRegPressure& O,
77 void print(raw_ostream &OS, const GCNSubtarget *ST = nullptr) const;
DGCNIterativeScheduler.cpp111 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printRegions()
135 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printSchedRP()
319 dbgs(), &MF.getSubtarget<GCNSubtarget>()); in schedule()
421 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleRegion()
436 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in sortRegionsByPressure()
454 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in tryMaximizeOccupancy()
491 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleLegacyMaxOccupancy()
545 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleMinReg()
579 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleILP()
DAMDGPUInstrInfo.h25 class GCNSubtarget; variable
32 explicit AMDGPUInstrInfo(const GCNSubtarget &st);
DSIFixVGPRCopies.cpp50 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DSIDebuggerInsertNops.cpp66 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DGCNSchedStrategy.h24 class GCNSubtarget; variable
65 const GCNSubtarget &ST;
DGCNHazardRecognizer.h31 class GCNSubtarget; variable
40 const GCNSubtarget &ST;
DSIMemoryLegalizer.cpp260 SICacheControl(const GCNSubtarget &ST);
265 static std::unique_ptr<SICacheControl> create(const GCNSubtarget &ST);
325 SIGfx6CacheControl(const GCNSubtarget &ST) : SICacheControl(ST) {}; in SIGfx6CacheControl()
349 SIGfx7CacheControl(const GCNSubtarget &ST) : SIGfx6CacheControl(ST) {}; in SIGfx7CacheControl()
609 SICacheControl::SICacheControl(const GCNSubtarget &ST) { in SICacheControl()
615 std::unique_ptr<SICacheControl> SICacheControl::create(const GCNSubtarget &ST) { in create()
616 GCNSubtarget::Generation Generation = ST.getGeneration(); in create()
1015 CC = SICacheControl::create(MF.getSubtarget<GCNSubtarget>()); in runOnMachineFunction()
DAMDGPUTargetTransformInfo.h65 const GCNSubtarget *ST;
94 const GCNSubtarget *getST() const { return ST; } in getST()
121 ST(static_cast<const GCNSubtarget*>(TM->getSubtargetImpl(F))), in GCNTTIImpl()
DAMDGPUTargetMachine.h103 mutable StringMap<std::unique_ptr<GCNSubtarget>> SubtargetMap;
113 const GCNSubtarget *getSubtargetImpl(const Function &) const override;
DAMDGPUAsmPrinter.h37 class GCNSubtarget; variable
53 int32_t getTotalNumSGPRs(const GCNSubtarget &ST) const;
DSIFixWWMLiveness.cpp188 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DAMDGPUMCInstLower.cpp207 const GCNSubtarget &STI = MF->getSubtarget<GCNSubtarget>(); in lowerOperand()
246 const GCNSubtarget &STI = MF->getSubtarget<GCNSubtarget>(); in EmitInstruction()
DAMDGPUCallLowering.cpp98 const GCNSubtarget *Subtarget = &MF.getSubtarget<GCNSubtarget>(); in lowerFormalArguments()
101 const SIRegisterInfo *TRI = MF.getSubtarget<GCNSubtarget>().getRegisterInfo(); in lowerFormalArguments()
DAMDGPUSubtarget.h249 class GCNSubtarget : public AMDGPUGenSubtargetInfo,
382 GCNSubtarget(const Triple &TT, StringRef GPU, StringRef FS,
384 ~GCNSubtarget() override;
386 GCNSubtarget &initializeSubtargetDependencies(const Triple &TT,
DSILowerI1Copies.cpp69 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DAMDGPURegisterInfo.h24 class GCNSubtarget; variable

123