LLVM  14.0.0git
Namespaces | Functions
AMDGPULDSUtils.h File Reference
#include "AMDGPU.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/IR/Constants.h"
Include dependency graph for AMDGPULDSUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 
 llvm::AMDGPU
 

Functions

void llvm::AMDGPU::collectReachableCallees (Module &M, DenseMap< Function *, SmallPtrSet< Function *, 8 >> &KernelToCallees)
 Collect reachable callees for each kernel defined in the module M and return collected callees at KernelToCallees. More...
 
SmallPtrSet< Function *, 8 > llvm::AMDGPU::collectNonKernelAccessorsOfLDS (GlobalVariable *GV)
 For the given LDS global GV, visit all its users and collect all non-kernel functions within which GV is used and return collected list of such non-kernel functions. More...
 
DenseMap< Function *, SmallPtrSet< Instruction *, 8 > > llvm::AMDGPU::getFunctionToInstsMap (User *U, bool CollectKernelInsts)
 Collect all the instructions where user U belongs to. More...
 
bool llvm::AMDGPU::isKernelCC (const Function *Func)
 
Align llvm::AMDGPU::getAlign (DataLayout const &DL, const GlobalVariable *GV)
 
bool llvm::AMDGPU::hasUserInstruction (const GlobalValue *GV)
 
bool llvm::AMDGPU::shouldLowerLDSToStruct (const GlobalVariable &GV, const Function *F)
 
std::vector< GlobalVariable * > llvm::AMDGPU::findVariablesToLower (Module &M, const Function *F)
 
SmallPtrSet< GlobalValue *, 32 > llvm::AMDGPU::getUsedList (Module &M)
 
void llvm::AMDGPU::replaceConstantUsesInFunction (ConstantExpr *C, const Function *F)
 Replace all uses of constant C with instructions in F. More...