|
LLVM
3.7.0
|
#include <AMDGPUMachineFunction.h>
Public Member Functions | |
| AMDGPUMachineFunction (const MachineFunction &MF) | |
| unsigned | getShaderType () const |
Public Member Functions inherited from llvm::MachineFunctionInfo | |
| virtual | ~MachineFunctionInfo () |
Public Attributes | |
| std::map< const GlobalValue *, unsigned > | LocalMemoryObjects |
| A map to keep track of local memory objects and their offsets within the local memory space. More... | |
| unsigned | LDSSize |
| Number of bytes in the LDS that are being used. More... | |
| unsigned | ABIArgOffset |
| Start of implicit kernel args. More... | |
| unsigned | ScratchSize |
| bool | IsKernel |
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... | |
Definition at line 21 of file AMDGPUMachineFunction.h.
| AMDGPUMachineFunction::AMDGPUMachineFunction | ( | const MachineFunction & | MF | ) |
Definition at line 12 of file AMDGPUMachineFunction.cpp.
References llvm::ARM_PROC::A, llvm::StringRef::getAsInteger(), llvm::Function::getFnAttribute(), llvm::MachineFunction::getFunction(), llvm::Attribute::getValueAsString(), llvm::Attribute::isStringAttribute(), llvm_unreachable, and ShaderTypeAttribute.
|
inline |
Definition at line 36 of file AMDGPUMachineFunction.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress(), llvm::SIMachineFunctionInfo::getMaximumWorkGroupSize(), llvm::SIRegisterInfo::getPreloadedValue(), llvm::AMDGPUSubtarget::isVGPRSpillingEnabled(), llvm::R600TargetLowering::LowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), llvm::R600InstrInfo::usesTextureCache(), and llvm::R600InstrInfo::usesVertexCache().
| unsigned llvm::AMDGPUMachineFunction::ABIArgOffset |
Start of implicit kernel args.
Definition at line 34 of file AMDGPUMachineFunction.h.
Referenced by llvm::AMDGPUTargetLowering::getImplicitParameterOffset(), llvm::R600TargetLowering::LowerFormalArguments(), and llvm::SITargetLowering::LowerFormalArguments().
| bool llvm::AMDGPUMachineFunction::IsKernel |
Definition at line 41 of file AMDGPUMachineFunction.h.
| unsigned llvm::AMDGPUMachineFunction::LDSSize |
Number of bytes in the LDS that are being used.
Definition at line 31 of file AMDGPUMachineFunction.h.
Referenced by llvm::SIInstrInfo::calculateLDSSpillAddress(), and llvm::AMDGPUTargetLowering::LowerGlobalAddress().
| std::map<const GlobalValue *, unsigned> llvm::AMDGPUMachineFunction::LocalMemoryObjects |
A map to keep track of local memory objects and their offsets within the local memory space.
Definition at line 29 of file AMDGPUMachineFunction.h.
Referenced by llvm::AMDGPUTargetLowering::LowerGlobalAddress().
| unsigned llvm::AMDGPUMachineFunction::ScratchSize |
Definition at line 40 of file AMDGPUMachineFunction.h.
1.8.6