LLVM 20.0.0git
Namespaces | Macros | Functions
AMDGPUMemoryUtils.cpp File Reference
#include "AMDGPUMemoryUtils.h"
#include "AMDGPU.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/SetOperations.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/MemorySSA.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/IR/ReplaceConstant.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::AMDGPU
 

Macros

#define DEBUG_TYPE   "amdgpu-memory-utils"
 

Functions

Align llvm::AMDGPU::getAlign (const DataLayout &DL, const GlobalVariable *GV)
 
TargetExtTypellvm::AMDGPU::isNamedBarrier (const GlobalVariable &GV)
 
bool llvm::AMDGPU::isDynamicLDS (const GlobalVariable &GV)
 
bool llvm::AMDGPU::isLDSVariableToLower (const GlobalVariable &GV)
 
bool llvm::AMDGPU::eliminateConstantExprUsesOfLDSFromAllInstructions (Module &M)
 
void llvm::AMDGPU::getUsesOfLDSByFunction (const CallGraph &CG, Module &M, FunctionVariableMap &kernels, FunctionVariableMap &Functions)
 
bool llvm::AMDGPU::isKernelLDS (const Function *F)
 
LDSUsesInfoTy llvm::AMDGPU::getTransitiveUsesOfLDS (const CallGraph &CG, Module &M)
 
void llvm::AMDGPU::removeFnAttrFromReachable (CallGraph &CG, Function *KernelRoot, ArrayRef< StringRef > FnAttrs)
 Strip FnAttr attribute from any functions where we may have introduced its use.
 
bool llvm::AMDGPU::isReallyAClobber (const Value *Ptr, MemoryDef *Def, AAResults *AA)
 Given a Def clobbering a load from Ptr according to the MSSA check if this is actually a memory update or an artificial clobber to facilitate ordering constraints.
 
bool llvm::AMDGPU::isClobberedInFunction (const LoadInst *Load, MemorySSA *MSSA, AAResults *AA)
 Check is a Load is clobbered in its function.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-memory-utils"

Definition at line 23 of file AMDGPUMemoryUtils.cpp.