Home
last modified time | relevance | path

Searched refs:opencl_private (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang/test/AST/
Dlanguage_address_space_attribute.cpp45 __attribute__((opencl_private)) int *x_private; in langas()
48 [[clang::opencl_private]] int *z_private; in langas()
/external/llvm-project/clang/test/SemaCXX/
Daddress-space-arithmetic.cpp3 int *foo(__attribute__((opencl_private)) int *p, in foo()
/external/llvm-project/clang/include/clang/Basic/
DAddressSpaces.h37 opencl_private, enumerator
DAttr.td1188 let Spellings = [Keyword<"__private">, Keyword<"private">, Clang<"opencl_private">];
DAttrDocs.td3368 let Heading = "__private, private, [[clang::opencl_private]]";
/external/llvm-project/clang/test/SemaOpenCL/
Daddress-spaces.cl263 …__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…
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h341 return LangAS::opencl_private; in getOpenCLBuiltinAddressSpace()
394 return (AS == LangAS::opencl_local || AS == LangAS::opencl_private) in getNullPointerValue()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp1410 (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()
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h616 return LangAS::opencl_private; in asOpenCLLangAS()
/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp2082 case LangAS::opencl_private: in getAddrSpaceAsString()
DMicrosoftMangle.cpp2069 case LangAS::opencl_private: in mangleAddressSpaceType()
DExpr.cpp3633 Pointee.getAddressSpace() == LangAS::opencl_private)) in isNullPointerConstant()
DItaniumMangle.cpp2385 case LangAS::opencl_private: in mangleQualifiers()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp6333 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()
DOpenCLBuiltins.td37 def PrivateAS : AddressSpace<"clang::LangAS::opencl_private">;
DSemaType.cpp2066 : LangAS::opencl_private); in deduceOpenCLPointeeAddrSpace()
DSemaChecking.cpp1305 Qual.setAddressSpace(LangAS::opencl_private); in SemaOpenCLBuiltinToAddr()
DSemaExpr.cpp6878 } else if (literalType.getAddressSpace() != LangAS::opencl_private && in BuildCompoundLiteralExpr()