clang  19.0.0git
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"

Go to the source code of this file.

Macros

#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)
 
#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)
 
#define IMAGE_WRITE_TYPE(Type, Id, Ext)
 
#define IMAGE_READ_WRITE_TYPE(Type, Id, Ext)
 

Functions

static const BlockExprgetBlockExpr (const Expr *E)
 

Macro Definition Documentation

◆ IMAGE_READ_WRITE_TYPE

#define IMAGE_READ_WRITE_TYPE (   Type,
  Id,
  Ext 
)

◆ IMAGE_TYPE [1/2]

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)
Value:
return llvm::IntegerType::getInt64Ty(CGM.getLLVMContext());
int Id
Definition: ASTDiff.cpp:190

◆ IMAGE_TYPE [2/2]

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)
Value:
case BuiltinType::Sampled##Id: \
return llvm::StructType::get( \
llvm::IntegerType::getInt64Ty(CGM.getLLVMContext()), \
llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()));

◆ IMAGE_WRITE_TYPE

#define IMAGE_WRITE_TYPE (   Type,
  Id,
  Ext 
)

Function Documentation

◆ getBlockExpr()

static const BlockExpr* getBlockExpr ( const Expr E)
static