Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
clang 20.0.0git
SemaOpenCL.cpp File Reference

This file implements semantic analysis for OpenCL. More...

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

static bool clang::isBlockPointer (Expr *Arg)
 
static bool clang::checkBlockArgs (Sema &S, Expr *BlockArg)
 OpenCL C v2.0, s6.13.17.2 - Checks that the block parameters are all local void*, which is a requirement of device side enqueue.
 
static bool clang::checkOpenCLEnqueueIntType (Sema &S, Expr *E, const QualType &IntT)
 Diagnose integer type and any valid implicit conversion to it.
 
static bool clang::checkOpenCLEnqueueLocalSizeArgs (Sema &S, CallExpr *TheCall, unsigned Start, unsigned End)
 
static bool clang::checkOpenCLEnqueueVariadicArgs (Sema &S, CallExpr *TheCall, Expr *BlockArg, unsigned NumNonVarArgs)
 OpenCL v2.0, s6.13.17.1 - Check that sizes are provided for all 'local void*' parameter of passed block.
 
static OpenCLAccessAttr * clang::getOpenCLArgAccess (const Decl *D)
 Returns OpenCL access qual.
 
static bool clang::checkPipeArg (Sema &S, CallExpr *Call)
 Returns true if pipe element type is different from the pointer.
 
static bool clang::checkPipePacketType (Sema &S, CallExpr *Call, unsigned Idx)
 Returns true if pipe element type is different from the pointer.
 

Detailed Description

This file implements semantic analysis for OpenCL.

Definition in file SemaOpenCL.cpp.