LLVM 17.0.0git
Functions | Variables
AMDGPUMachineFunction.cpp File Reference
#include "AMDGPUMachineFunction.h"
#include "AMDGPU.h"
#include "AMDGPUPerfHintAnalysis.h"
#include "AMDGPUSubtarget.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Metadata.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Functions

static const GlobalVariablegetKernelLDSGlobalFromFunction (const Function &F)
 
static const GlobalVariablegetKernelDynLDSGlobalFromFunction (const Function &F)
 
static bool canElideModuleLDS (const Function &F)
 

Variables

static constexpr StringLiteral ModuleLDSName = "llvm.amdgcn.module.lds"
 

Function Documentation

◆ canElideModuleLDS()

static bool canElideModuleLDS ( const Function F)
static

Definition at line 112 of file AMDGPUMachineFunction.cpp.

References F.

Referenced by llvm::AMDGPUMachineFunction::allocateKnownAddressLDSGlobal().

◆ getKernelDynLDSGlobalFromFunction()

static const GlobalVariable * getKernelDynLDSGlobalFromFunction ( const Function F)
static

◆ getKernelLDSGlobalFromFunction()

static const GlobalVariable * getKernelLDSGlobalFromFunction ( const Function F)
static

Definition at line 94 of file AMDGPUMachineFunction.cpp.

References F.

Referenced by llvm::AMDGPUMachineFunction::allocateKnownAddressLDSGlobal().

Variable Documentation

◆ ModuleLDSName

constexpr StringLiteral ModuleLDSName = "llvm.amdgcn.module.lds"
staticconstexpr