LLVM  8.0.1
Macros | Functions
AMDGPUOpenCLEnqueuedBlockLowering.cpp File Reference
#include "AMDGPU.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/User.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for AMDGPUOpenCLEnqueuedBlockLowering.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-lower-enqueued-block"
 

Functions

 INITIALIZE_PASS (AMDGPUOpenCLEnqueuedBlockLowering, DEBUG_TYPE, "Lower OpenCL enqueued blocks", false, false) ModulePass *llvm
 
static void collectCallers (Function *F, DenseSet< Function *> &Callers)
 Collect direct or indrect callers of F and save them to Callers. More...
 
static void collectFunctionUsers (User *U, DenseSet< Function *> &Funcs)
 If U is instruction or constant, collect functions which directly or indirectly use it. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-lower-enqueued-block"

Definition at line 48 of file AMDGPUOpenCLEnqueuedBlockLowering.cpp.

Function Documentation

◆ collectCallers()

static void collectCallers ( Function F,
DenseSet< Function *> &  Callers 
)
static

◆ collectFunctionUsers()

static void collectFunctionUsers ( User U,
DenseSet< Function *> &  Funcs 
)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AMDGPUOpenCLEnqueuedBlockLowering  ,
DEBUG_TYPE  ,
"Lower OpenCL enqueued blocks"  ,
false  ,
false   
)

Definition at line 72 of file AMDGPUOpenCLEnqueuedBlockLowering.cpp.