clang  8.0.0svn
Macros | Functions
CGOpenCLRuntime.cpp File Reference
#include "CGOpenCLRuntime.h"
#include "CodeGenFunction.h"
#include "TargetInfo.h"
#include "clang/CodeGen/ConstantInitBuilder.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalValue.h"
#include <assert.h>
#include "clang/Basic/OpenCLImageTypes.def"
Include dependency graph for CGOpenCLRuntime.cpp:

Go to the source code of this file.

Macros

#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)
 

Functions

static const BlockExprgetBlockExpr (const Expr *E)
 

Macro Definition Documentation

◆ IMAGE_TYPE

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)
Value:
return llvm::PointerType::get( \
llvm::StructType::create(Ctx, "opencl." #ImgType "_" #Suffix "_t"), \
AddrSpc);
int Id
Definition: ASTDiff.cpp:191
std::unique_ptr< DiagnosticConsumer > create(StringRef OutputFile, DiagnosticOptions *Diags, bool MergeChildRecords=false)
Returns a DiagnosticConsumer that serializes diagnostics to a bitcode file.

Function Documentation

◆ getBlockExpr()

static const BlockExpr* getBlockExpr ( const Expr E)
static

Definition at line 126 of file CGOpenCLRuntime.cpp.