LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::AMDGPUMachineFunction Class Reference

#include <AMDGPUMachineFunction.h>

Inheritance diagram for llvm::AMDGPUMachineFunction:
[legend]
Collaboration diagram for llvm::AMDGPUMachineFunction:
[legend]

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...
 

Detailed Description

Definition at line 21 of file AMDGPUMachineFunction.h.

Constructor & Destructor Documentation

AMDGPUMachineFunction::AMDGPUMachineFunction ( const MachineFunction MF)

Member Function Documentation

unsigned llvm::AMDGPUMachineFunction::getShaderType ( ) const
inline

Member Data Documentation

unsigned llvm::AMDGPUMachineFunction::ABIArgOffset
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.


The documentation for this class was generated from the following files: