LLVM
8.0.1
|
This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which interpolation parameters to load. More...
#include "Target/AMDGPU/SIMachineFunctionInfo.h"
Classes | |
struct | SGPRSpillVGPRCSR |
struct | SpilledReg |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
template<typename Ty > | |
static Ty * | create (BumpPtrAllocator &Allocator, MachineFunction &MF) |
Factory function: default behavior is to call new using the supplied allocator. More... | |
Protected Attributes inherited from llvm::AMDGPUMachineFunction | |
uint64_t | ExplicitKernArgSize |
unsigned | MaxKernArgAlign |
unsigned | LDSSize |
Number of bytes in the LDS that are being used. More... | |
bool | IsEntryFunction |
bool | NoSignedZerosFPMath |
bool | MemoryBound |
bool | WaveLimiter |
This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which interpolation parameters to load.
Definition at line 84 of file SIMachineFunctionInfo.h.
SIMachineFunctionInfo::SIMachineFunctionInfo | ( | const MachineFunction & | MF | ) |
Definition at line 30 of file SIMachineFunctionInfo.cpp.
References llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_KERNEL, llvm::CallingConv::AMDGPU_PS, llvm::StringRef::consumeInteger(), llvm::ArgDescriptor::createRegister(), llvm::GCNSubtarget::debuggerEmitPrologue(), llvm::StringRef::empty(), F(), llvm::AMDGPUSubtarget::getAlignmentForImplicitArgPtr(), llvm::AMDGPUSubtarget::getFlatWorkGroupSizes(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getFunction(), llvm::GCNSubtarget::getGeneration(), llvm::AMDGPU::getInitialPSInputAddr(), getMaxWavesPerEU(), llvm::MachineFunction::getSubtarget(), llvm::Attribute::getValueAsString(), llvm::AMDGPUSubtarget::getWavesPerEU(), llvm::AMDGPUSubtarget::GFX9, llvm::GCNSubtarget::hasFlatAddressSpace(), llvm::MachineFrameInfo::hasStackObjects(), llvm::AMDGPUSubtarget::isAmdHsaOrMesa(), llvm::AMDGPUMachineFunction::isEntryFunction(), llvm::GCNSubtarget::isMesaGfxShader(), limitOccupancy(), llvm::max(), llvm::AMDGPUMachineFunction::MaxKernArgAlign, llvm::AMDGPUFunctionArgInfo::PrivateSegmentBuffer, llvm::AMDGPUFunctionArgInfo::PrivateSegmentWaveByteOffset, llvm::CallingConv::SPIR_KERNEL, and llvm::ARM_MB::ST.
unsigned SIMachineFunctionInfo::addDispatchID | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 212 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::AMDGPUFunctionArgInfo::DispatchID, and llvm::ArgDescriptor::getRegister().
Referenced by allocateHSAUserSGPRs(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
unsigned SIMachineFunctionInfo::addDispatchPtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 190 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::AMDGPUFunctionArgInfo::DispatchPtr, and llvm::ArgDescriptor::getRegister().
Referenced by allocateHSAUserSGPRs(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
unsigned SIMachineFunctionInfo::addFlatScratchInit | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 219 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::AMDGPUFunctionArgInfo::FlatScratchInit, and llvm::ArgDescriptor::getRegister().
Referenced by allocateHSAUserSGPRs(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
unsigned SIMachineFunctionInfo::addImplicitBufferPtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 226 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::ImplicitBufferPtr.
Referenced by allocateHSAUserSGPRs().
unsigned SIMachineFunctionInfo::addKernargSegmentPtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 204 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::KernargSegmentPtr.
Referenced by allocateHSAUserSGPRs(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
unsigned SIMachineFunctionInfo::addPrivateSegmentBuffer | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 181 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::PrivateSegmentBuffer.
Referenced by allocateHSAUserSGPRs(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
|
inline |
Definition at line 301 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::PrivateSegmentWaveByteOffset.
Referenced by allocateSystemSGPRs().
unsigned SIMachineFunctionInfo::addQueuePtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 197 of file SIMachineFunctionInfo.cpp.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::QueuePtr.
Referenced by allocateHSAUserSGPRs(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
|
inline |
Definition at line 500 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::spillSGPR().
|
inline |
Definition at line 504 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().
|
inline |
Definition at line 264 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::WorkGroupIDX.
Referenced by allocateSystemSGPRs().
|
inline |
Definition at line 270 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::WorkGroupIDY.
Referenced by allocateSystemSGPRs().
|
inline |
Definition at line 276 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::WorkGroupIDZ.
Referenced by allocateSystemSGPRs().
|
inline |
Definition at line 282 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::createRegister(), llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::WorkGroupInfo.
Referenced by allocateSystemSGPRs().
bool SIMachineFunctionInfo::allocateSGPRSpillToVGPR | ( | MachineFunction & | MF, |
int | FI | ||
) |
Reserve a slice of a VGPR to support spilling for FrameIndex FI
.
Definition at line 243 of file SIMachineFunctionInfo.cpp.
References assert(), llvm::MachineFrameInfo::CreateSpillStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineFunction::getRegInfo(), llvm::GCNSubtarget::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::AMDGPUSubtarget::getWavefrontSize(), llvm::MachineFrameInfo::hasCalls(), I, isCalleeSavedReg(), llvm::AMDGPUMachineFunction::isEntryFunction(), MRI, Size, llvm::ARM_MB::ST, and TRI.
Referenced by llvm::SIFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 397 of file SIMachineFunctionInfo.h.
Referenced by isStackPtrRelative().
|
inline |
Definition at line 376 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialInputSGPRs(), llvm::SITargetLowering::LowerFormalArguments(), and llvm::SITargetLowering::passSpecialInputs().
|
inline |
Definition at line 380 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 615 of file SIMachineFunctionInfo.h.
References assert().
Referenced by llvm::SITargetLowering::getTgtMemIntrinsic().
|
inline |
Definition at line 246 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::isEligibleForTailCallOptimization().
|
inline |
Dim's
work group ID. Definition at line 569 of file SIMachineFunctionInfo.h.
References assert().
Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().
|
inline |
Dim's
work item ID. Definition at line 581 of file SIMachineFunctionInfo.h.
References assert().
Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().
Definition at line 538 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 428 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex(), llvm::SITargetLowering::EmitInstrWithCustomInserter(), llvm::SIFrameLowering::emitPrologue(), llvm::SITargetLowering::finalizeLowering(), llvm::SIRegisterInfo::getFrameRegister(), llvm::SIRegisterInfo::getReservedRegs(), isStackPtrRelative(), llvm::SIInstrInfo::loadRegFromStackSlot(), llvm::SITargetLowering::LowerCall(), llvm::SITargetLowering::LowerFormalArguments(), llvm::SIRegisterInfo::restoreSGPR(), llvm::SIRegisterInfo::spillSGPR(), and llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 393 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue().
|
inline |
Definition at line 624 of file SIMachineFunctionInfo.h.
References assert().
Referenced by llvm::SITargetLowering::getTgtMemIntrinsic().
|
inline |
Definition at line 456 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::ImplicitBufferPtr.
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue().
|
inline |
Definition at line 611 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 548 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
|
inline |
Definition at line 564 of file SIMachineFunctionInfo.h.
Referenced by limitOccupancy(), and SIMachineFunctionInfo().
|
inline |
Definition at line 637 of file SIMachineFunctionInfo.h.
Referenced by llvm::GCNScheduleDAGMILive::schedule(), llvm::GCNIterativeScheduler::scheduleILP(), and llvm::GCNIterativeScheduler::scheduleLegacyMaxOccupancy().
|
inline |
Definition at line 543 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 559 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 405 of file SIMachineFunctionInfo.h.
Referenced by getAllSGPRs(), and llvm::GCNSubtarget::getMaxNumSGPRs().
|
inline |
Definition at line 492 of file SIMachineFunctionInfo.h.
References llvm::AMDGPU::HSAMD::Kernel::CodeProps::Key::NumSpilledSGPRs.
Referenced by getRsrcReg().
|
inline |
Definition at line 496 of file SIMachineFunctionInfo.h.
References llvm::AMDGPU::HSAMD::Kernel::CodeProps::Key::NumSpilledVGPRs.
Referenced by getRsrcReg().
|
inline |
Definition at line 401 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 633 of file SIMachineFunctionInfo.h.
Referenced by llvm::GCNScheduleDAGMILive::schedule(), and llvm::GCNIterativeScheduler::scheduleMinReg().
|
inline |
Definition at line 389 of file SIMachineFunctionInfo.h.
References llvm::AMDGPUFunctionArgInfo::getPreloadedValue().
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress(), getAllSGPRs(), llvm::AMDGPUCallLowering::lowerReturn(), and reservePrivateMemoryRegs().
|
inline |
Definition at line 385 of file SIMachineFunctionInfo.h.
References llvm::AMDGPUFunctionArgInfo::getPreloadedValue().
Referenced by getConstant(), and llvm::SITargetLowering::isTypeDesirableForOp().
|
inline |
Definition at line 409 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::PrivateSegmentWaveByteOffset.
Referenced by allocateSystemSGPRs().
|
inline |
Definition at line 508 of file SIMachineFunctionInfo.h.
Referenced by getRsrcReg(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 512 of file SIMachineFunctionInfo.h.
Referenced by getRsrcReg(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 452 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::getRegister(), and llvm::AMDGPUFunctionArgInfo::QueuePtr.
Referenced by findUser().
|
inline |
Returns the physical register reserved for use as the resource descriptor for scratch accesses.
Definition at line 415 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::finalizeLowering(), getAllSGPRs(), llvm::SIRegisterInfo::getReservedRegs(), isStackPtrRelative(), llvm::SIInstrInfo::loadRegFromStackSlot(), llvm::SITargetLowering::LowerCall(), llvm::SITargetLowering::LowerFormalArguments(), llvm::SIRegisterInfo::restoreSGPR(), llvm::SIRegisterInfo::spillSGPR(), and llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 424 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex(), llvm::SITargetLowering::finalizeLowering(), getAllSGPRs(), llvm::SIRegisterInfo::getReservedRegs(), isStackPtrRelative(), llvm::SITargetLowering::LowerCall(), llvm::SITargetLowering::LowerFormalArguments(), and llvm::SIRegisterInfo::spillSGPR().
|
inline |
Definition at line 235 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::emitEpilogue(), and llvm::SIFrameLowering::emitPrologue().
|
inline |
Definition at line 229 of file SIMachineFunctionInfo.h.
References llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::find(), I, and llvm::makeArrayRef().
Referenced by llvm::SIRegisterInfo::restoreSGPR(), and llvm::SIRegisterInfo::spillSGPR().
|
inline |
Definition at line 441 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::determineCalleeSaves(), llvm::SIFrameLowering::eliminateCallFramePseudoInstr(), llvm::SIFrameLowering::emitEpilogue(), llvm::SITargetLowering::EmitInstrWithCustomInserter(), llvm::SIFrameLowering::emitPrologue(), llvm::SITargetLowering::finalizeLowering(), getAllSGPRs(), llvm::SIRegisterInfo::getReservedRegs(), isStackPtrRelative(), and llvm::SIRegisterInfo::spillSGPR().
|
inline |
Definition at line 243 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
Definition at line 554 of file SIMachineFunctionInfo.h.
Referenced by llvm::GCNSubtarget::getMaxNumSGPRs(), and llvm::GCNSubtarget::getMaxNumVGPRs().
Dim's
work group ID. Definition at line 593 of file SIMachineFunctionInfo.h.
References assert(), llvm::ArgDescriptor::getRegister(), llvm_unreachable, llvm::AMDGPUFunctionArgInfo::WorkGroupIDX, llvm::AMDGPUFunctionArgInfo::WorkGroupIDY, and llvm::AMDGPUFunctionArgInfo::WorkGroupIDZ.
Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().
Dim'
work item ID. Definition at line 310 of file SIMachineFunctionInfo.cpp.
References assert(), hasWorkItemIDX(), hasWorkItemIDY(), hasWorkItemIDZ(), and llvm_unreachable.
Referenced by llvm::SIFrameLowering::eliminateCallFramePseudoInstr().
|
inline |
Definition at line 242 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
|
inline |
Definition at line 328 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), allocateSpecialInputSGPRs(), llvm::AMDGPUAsmPrinter::doFinalization(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
|
inline |
Definition at line 316 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), allocateSpecialInputSGPRs(), llvm::AMDGPUAsmPrinter::doFinalization(), llvm::AMDGPUCallLowering::lowerFormalArguments(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 332 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), llvm::AMDGPUAsmPrinter::doFinalization(), getFPTernOp(), getLoadExtOrTrunc(), llvm::GCNSubtarget::getReservedNumSGPRs(), hasAnyNonFlatUseOfReg(), llvm::AMDGPUCallLowering::lowerFormalArguments(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 368 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialInputSGPRs().
|
inline |
Definition at line 372 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), and llvm::SIFrameLowering::emitEntryFunctionPrologue().
|
inline |
Definition at line 324 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), allocateSpecialInputSGPRs(), llvm::AMDGPUAsmPrinter::doFinalization(), llvm::AMDGPUCallLowering::lowerFormalArguments(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 476 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 312 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), llvm::AMDGPUAsmPrinter::doFinalization(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
|
inline |
Definition at line 352 of file SIMachineFunctionInfo.h.
Referenced by allocateSystemSGPRs().
|
inline |
Definition at line 320 of file SIMachineFunctionInfo.h.
Referenced by allocateHSAUserSGPRs(), allocateSpecialInputSGPRs(), llvm::AMDGPUAsmPrinter::doFinalization(), and llvm::AMDGPUCallLowering::lowerFormalArguments().
|
inline |
Definition at line 460 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 468 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 336 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialInputSGPRs(), allocateSystemSGPRs(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 340 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialInputSGPRs(), allocateSystemSGPRs(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 344 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialInputSGPRs(), allocateSystemSGPRs(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 348 of file SIMachineFunctionInfo.h.
Referenced by allocateSystemSGPRs(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 356 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialEntryInputVGPRs(), allocateSpecialInputVGPRs(), getWorkItemIDVGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 360 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialEntryInputVGPRs(), allocateSpecialInputVGPRs(), getWorkItemIDVGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 364 of file SIMachineFunctionInfo.h.
Referenced by allocateSpecialEntryInputVGPRs(), allocateSpecialInputVGPRs(), getWorkItemIDVGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 650 of file SIMachineFunctionInfo.h.
Referenced by llvm::GCNIterativeScheduler::tryMaximizeOccupancy().
Definition at line 516 of file SIMachineFunctionInfo.h.
Referenced by llvm::AMDGPUCallLowering::lowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), and processShaderInputArgs().
|
inline |
Definition at line 484 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::emitEpilogue(), and hasAnyNonFlatUseOfReg().
void SIMachineFunctionInfo::limitOccupancy | ( | const MachineFunction & | MF | ) |
Definition at line 174 of file SIMachineFunctionInfo.cpp.
References llvm::MachineFunction::getFunction(), llvm::AMDGPUMachineFunction::getLDSSize(), getMaxWavesPerEU(), llvm::AMDGPUSubtarget::getOccupancyWithLocalMemSize(), llvm::MachineFunction::getSubtarget(), and llvm::ARM_MB::ST.
Referenced by llvm::SITargetLowering::finalizeLowering(), llvm::GCNScheduleDAGMILive::schedule(), and SIMachineFunctionInfo().
|
inline |
Definition at line 645 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 520 of file SIMachineFunctionInfo.h.
Referenced by llvm::AMDGPUCallLowering::lowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), and processShaderInputArgs().
|
inline |
Definition at line 524 of file SIMachineFunctionInfo.h.
Referenced by llvm::AMDGPUCallLowering::lowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), and processShaderInputArgs().
void SIMachineFunctionInfo::removeSGPRToVGPRFrameIndices | ( | MachineFrameInfo & | MFI | ) |
Definition at line 303 of file SIMachineFunctionInfo.cpp.
References llvm::MachineFrameInfo::RemoveStackObject().
Referenced by llvm::SIFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 528 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::insertReturn(), and llvm::SITargetLowering::LowerReturn().
|
inline |
Definition at line 250 of file SIMachineFunctionInfo.h.
References TRI.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Sets stack object index for Dim's
work group ID to ObjectIdx
.
Definition at line 575 of file SIMachineFunctionInfo.h.
References assert().
Referenced by findUser().
|
inline |
Sets stack object index for Dim's
work item ID to ObjectIdx
.
Definition at line 587 of file SIMachineFunctionInfo.h.
References assert().
Referenced by findUser().
Definition at line 480 of file SIMachineFunctionInfo.h.
Referenced by reservePrivateMemoryRegs().
Definition at line 464 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::loadRegFromStackSlot(), and llvm::SIInstrInfo::storeRegToStackSlot().
Definition at line 472 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 532 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerReturn().
Definition at line 488 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIFrameLowering::emitPrologue().
|
inline |
Definition at line 308 of file SIMachineFunctionInfo.h.
References llvm::ArgDescriptor::createRegister(), and llvm::AMDGPUFunctionArgInfo::PrivateSegmentWaveByteOffset.
Referenced by allocateSystemSGPRs().
|
inline |
Definition at line 419 of file SIMachineFunctionInfo.h.
Referenced by getAllSGPRs(), and reservePrivateMemoryRegs().
|
inline |
Definition at line 445 of file SIMachineFunctionInfo.h.
Referenced by getAllSGPRs(), and reservePrivateMemoryRegs().
|
inline |
Definition at line 432 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::finalizeLowering().
|
inline |
Definition at line 244 of file SIMachineFunctionInfo.h.
References Reg.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
|
inline |
Definition at line 289 of file SIMachineFunctionInfo.h.
References Arg, and llvm::AMDGPUFunctionArgInfo::WorkItemIDX.
Referenced by allocateSpecialEntryInputVGPRs(), and allocateSpecialInputVGPRs().
|
inline |
Definition at line 293 of file SIMachineFunctionInfo.h.
References Arg, and llvm::AMDGPUFunctionArgInfo::WorkItemIDY.
Referenced by allocateSpecialEntryInputVGPRs(), and allocateSpecialInputVGPRs().
|
inline |
Definition at line 297 of file SIMachineFunctionInfo.h.
References Arg, and llvm::AMDGPUFunctionArgInfo::WorkItemIDZ.
Referenced by allocateSpecialEntryInputVGPRs(), and allocateSpecialInputVGPRs().