LLVM API Documentation
#include <AMDGPUMachineFunction.h>
Public Member Functions | |
AMDGPUMachineFunction (const MachineFunction &MF) | |
![]() | |
virtual | ~MachineFunctionInfo () |
Public Attributes | |
unsigned | ShaderType |
std::map< const GlobalValue *, unsigned > | LocalMemoryObjects |
unsigned | LDSSize |
Number of bytes in the LDS that are being used. 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, ShaderType::COMPUTE, llvm::StringRef::getAsInteger(), llvm::AttributeSet::getAttribute(), llvm::Function::getAttributes(), llvm::MachineFunction::getFunction(), llvm::Attribute::getValueAsString(), llvm::Attribute::isStringAttribute(), LDSSize, llvm_unreachable, ShaderType, and ShaderTypeAttribute.
unsigned llvm::AMDGPUMachineFunction::LDSSize |
Number of bytes in the LDS that are being used.
Definition at line 30 of file AMDGPUMachineFunction.h.
Referenced by AMDGPUMachineFunction(), llvm::AMDGPUAsmPrinter::EmitProgramInfoR600(), llvm::AMDGPUAsmPrinter::EmitProgramInfoSI(), 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 28 of file AMDGPUMachineFunction.h.
Referenced by llvm::AMDGPUTargetLowering::LowerGlobalAddress().
unsigned llvm::AMDGPUMachineFunction::ShaderType |
Definition at line 25 of file AMDGPUMachineFunction.h.
Referenced by AMDGPUMachineFunction(), llvm::AMDGPUAsmPrinter::EmitProgramInfoR600(), llvm::AMDGPUAsmPrinter::EmitProgramInfoSI(), llvm::SITargetLowering::LowerFormalArguments(), llvm::R600InstrInfo::usesTextureCache(), and llvm::R600InstrInfo::usesVertexCache().