| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 69 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in getPointerType() 89 CGM.getContext().getTargetAddressSpace( in getPipeType() 98 CGM.getContext().getTargetAddressSpace( in getSamplerType() 127 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
|
| H A D | CodeGenTypes.cpp | 658 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType() 668 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType() 778 unsigned AS = Context.getTargetAddressSpace(FTy.getQualifiers()); in ConvertType()
|
| H A D | CGBlocks.cpp | 179 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor() 244 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor() 506 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic); in initializeForBlockHeader() 810 CGM.getContext().getTargetAddressSpace(GenVoidPtrAddr)) / in EmitBlockLiteral() 1143 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType() 1366 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock() 1436 ? getContext().getTargetAddressSpace(LangAS::opencl_generic) in setBlockContextParameter()
|
| H A D | CGDecl.cpp | 261 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl() 291 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl() 1142 getContext().getTargetAddressSpace(GetGlobalConstantAddressSpace()); in createUnnamedGlobalFrom() 2490 assert(getContext().getTargetAddressSpace(SrcLangAS) == in EmitParmDecl() 2492 auto DestAS = getContext().getTargetAddressSpace(DestLangAS); in EmitParmDecl() 2669 auto TargetAS = getContext().getTargetAddressSpace(GVAS); in EmitOMPAllocateDecl()
|
| H A D | CGDeclCXX.cpp | 125 CGM.getContext().getTargetAddressSpace(DestAS)); in EmitDeclDestroy() 197 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
|
| H A D | CodeGenModule.cpp | 3118 unsigned AS = getContext().getTargetAddressSpace(VD->getType()); in GetWeakRefReference() 3680 Context.getTargetAddressSpace(FD->getType())), in emitCPUDispatchDefinition() 3819 DeclTy, getContext().getTargetAddressSpace(FD->getType())), in GetOrCreateMultiVersionResolver() 4195 unsigned TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetOrCreateLLVMGlobal() 4250 getContext().getTargetAddressSpace(DAddrSpace)); in GetOrCreateLLVMGlobal() 4376 assert(getContext().getTargetAddressSpace(ExpectedAS) == TargetAS); in GetOrCreateLLVMGlobal() 4591 CGM.getContext().getTargetAddressSpace(LangAS::Default))); in castStringLiteralToDefaultAddressSpace() 4776 getContext().getTargetAddressSpace(GetGlobalVarAddressSpace(D))) { in EmitGlobalVarDefinition() 5717 unsigned AddrSpace = CGM.getContext().getTargetAddressSpace( in GenerateStringLiteral() 5929 auto TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetAddrOfGlobalTemporary() [all …]
|
| H A D | CGDebugInfo.cpp | 1142 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType() 1705 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType() 4456 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(VD->getType()); in EmitDeclare() 4617 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(BD->getType()); in EmitDeclare() 5297 CGM.getContext().getTargetAddressSpace(D->getType()); in EmitGlobalVariable() 5301 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared); in EmitGlobalVariable() 5304 CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant); in EmitGlobalVariable()
|
| H A D | CGCall.cpp | 1636 unsigned addressSpace = Context.getTargetAddressSpace(ret); in GetFunctionType() 1660 unsigned AddressSpace = Context.getTargetAddressSpace(Ret); in GetFunctionType() 2353 if (getContext().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2402 getContext().getTargetAddressSpace(FI.arg_begin()->type) == 0) { in ConstructAttributeList() 2532 if (getContext().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2854 if (!getContext().getTargetAddressSpace(ETy) && in EmitFunctionProlog()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 2138 unsigned SharedAddressSpace = C.getTargetAddressSpace(LangAS::cuda_shared); in emitInterWarpCopyFunction() 3438 CGF.getContext().getTargetAddressSpace(NativePointeeTy); in getParameterAddress() 3720 CGM.getContext().getTargetAddressSpace(AS)); in getAddressOfLocalVariable() 3725 GV, VarTy->getPointerTo(CGM.getContext().getTargetAddressSpace( in getAddressOfLocalVariable()
|
| H A D | CGExprConstant.cpp | 940 CGM.getContext().getTargetAddressSpace(addressSpace)); in tryEmitGlobalCompoundLiteral() 1470 CGM.getContext().getTargetAddressSpace(DestAddressSpace)); in getCurrentAddrPrivate()
|
| H A D | CGCUDANV.cpp | 1093 CGM.getContext().getTargetAddressSpace(LangAS::cuda_device)); in transformManagedVars()
|
| H A D | TargetInfo.cpp | 9218 OrigLTy, /*FromAS=*/getContext().getTargetAddressSpace(LangAS::Default), in classifyKernelArgumentType() 9219 /*ToAS=*/getContext().getTargetAddressSpace(LangAS::cuda_device)); in classifyKernelArgumentType() 9232 getContext().getTargetAddressSpace(LangAS::opencl_constant), in classifyKernelArgumentType() 9477 PT, Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer() 9489 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace() 10446 auto DefaultAS = getContext().getTargetAddressSpace(LangAS::Default); in classifyKernelArgumentType() 10447 auto GlobalAS = getContext().getTargetAddressSpace(LangAS::cuda_device); in classifyKernelArgumentType()
|
| H A D | CGExpr.cpp | 92 auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default); in CreateTempAlloca() 410 CGF.getContext().getTargetAddressSpace(AS)); in createReferenceTemporary() 418 CGF.getContext().getTargetAddressSpace(LangAS::Default))); in createReferenceTemporary() 2788 VarTy, getContext().getTargetAddressSpace(VD->getType())); in EmitDeclRefLValue()
|
| H A D | CGExprAgg.cpp | 512 CGM.getContext().getTargetAddressSpace(AS)); in EmitArrayInit()
|
| H A D | CGAtomic.cpp | 1090 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
|
| H A D | CGClass.cpp | 2093 unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS); in EmitCXXConstructorCall()
|
| H A D | CGBuiltin.cpp | 4691 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr() 4839 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4841 CGM.getContext().getTargetAddressSpace( in EmitBuiltinExpr() 4865 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 4965 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5043 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5057 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5072 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
|
| H A D | CGExprScalar.cpp | 1608 unsigned ExprAS = Context.getTargetAddressSpace(E->getType()); in VisitSYCLUniqueStableNameExpr()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2790 unsigned getTargetAddressSpace(QualType T) const; 2792 unsigned getTargetAddressSpace(Qualifiers Q) const; 2794 unsigned getTargetAddressSpace(LangAS AS) const;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 2204 AS = getTargetAddressSpace( in getTypeInfoImpl() 2254 AS = getTargetAddressSpace(cast<BlockPointerType>(T)->getPointeeType()); in getTypeInfoImpl() 2262 AS = getTargetAddressSpace(cast<ReferenceType>(T)->getPointeeType()); in getTypeInfoImpl() 2267 AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType()); in getTypeInfoImpl() 2424 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl() 2425 Align = Target->getPointerAlign(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl() 12085 unsigned ASTContext::getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function in ASTContext 12092 : getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace() 12095 unsigned ASTContext::getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function in ASTContext 12096 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace() [all …]
|
| H A D | ItaniumMangle.cpp | 2620 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers() 2622 Context.getASTContext().getTargetAddressSpace(LangAS::Default) != 0) in mangleQualifiers()
|
| H A D | RecordLayoutBuilder.cpp | 1915 unsigned AS = Context.getTargetAddressSpace(RT->getPointeeType()); in LayoutField()
|
| H A D | MicrosoftMangle.cpp | 2187 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 6799 … getASTContext().getTargetAddressSpace(ArgAS) == getASTContext().getTargetAddressSpace(ParamAS)); in BuildCallExpr()
|
| H A D | SemaChecking.cpp | 15938 ASTC.getTargetInfo().getPointerWidth(ASTC.getTargetAddressSpace( in CheckArrayAccess()
|