Home
last modified time | relevance | path

Searched refs:opencl_global (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/clang/test/AST/
Dlanguage_address_space_attribute.cpp15 __attribute__((opencl_global)) int *x_global; in langas()
18 [[clang::opencl_global]] int *z_global; in langas()
/external/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp38 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in convertOpenCLSpecificType()
72 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in getPipeType()
DCodeGenFunction.cpp517 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
/external/clang/include/clang/Basic/
DAddressSpaces.h30 opencl_global = Offset, enumerator
/external/llvm-project/clang/include/clang/Basic/
DAddressSpaces.h34 opencl_global, enumerator
DAttrDocs.td3317 let Heading = "__global, global, [[clang::opencl_global]]";
3336 a subset of the ``__global/opencl_global`` address space, the full address space
3346 ``__global/opencl_global`` address spaces it is allowed to convert
3348 ``__global/opencl_global`` address spaces (following ISO/IEC TR 18037 5.1.3
DAttr.td1193 let Spellings = [Keyword<"__global">, Keyword<"global">, Clang<"opencl_global">];
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h323 return LangAS::opencl_global; in getOpenCLTypeAddrSpace()
335 return LangAS::opencl_global; in getOpenCLBuiltinAddressSpace()
/external/llvm-project/clang/test/SemaOpenCL/
Daddress-spaces.cl259 …__private __attribute__((opencl_global)) int var1; // expected-error {{multiple address spaces s…
260 …__private __attribute__((opencl_global)) int *var2; // expected-error {{multiple address spaces s…
261 …__attribute__((opencl_global)) private_int_t var3; // expected-error {{multiple address spaces s…
262 …__attribute__((opencl_global)) private_int_t *var4; // expected-error {{multiple address spaces s…
/external/llvm-project/clang/lib/Basic/
DTargetInfo.cpp451 return LangAS::opencl_global; in getOpenCLTypeAddrSpace()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp1402 case LangAS::opencl_global: in ArgInfoAddressSpace()
1498 AddrSpc = ArgInfoAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
3815 : (LangOpts.OpenCL ? LangAS::opencl_global : LangAS::Default); in GetOrCreateLLVMGlobal()
3923 Ty, getContext().getTargetAddressSpace(LangAS::opencl_global)) in CreateRuntimeVariable()
3965 AddrSpace = D ? D->getType().getAddressSpace() : LangAS::opencl_global; in GetGlobalVarAddressSpace()
3966 assert(AddrSpace == LangAS::opencl_global || in GetGlobalVarAddressSpace()
DCGBlocks.cpp1358 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock()
DCGOpenMPRuntimeGPU.cpp4109 LangAS::opencl_global); in translateParameter()
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h608 return LangAS::opencl_global; in asOpenCLLangAS()
/external/clang/lib/AST/
DTypePrinter.cpp1592 case LangAS::opencl_global: in print()
DItaniumMangle.cpp2101 case LangAS::opencl_global: ASString = "CLglobal"; break; in mangleQualifiers()
/external/clang/lib/Sema/
DSemaType.cpp5317 ASIdx = LangAS::opencl_global; break; in HandleAddressSpaceTypeAttribute()
6719 type, LangAS::opencl_global); in processTypeAttrs()
6724 type, LangAS::opencl_global); in processTypeAttrs()
DSemaDecl.cpp5947 R.getAddressSpace() == LangAS::opencl_global)) { in ActOnVariableDeclarator()
6842 (T.getAddressSpace() == LangAS::opencl_global && in CheckVariableDeclarationType()
6855 if (T.getAddressSpace() == LangAS::opencl_global) { in CheckVariableDeclarationType()
8202 AddressSpace == LangAS::opencl_global || in ActOnFunctionDeclarator()
/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp2078 case LangAS::opencl_global: in getAddrSpaceAsString()
DMicrosoftMangle.cpp2054 case LangAS::opencl_global: in mangleAddressSpaceType()
DItaniumMangle.cpp2370 case LangAS::opencl_global: in mangleQualifiers()
DASTContext.cpp2331 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl()
2332 Align = Target->getPointerAlign(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl()
/external/llvm-project/clang/lib/Sema/
DOpenCLBuiltins.td38 def GlobalAS : AddressSpace<"clang::LangAS::opencl_global">;
DSemaDecl.cpp6336 ImplAS = LangAS::opencl_global; in deduceOpenCLAddressSpace()
6800 R.getAddressSpace() == LangAS::opencl_global) { in diagnoseOpenCLTypes()
7910 (T.getAddressSpace() == LangAS::opencl_global && in CheckVariableDeclarationType()
7924 if (T.getAddressSpace() == LangAS::opencl_global) { in CheckVariableDeclarationType()
/external/llvm-project/clang/include/clang/AST/
DType.h487 (A == LangAS::opencl_global && (B == LangAS::opencl_global_device ||

12