Home
last modified time | relevance | path

Searched refs:opencl_generic (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/clang/test/AST/
Dlanguage_address_space_attribute.cpp51 __attribute__((opencl_generic)) int *x_generic; in langas()
54 [[clang::opencl_generic]] int *z_generic; in langas()
/external/clang/include/clang/Basic/
DAddressSpaces.h33 opencl_generic, enumerator
/external/llvm-project/clang/include/clang/Basic/
DAddressSpaces.h38 opencl_generic, enumerator
DAttr.td1218 let Spellings = [Keyword<"__generic">, Keyword<"generic">, Clang<"opencl_generic">];
/external/llvm-project/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp122 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
DCGBlocks.cpp456 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic); in initializeForBlockHeader()
800 LangAS GenVoidPtrAddr = IsOpenCL ? LangAS::opencl_generic : LangAS::Default; in EmitBlockLiteral()
1196 Ctx.getAddrSpaceQualType(Ctx.VoidTy, LangAS::opencl_generic)); in EmitBlockCallExpr()
1427 ? getContext().getTargetAddressSpace(LangAS::opencl_generic) in setBlockContextParameter()
1476 getContext().VoidTy, LangAS::opencl_generic)); in GenerateBlockFunction()
DCGAtomic.cpp1035 if (AS == LangAS::opencl_generic) in EmitAtomicExpr()
1037 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
1042 *this, V, AS, LangAS::opencl_generic, DestType, false); in EmitAtomicExpr()
DCGBuiltin.cpp4301 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr()
4451 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
4477 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
4576 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
4654 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
4668 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
4683 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
DCGOpenMPRuntimeGPU.cpp4113 LangAS::opencl_generic); in translateParameter()
DCodeGenModule.cpp1408 case LangAS::opencl_generic: in ArgInfoAddressSpace()
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h333 return LangAS::opencl_generic; in getOpenCLBuiltinAddressSpace()
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h618 return LangAS::opencl_generic; in asOpenCLLangAS()
/external/clang/lib/AST/
DTypePrinter.cpp1601 case LangAS::opencl_generic: in print()
DExpr.cpp3160 if (Pointee.getAddressSpace() == LangAS::opencl_generic) in isNullPointerConstant()
/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp2086 case LangAS::opencl_generic: in getAddrSpaceAsString()
DMicrosoftMangle.cpp2072 case LangAS::opencl_generic: in mangleAddressSpaceType()
DExpr.cpp3630 Pointee.getAddressSpace() == LangAS::opencl_generic) || in isNullPointerConstant()
DItaniumMangle.cpp2388 case LangAS::opencl_generic: in mangleQualifiers()
/external/llvm-project/clang/lib/Sema/
DSema.cpp1346 return LangAS::opencl_generic; in getDefaultCXXMethodAddrSpace()
DOpenCLBuiltins.td41 def GenericAS : AddressSpace<"clang::LangAS::opencl_generic">;
DSemaTemplateDeduction.cpp3892 ArgType = S.Context.getAddrSpaceQualType(ArgType, LangAS::opencl_generic); in AdjustFunctionParmAndArgTypesForDeduction()
/external/clang/lib/Sema/
DSemaType.cpp5323 ASIdx = LangAS::opencl_generic; break; in HandleAddressSpaceTypeAttribute()
6712 type, LangAS::opencl_generic); in processTypeAttrs()
/external/clang/include/clang/AST/
DType.h438 (getAddressSpace() == LangAS::opencl_generic &&
/external/llvm-project/clang/include/clang/AST/
DType.h483 (A == LangAS::opencl_generic && B != LangAS::opencl_constant) ||
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2068 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr()
2201 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()

12