| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 38 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in convertOpenCLSpecificType() 84 CGM.getContext().getTargetAddressSpace( in getPipeType() 93 CGM.getContext().getTargetAddressSpace( in getSamplerType() 122 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
|
| H A D | CodeGenTypes.cpp | 635 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType() 648 : Context.getTargetAddressSpace(ETy); in ConvertType() 750 unsigned AS = Context.getTargetAddressSpace(FTy); in ConvertType()
|
| H A D | CGBlocks.cpp | 195 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor() 259 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor() 456 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic); in initializeForBlockHeader() 803 CGM.getContext().getTargetAddressSpace(GenVoidPtrAddr)) / in EmitBlockLiteral() 1136 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType() 1361 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock() 1430 ? getContext().getTargetAddressSpace(LangAS::opencl_generic) in setBlockContextParameter()
|
| H A D | CGDecl.cpp | 260 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl() 290 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl() 1131 getContext().getTargetAddressSpace(GetGlobalConstantAddressSpace()); in createUnnamedGlobalFrom() 2471 assert(getContext().getTargetAddressSpace(SrcLangAS) == in EmitParmDecl() 2473 auto DestAS = getContext().getTargetAddressSpace(DestLangAS); in EmitParmDecl() 2649 auto TargetAS = getContext().getTargetAddressSpace(GVAS); in EmitOMPAllocateDecl()
|
| H A D | CodeGenModule.cpp | 2845 unsigned AS = getContext().getTargetAddressSpace(VD->getType()); in GetWeakRefReference() 3466 DeclTy, getContext().getTargetAddressSpace(FD->getType())), in GetOrCreateMultiVersionResolver() 3883 auto TargetAddrSpace = getContext().getTargetAddressSpace(DAddrSpace); in GetOrCreateLLVMGlobal() 4011 assert(getContext().getTargetAddressSpace(ExpectedAS) == AddrSpace); in GetOrCreateLLVMGlobal() 4105 getContext().getTargetAddressSpace(ASTTy), D, in GetAddrOfGlobalVar() 4116 ? getContext().getTargetAddressSpace(LangAS::opencl_global) in CreateRuntimeVariable() 4222 CGM.getContext().getTargetAddressSpace(LangAS::Default))); in castStringLiteralToDefaultAddressSpace() 4533 D->getName(), Ty, getContext().getTargetAddressSpace(ASTTy), D); in EmitExternalVarDeclaration() 5332 unsigned AddrSpace = CGM.getContext().getTargetAddressSpace( in GenerateStringLiteral() 5536 auto TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetAddrOfGlobalTemporary() [all …]
|
| H A D | CGDeclCXX.cpp | 125 CGM.getContext().getTargetAddressSpace(DestAS)); in EmitDeclDestroy() 196 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
|
| H A D | CGCall.cpp | 1604 unsigned addressSpace = Context.getTargetAddressSpace(ret); in GetFunctionType() 1628 unsigned AddressSpace = Context.getTargetAddressSpace(Ret); in GetFunctionType() 2290 if (getContext().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2339 getContext().getTargetAddressSpace(FI.arg_begin()->type) == 0) { in ConstructAttributeList() 2468 if (getContext().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2776 if (!getContext().getTargetAddressSpace(ETy) && in EmitFunctionProlog()
|
| H A D | CGDebugInfo.cpp | 1112 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType() 1607 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType() 4266 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(VD->getType()); in EmitDeclare() 4799 CGM.getContext().getTargetAddressSpace(D->getType()); in EmitGlobalVariable() 4803 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared); in EmitGlobalVariable() 4806 CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant); in EmitGlobalVariable()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 2095 unsigned SharedAddressSpace = C.getTargetAddressSpace(LangAS::cuda_shared); in emitInterWarpCopyFunction() 3383 CGF.getContext().getTargetAddressSpace(NativePointeeTy); in getParameterAddress() 3664 CGM.getContext().getTargetAddressSpace(AS)); in getAddressOfLocalVariable() 3669 GV, VarTy->getPointerTo(CGM.getContext().getTargetAddressSpace( in getAddressOfLocalVariable()
|
| H A D | CGExprConstant.cpp | 920 CGM.getContext().getTargetAddressSpace(addressSpace)); in tryEmitGlobalCompoundLiteral() 1441 CGM.getContext().getTargetAddressSpace(DestAddressSpace)); in getCurrentAddrPrivate()
|
| H A D | CGCUDANV.cpp | 1082 CGM.getContext().getTargetAddressSpace(LangAS::cuda_device)); in transformManagedVars()
|
| H A D | CGExpr.cpp | 91 auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default); in CreateTempAlloca() 412 CGF.getContext().getTargetAddressSpace(AS)); in createReferenceTemporary() 420 CGF.getContext().getTargetAddressSpace(LangAS::Default))); in createReferenceTemporary() 2701 VarTy, getContext().getTargetAddressSpace(VD->getType())); in EmitDeclRefLValue()
|
| H A D | TargetInfo.cpp | 9005 OrigLTy, /*FromAS=*/getContext().getTargetAddressSpace(LangAS::Default), in classifyKernelArgumentType() 9006 /*ToAS=*/getContext().getTargetAddressSpace(LangAS::cuda_device)); in classifyKernelArgumentType() 9019 getContext().getTargetAddressSpace(LangAS::opencl_constant), in classifyKernelArgumentType() 9258 Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer() 9270 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace()
|
| H A D | CGExprAgg.cpp | 510 CGM.getContext().getTargetAddressSpace(AS)); in EmitArrayInit()
|
| H A D | CGAtomic.cpp | 1045 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
|
| H A D | CGClass.cpp | 2065 unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS); in EmitCXXConstructorCall()
|
| H A D | CGBuiltin.cpp | 4608 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr() 4756 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4758 CGM.getContext().getTargetAddressSpace( in EmitBuiltinExpr() 4782 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4882 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4960 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4974 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4989 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
|
| H A D | CGExprScalar.cpp | 1595 unsigned ExprAS = Context.getTargetAddressSpace(E->getType()); in VisitSYCLUniqueStableNameExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2682 unsigned getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function 2683 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace() 2686 unsigned getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function 2687 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace() 2690 unsigned getTargetAddressSpace(LangAS AS) const;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 2178 AS = getTargetAddressSpace( in getTypeInfoImpl() 2228 AS = getTargetAddressSpace(cast<BlockPointerType>(T)->getPointeeType()); in getTypeInfoImpl() 2236 AS = getTargetAddressSpace(cast<ReferenceType>(T)->getPointeeType()); in getTypeInfoImpl() 2241 AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType()); in getTypeInfoImpl() 2389 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl() 2390 Align = Target->getPointerAlign(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl() 11415 unsigned ASTContext::getTargetAddressSpace(LangAS AS) const { in getTargetAddressSpace() function in ASTContext
|
| H A D | ItaniumMangle.cpp | 2551 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers() 2553 Context.getASTContext().getTargetAddressSpace(LangAS::Default) != 0) in mangleQualifiers()
|
| H A D | RecordLayoutBuilder.cpp | 1906 unsigned AS = Context.getTargetAddressSpace(RT->getPointeeType()); in LayoutField()
|
| H A D | MicrosoftMangle.cpp | 2156 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 14834 ASTC.getTargetInfo().getPointerWidth(ASTC.getTargetAddressSpace( in CheckArrayAccess()
|