Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/AST/
Dlanguage_address_space_attribute.cpp33 __attribute__((opencl_local)) int *x_local; in langas()
36 [[clang::opencl_local]] int *z_local; in langas()
/external/llvm-project/clang/test/SemaCXX/
Daddress-space-arithmetic.cpp4 __attribute__((opencl_local)) int *l) { in foo()
/external/clang/include/clang/Basic/
DAddressSpaces.h31 opencl_local, enumerator
/external/llvm-project/clang/include/clang/Basic/
DAddressSpaces.h35 opencl_local, enumerator
DAttr.td1208 let Spellings = [Keyword<"__local">, Keyword<"local">, Clang<"opencl_local">];
DAttrDocs.td3355 let Heading = "__local, local, [[clang::opencl_local]]";
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h337 return LangAS::opencl_local; in getOpenCLBuiltinAddressSpace()
394 return (AS == LangAS::opencl_local || AS == LangAS::opencl_private) in getNullPointerValue()
/external/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dcommon.cpp213 static_cast<unsigned>(clang::LangAS::opencl_local); in make_kernel_args()
/external/clang/lib/CodeGen/
DCGDecl.cpp156 if (D.getType().getAddressSpace() == LangAS::opencl_local) in EmitVarDecl()
211 if (Ty.getAddressSpace() != LangAS::opencl_local) in getOrCreateStaticVarDecl()
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h614 return LangAS::opencl_local; in asOpenCLLangAS()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp204 if (D.getType().getAddressSpace() == LangAS::opencl_local) in EmitVarDecl()
260 if (Ty.getAddressSpace() == LangAS::opencl_local || in getOrCreateStaticVarDecl()
DCodeGenModule.cpp1406 case LangAS::opencl_local: in ArgInfoAddressSpace()
3970 AddrSpace == LangAS::opencl_local || in GetGlobalVarAddressSpace()
/external/clang/lib/AST/
DTypePrinter.cpp1595 case LangAS::opencl_local: in print()
DItaniumMangle.cpp2102 case LangAS::opencl_local: ASString = "CLlocal"; break; in mangleQualifiers()
/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp2080 case LangAS::opencl_local: in getAddrSpaceAsString()
DMicrosoftMangle.cpp2063 case LangAS::opencl_local: in mangleAddressSpaceType()
DItaniumMangle.cpp2379 case LangAS::opencl_local: in mangleQualifiers()
/external/clang/lib/Sema/
DSemaDecl.cpp5946 if (R->isSamplerT() && (R.getAddressSpace() == LangAS::opencl_local || in ActOnVariableDeclarator()
6864 T.getAddressSpace() == LangAS::opencl_local) { in CheckVariableDeclarationType()
8201 if (AddressSpace == LangAS::opencl_local || in ActOnFunctionDeclarator()
9666 if (VDecl->getType().getAddressSpace() == LangAS::opencl_local) { in AddInitializerToDecl()
DSemaChecking.cpp283 LangAS::opencl_local) { in checkOpenCLBlockArgs()
706 Qual.setAddressSpace(LangAS::opencl_local); in SemaOpenCLBuiltinToAddr()
DSemaType.cpp5319 ASIdx = LangAS::opencl_local; break; in HandleAddressSpaceTypeAttribute()
/external/llvm-project/clang/lib/Sema/
DOpenCLBuiltins.td40 def LocalAS : AddressSpace<"clang::LangAS::opencl_local">;
DSemaDecl.cpp6799 if (R.getAddressSpace() == LangAS::opencl_local || in diagnoseOpenCLTypes()
7931 T.getAddressSpace() == LangAS::opencl_local) { in CheckVariableDeclarationType()
12103 if (VDecl->getType().getAddressSpace() == LangAS::opencl_local) { in AddInitializerToDecl()
12710 Var->getType().getAddressSpace() == LangAS::opencl_local) in ActOnUninitializedDecl()
DSemaChecking.cpp818 LangAS::opencl_local) { in checkOpenCLBlockArgs()
1302 Qual.setAddressSpace(LangAS::opencl_local); in SemaOpenCLBuiltinToAddr()