LLVM API Documentation
#include <AMDGPUMachineFunction.h>
Public Member Functions | |
AMDGPUMachineFunction (const MachineFunction &MF) | |
unsigned | getShaderType () const |
Public Attributes | |
std::map< const GlobalValue *, unsigned > | LocalMemoryObjects |
unsigned | LDSSize |
Number of bytes in the LDS that are being used. | |
unsigned | ScratchSize |
bool | IsKernel |
Definition at line 21 of file AMDGPUMachineFunction.h.
Definition at line 12 of file AMDGPUMachineFunction.cpp.
References llvm::ARM_PROC::A, llvm::AttributeSet::FunctionIndex, llvm::StringRef::getAsInteger(), llvm::AttributeSet::getAttribute(), llvm::Function::getAttributes(), llvm::MachineFunction::getFunction(), llvm::Attribute::getValueAsString(), llvm::Attribute::isStringAttribute(), llvm_unreachable, and ShaderTypeAttribute.
unsigned llvm::AMDGPUMachineFunction::getShaderType | ( | ) | const [inline] |
Definition at line 33 of file AMDGPUMachineFunction.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments(), llvm::R600InstrInfo::usesTextureCache(), and llvm::R600InstrInfo::usesVertexCache().
Definition at line 38 of file AMDGPUMachineFunction.h.
Number of bytes in the LDS that are being used.
Definition at line 31 of file AMDGPUMachineFunction.h.
Referenced by llvm::AMDGPUTargetLowering::LowerGlobalAddress().
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().
Definition at line 37 of file AMDGPUMachineFunction.h.