Lines Matching defs:GCNSubtarget
20 #include "GCNSubtarget.h"
41 #define AMDGPUSubtarget GCNSubtarget
63 GCNSubtarget::~GCNSubtarget() = default;
65 GCNSubtarget &
66 GCNSubtarget::initializeSubtargetDependencies(const Triple &TT,
177 void GCNSubtarget::checkSubtargetFeatures(const Function &F) const {
192 GCNSubtarget::GCNSubtarget(const Triple &TT, StringRef GPU, StringRef FS,
215 unsigned GCNSubtarget::getConstantBusLimit(unsigned Opcode) const {
243 bool GCNSubtarget::zeroesHigh16BitsOfDest(unsigned Opcode) const {
653 void GCNSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
670 void GCNSubtarget::mirFileLoaded(MachineFunction &MF) const {
681 bool GCNSubtarget::hasMadF16() const {
685 bool GCNSubtarget::useVGPRIndexMode() const {
689 bool GCNSubtarget::useAA() const { return UseAA; }
691 unsigned GCNSubtarget::getOccupancyWithNumSGPRs(unsigned SGPRs) const {
696 unsigned GCNSubtarget::getOccupancyWithNumVGPRs(unsigned NumVGPRs) const {
701 GCNSubtarget::getBaseReservedNumSGPRs(const bool HasFlatScratch) const {
717 unsigned GCNSubtarget::getReservedNumSGPRs(const MachineFunction &MF) const {
722 unsigned GCNSubtarget::getReservedNumSGPRs(const Function &F) const {
730 unsigned GCNSubtarget::computeOccupancy(const Function &F, unsigned LDSSize,
743 unsigned GCNSubtarget::getBaseMaxNumSGPRs(
790 unsigned GCNSubtarget::getMaxNumSGPRs(const MachineFunction &MF) const {
822 unsigned GCNSubtarget::getMaxNumSGPRs(const Function &F) const {
827 unsigned GCNSubtarget::getBaseMaxNumVGPRs(
857 unsigned GCNSubtarget::getMaxNumVGPRs(const Function &F) const {
861 unsigned GCNSubtarget::getMaxNumVGPRs(const MachineFunction &MF) const {
867 void GCNSubtarget::adjustSchedDependency(
967 const GCNSubtarget &ST = DAGInstrs->MF.getSubtarget<GCNSubtarget>();
1012 void GCNSubtarget::getPostRAMutations(
1018 GCNSubtarget::createFillMFMAShadowMutation(const TargetInstrInfo *TII) const {
1023 unsigned GCNSubtarget::getNSAThreshold(const MachineFunction &MF) const {
1040 return static_cast<const AMDGPUSubtarget&>(MF.getSubtarget<GCNSubtarget>());
1046 return static_cast<const AMDGPUSubtarget&>(TM.getSubtarget<GCNSubtarget>(F));
1052 const GCNSubtarget &ST)