16 #ifndef LLVM_CLANG_LIB_CODEGEN_CGOPENCLRUNTIME_H
17 #define LLVM_CLANG_LIB_CODEGEN_CGOPENCLRUNTIME_H
20 #include "llvm/IR/Type.h"
21 #include "llvm/IR/Value.h"
29 class CodeGenFunction;
C Language Family Type Representation.
The base class of the type hierarchy.
virtual llvm::Value * getPipeElemAlign(const Expr *PipeArg)
VarDecl - An instance of this class is created to represent a variable declaration or definition...
CodeGenFunction - This class organizes the per-function state that is used while generating LLVM code...
virtual ~CGOpenCLRuntime()
virtual llvm::Type * convertOpenCLSpecificType(const Type *T)
Expr - This represents one expression.
virtual void EmitWorkGroupLocalVarDecl(CodeGenFunction &CGF, const VarDecl &D)
Emit the IR required for a work-group-local variable declaration, and add an entry to CGF's LocalDecl...
virtual llvm::Value * getPipeElemSize(const Expr *PipeArg)
llvm::PointerType * SamplerTy
The l-value was considered opaque, so the alignment was determined from a type.
CGOpenCLRuntime(CodeGenModule &CGM)
This class organizes the cross-function state that is used while generating LLVM code.
llvm::PointerType * getSamplerType()
virtual llvm::Type * getPipeType()