|
LLVM
4.0.0
|
This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which interpolation parameters to load. More...
#include <SIMachineFunctionInfo.h>
Classes | |
| struct | SpilledReg |
Public Attributes | |
| unsigned | LDSWaveSpillSize |
| unsigned | PSInputEna |
| std::map< unsigned, unsigned > | LaneVGPRs |
| unsigned | ScratchOffsetReg |
| unsigned | NumUserSGPRs |
| unsigned | NumSystemSGPRs |
Friends | |
| class | SIRegisterInfo |
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... | |
This class keeps track of the SPI_SP_INPUT_ADDR config register, which tells the hardware which interpolation parameters to load.
Definition at line 76 of file SIMachineFunctionInfo.h.
| SIMachineFunctionInfo::SIMachineFunctionInfo | ( | const MachineFunction & | MF | ) |
Definition at line 29 of file SIMachineFunctionInfo.cpp.
| unsigned SIMachineFunctionInfo::addDispatchID | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 175 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned SIMachineFunctionInfo::addDispatchPtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 154 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned SIMachineFunctionInfo::addFlatScratchInit | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 182 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned SIMachineFunctionInfo::addKernargSegmentPtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 168 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned SIMachineFunctionInfo::addPrivateMemoryPtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 189 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned SIMachineFunctionInfo::addPrivateSegmentBuffer | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 146 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 236 of file SIMachineFunctionInfo.h.
References NumSystemSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned SIMachineFunctionInfo::addQueuePtr | ( | const SIRegisterInfo & | TRI | ) |
Definition at line 161 of file SIMachineFunctionInfo.cpp.
References NumUserSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 390 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::spillSGPR().
|
inline |
Definition at line 394 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex().
|
inline |
Definition at line 212 of file SIMachineFunctionInfo.h.
References NumSystemSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 218 of file SIMachineFunctionInfo.h.
References NumSystemSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 224 of file SIMachineFunctionInfo.h.
References NumSystemSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 230 of file SIMachineFunctionInfo.h.
References NumSystemSGPRs.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 506 of file SIMachineFunctionInfo.h.
|
inline |
Dim's work group ID. Definition at line 451 of file SIMachineFunctionInfo.h.
References assert().
|
inline |
Dim's work item ID. Definition at line 463 of file SIMachineFunctionInfo.h.
References assert().
Definition at line 420 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 510 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 430 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
|
inline |
Definition at line 446 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 425 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 441 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 322 of file SIMachineFunctionInfo.h.
References NumSystemSGPRs, and NumUserSGPRs.
|
inline |
Definition at line 382 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 386 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 318 of file SIMachineFunctionInfo.h.
References NumUserSGPRs.
|
inline |
Definition at line 354 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 326 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 398 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 350 of file SIMachineFunctionInfo.h.
|
inline |
Returns the physical register reserved for use as the resource descriptor for scratch accesses.
Definition at line 332 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getReservedRegs(), llvm::SIInstrInfo::loadRegFromStackSlot(), llvm::SIRegisterInfo::restoreSGPR(), llvm::SIRegisterInfo::spillSGPR(), and llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 341 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getReservedRegs(), llvm::SIInstrInfo::loadRegFromStackSlot(), llvm::SIRegisterInfo::restoreSGPR(), llvm::SIRegisterInfo::spillSGPR(), and llvm::SIInstrInfo::storeRegToStackSlot().
| SIMachineFunctionInfo::SpilledReg SIMachineFunctionInfo::getSpilledReg | ( | MachineFunction * | MF, |
| unsigned | FrameIndex, | ||
| unsigned | SubIdx | ||
| ) |
Definition at line 196 of file SIMachineFunctionInfo.cpp.
References llvm::MachineFunction::begin(), EnableSpillSGPRToVGPR, llvm::MachineFunction::end(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFrameInfo::getObjectOffset(), llvm::MachineFunction::getRegInfo(), llvm::SISubtarget::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::SIMachineFunctionInfo::SpilledReg::Lane, LaneVGPRs, MRI, Offset, llvm::ARM_MB::ST, and llvm::SIMachineFunctionInfo::SpilledReg::VGPR.
Referenced by llvm::SIRegisterInfo::restoreSGPR(), and llvm::SIRegisterInfo::spillSGPR().
|
inline |
Definition at line 199 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
Definition at line 436 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getMaxNumSGPRs(), and llvm::SIRegisterInfo::getMaxNumVGPRs().
Dim's work group ID. Definition at line 475 of file SIMachineFunctionInfo.h.
References assert(), hasWorkGroupIDX(), hasWorkGroupIDY(), hasWorkGroupIDZ(), and llvm_unreachable.
Dim' work item ID. Definition at line 491 of file SIMachineFunctionInfo.h.
References assert(), hasWorkItemIDX(), hasWorkItemIDY(), hasWorkItemIDZ(), and llvm_unreachable.
|
inline |
Definition at line 198 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
|
inline |
Definition at line 262 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 250 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 266 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getNumReservedSGPRs(), llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 270 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 274 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 278 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 258 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 374 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 314 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 246 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 298 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 254 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 358 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 366 of file SIMachineFunctionInfo.h.
|
inline |
Definition at line 282 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), getWorkGroupIDSGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 286 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), getWorkGroupIDSGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 290 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), getWorkGroupIDSGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 294 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 302 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), getWorkItemIDVGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 306 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), getWorkItemIDVGPR(), and llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 310 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIRegisterInfo::getPreloadedValue(), getWorkItemIDVGPR(), and llvm::SITargetLowering::LowerFormalArguments().
Definition at line 402 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 406 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 410 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerReturn().
|
inline |
Sets stack object index for Dim's work group ID to ObjectIdx.
Definition at line 457 of file SIMachineFunctionInfo.h.
References assert().
|
inline |
Sets stack object index for Dim's work item ID to ObjectIdx.
Definition at line 469 of file SIMachineFunctionInfo.h.
References assert().
Definition at line 378 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
Definition at line 362 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::storeRegToStackSlot().
Definition at line 370 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 414 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerReturn().
|
inline |
Definition at line 242 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 336 of file SIMachineFunctionInfo.h.
References assert().
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 345 of file SIMachineFunctionInfo.h.
References assert().
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 200 of file SIMachineFunctionInfo.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress().
|
friend |
Definition at line 78 of file SIMachineFunctionInfo.h.
Definition at line 134 of file SIMachineFunctionInfo.h.
Referenced by getSpilledReg().
| unsigned llvm::SIMachineFunctionInfo::LDSWaveSpillSize |
Definition at line 132 of file SIMachineFunctionInfo.h.
| unsigned llvm::SIMachineFunctionInfo::NumSystemSGPRs |
Definition at line 137 of file SIMachineFunctionInfo.h.
Referenced by addPrivateSegmentWaveByteOffset(), addWorkGroupIDX(), addWorkGroupIDY(), addWorkGroupIDZ(), addWorkGroupInfo(), and getNumPreloadedSGPRs().
| unsigned llvm::SIMachineFunctionInfo::NumUserSGPRs |
Definition at line 136 of file SIMachineFunctionInfo.h.
Referenced by addDispatchID(), addDispatchPtr(), addFlatScratchInit(), addKernargSegmentPtr(), addPrivateMemoryPtr(), addPrivateSegmentBuffer(), addQueuePtr(), getNumPreloadedSGPRs(), and getNumUserSGPRs().
| unsigned llvm::SIMachineFunctionInfo::PSInputEna |
Definition at line 133 of file SIMachineFunctionInfo.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
| unsigned llvm::SIMachineFunctionInfo::ScratchOffsetReg |
Definition at line 135 of file SIMachineFunctionInfo.h.
1.8.6