LLVM  4.0.0
Macros | Functions
AMDGPUAnnotateKernelFeatures.cpp File Reference
#include "AMDGPU.h"
#include "llvm/ADT/Triple.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
Include dependency graph for AMDGPUAnnotateKernelFeatures.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-annotate-kernel-features"
 

Functions

 INITIALIZE_PASS (AMDGPUAnnotateKernelFeatures, DEBUG_TYPE,"Add AMDGPU function attributes", false, false) static bool castRequiresQueuePtr(unsigned SrcAS)
 
static bool castRequiresQueuePtr (const AddrSpaceCastInst *ASC)
 

Macro Definition Documentation

#define DEBUG_TYPE   "amdgpu-annotate-kernel-features"

Definition at line 21 of file AMDGPUAnnotateKernelFeatures.cpp.

Function Documentation

static bool castRequiresQueuePtr ( const AddrSpaceCastInst ASC)
static
INITIALIZE_PASS ( AMDGPUAnnotateKernelFeatures  ,
DEBUG_TYPE  ,
"Add AMDGPU function attributes ,
false  ,
false   
)