Home
last modified time | relevance | path

Searched refs:opencl_local (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGenSYCL/
H A Daddress-space-conversions.cpp6 void bar(__attribute__((opencl_local)) int &Data) {} in bar()
12 void foo(__attribute__((opencl_local)) int *Data) {} in foo()
25 __attribute__((opencl_local)) int *LOC; in usages()
59 LOC = (__attribute__((opencl_local)) int *)NoAS; in usages()
H A Daddress-space-mangling.cpp7 void foo(__attribute__((opencl_local)) int *);
23 __attribute__((opencl_local)) int *loc; in test()
/llvm-project-15.0.7/clang/test/AST/
H A Dlanguage_address_space_attribute.cpp42 __attribute__((opencl_local)) int *x_local; in langas()
45 int [[clang::opencl_local]] *y_local; in langas()
48 [[clang::opencl_local]] int *z_local; in langas()
/llvm-project-15.0.7/clang/test/SemaSYCL/
H A Daddress-space-conversions.cpp17 __attribute__((opencl_local)) int *LOC; in usages()
56 …__attribute__((opencl_local)) int *l = NoAS; // expected-error {{cannot initialize a variable of t… in usages()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Daddress-space-arithmetic.cpp4 __attribute__((opencl_local)) int *l) { in foo()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAddressSpaces.h35 opencl_local, enumerator
H A DAttr.td1317 let Spellings = [Keyword<"__local">, Keyword<"local">, Clang<"opencl_local">];
H A DAttrDocs.td3740 let Heading = "__local, local, [[clang::opencl_local]]";
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DAMDGPU.h344 return LangAS::opencl_local; in getOpenCLBuiltinAddressSpace()
424 return (AS == LangAS::opencl_local || AS == LangAS::opencl_private) in getNullPointerValue()
/llvm-project-15.0.7/clang/docs/
H A DSYCLSupport.rst110 * - ``__attribute__((opencl_local))``
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h685 return LangAS::opencl_local; in asOpenCLLangAS()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDecl.cpp210 if (D.getType().getAddressSpace() == LangAS::opencl_local) in EmitVarDecl()
266 if (Ty.getAddressSpace() == LangAS::opencl_local || in getOrCreateStaticVarDecl()
H A DCodeGenModule.cpp1712 case LangAS::opencl_local: in ArgInfoAddressSpace()
4524 AS == LangAS::opencl_local || in GetGlobalVarAddressSpace()
/llvm-project-15.0.7/clang/lib/AST/
H A DTypePrinter.cpp2203 case LangAS::opencl_local: in getAddrSpaceAsString()
H A DMicrosoftMangle.cpp2203 case LangAS::opencl_local: in mangleAddressSpaceType()
H A DItaniumMangle.cpp2639 case LangAS::opencl_local: in mangleQualifiers()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp7257 if (R.getAddressSpace() == LangAS::opencl_local || in diagnoseOpenCLTypes()
8423 T.getAddressSpace() == LangAS::opencl_local) { in CheckVariableDeclarationType()
12768 if (VDecl->getType().getAddressSpace() == LangAS::opencl_local) { in AddInitializerToDecl()
13389 Var->getType().getAddressSpace() == LangAS::opencl_local) in ActOnUninitializedDecl()
H A DOpenCLBuiltins.td40 def LocalAS : AddressSpace<"clang::LangAS::opencl_local">;
H A DSemaChecking.cpp1347 LangAS::opencl_local) { in checkOpenCLBlockArgs()
1837 Qual.setAddressSpace(LangAS::opencl_local); in SemaOpenCLBuiltinToAddr()