/external/llvm-project/clang/test/AST/ |
D | language_address_space_attribute.cpp | 15 __attribute__((opencl_global)) int *x_global; in langas() 18 [[clang::opencl_global]] int *z_global; in langas()
|
/external/clang/lib/CodeGen/ |
D | CGOpenCLRuntime.cpp | 38 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in convertOpenCLSpecificType() 72 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in getPipeType()
|
D | CodeGenFunction.cpp | 517 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
|
/external/clang/include/clang/Basic/ |
D | AddressSpaces.h | 30 opencl_global = Offset, enumerator
|
/external/llvm-project/clang/include/clang/Basic/ |
D | AddressSpaces.h | 34 opencl_global, enumerator
|
D | AttrDocs.td | 3317 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
|
D | Attr.td | 1193 let Spellings = [Keyword<"__global">, Keyword<"global">, Clang<"opencl_global">];
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | AMDGPU.h | 323 return LangAS::opencl_global; in getOpenCLTypeAddrSpace() 335 return LangAS::opencl_global; in getOpenCLBuiltinAddressSpace()
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | address-spaces.cl | 259 …__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/ |
D | TargetInfo.cpp | 451 return LangAS::opencl_global; in getOpenCLTypeAddrSpace()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1402 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()
|
D | CGBlocks.cpp | 1358 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock()
|
D | CGOpenMPRuntimeGPU.cpp | 4109 LangAS::opencl_global); in translateParameter()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ParsedAttr.h | 608 return LangAS::opencl_global; in asOpenCLLangAS()
|
/external/clang/lib/AST/ |
D | TypePrinter.cpp | 1592 case LangAS::opencl_global: in print()
|
D | ItaniumMangle.cpp | 2101 case LangAS::opencl_global: ASString = "CLglobal"; break; in mangleQualifiers()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 5317 ASIdx = LangAS::opencl_global; break; in HandleAddressSpaceTypeAttribute() 6719 type, LangAS::opencl_global); in processTypeAttrs() 6724 type, LangAS::opencl_global); in processTypeAttrs()
|
D | SemaDecl.cpp | 5947 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/ |
D | TypePrinter.cpp | 2078 case LangAS::opencl_global: in getAddrSpaceAsString()
|
D | MicrosoftMangle.cpp | 2054 case LangAS::opencl_global: in mangleAddressSpaceType()
|
D | ItaniumMangle.cpp | 2370 case LangAS::opencl_global: in mangleQualifiers()
|
D | ASTContext.cpp | 2331 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/ |
D | OpenCLBuiltins.td | 38 def GlobalAS : AddressSpace<"clang::LangAS::opencl_global">;
|
D | SemaDecl.cpp | 6336 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/ |
D | Type.h | 487 (A == LangAS::opencl_global && (B == LangAS::opencl_global_device ||
|