Searched refs:opencl_private (Results 1 – 18 of 18) sorted by relevance
45 __attribute__((opencl_private)) int *x_private; in langas()48 [[clang::opencl_private]] int *z_private; in langas()
3 int *foo(__attribute__((opencl_private)) int *p, in foo()
37 opencl_private, enumerator
1188 let Spellings = [Keyword<"__private">, Keyword<"private">, Clang<"opencl_private">];
3368 let Heading = "__private, private, [[clang::opencl_private]]";
263 …__attribute__((opencl_private)) private_int_t var5; // expected-warning {{multiple identical addr…264 …__attribute__((opencl_private)) private_int_t *var6; // expected-warning {{multiple identical addr…266 …[[clang::opencl_private]] __global int var7; // expected-error {{multiple address spaces s…267 …[[clang::opencl_private]] __global int *var8; // expected-error {{multiple address spaces s…268 …[[clang::opencl_private]] private_int_t var9; // expected-warning {{multiple identical addr…269 …[[clang::opencl_private]] private_int_t *var10; // expected-warning {{multiple identical addr…
341 return LangAS::opencl_private; in getOpenCLBuiltinAddressSpace()394 return (AS == LangAS::opencl_local || AS == LangAS::opencl_private) in getNullPointerValue()
1410 (Ty.getAddressSpace() == LangAS::opencl_private && getLangOpts().OpenCL)); in EmitAutoVarAlloca()2456 auto SrcLangAS = getLangOpts().OpenCL ? LangAS::opencl_private : AllocaAS; in EmitParmDecl()2458 getLangOpts().OpenCL ? LangAS::opencl_private : LangAS::Default; in EmitParmDecl()
616 return LangAS::opencl_private; in asOpenCLLangAS()
2082 case LangAS::opencl_private: in getAddrSpaceAsString()
2069 case LangAS::opencl_private: in mangleAddressSpaceType()
3633 Pointee.getAddressSpace() == LangAS::opencl_private)) in isNullPointerConstant()
2385 case LangAS::opencl_private: in mangleQualifiers()
6333 LangAS ImplAS = LangAS::opencl_private; in deduceOpenCLAddressSpace()6774 if (R.getAddressSpace() != LangAS::opencl_private) { in diagnoseOpenCLTypes()7959 } else if (T.getAddressSpace() != LangAS::opencl_private && in CheckVariableDeclarationType()8607 PointeeType.getAddressSpace() == LangAS::opencl_private || in getOpenCLKernelParameterType()13759 (T->isArrayType() || T.getAddressSpace() == LangAS::opencl_private))) { in CheckParameter()
37 def PrivateAS : AddressSpace<"clang::LangAS::opencl_private">;
2066 : LangAS::opencl_private); in deduceOpenCLPointeeAddrSpace()
1305 Qual.setAddressSpace(LangAS::opencl_private); in SemaOpenCLBuiltinToAddr()
6878 } else if (literalType.getAddressSpace() != LangAS::opencl_private && in BuildCompoundLiteralExpr()