Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp69 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 DCodeGenTypes.cpp658 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 DCGBlocks.cpp179 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 DCGDecl.cpp261 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 DCGDeclCXX.cpp125 CGM.getContext().getTargetAddressSpace(DestAS)); in EmitDeclDestroy()
197 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
H A DCodeGenModule.cpp3118 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 DCGDebugInfo.cpp1142 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 DCGCall.cpp1636 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 DCGOpenMPRuntimeGPU.cpp2138 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 DCGExprConstant.cpp940 CGM.getContext().getTargetAddressSpace(addressSpace)); in tryEmitGlobalCompoundLiteral()
1470 CGM.getContext().getTargetAddressSpace(DestAddressSpace)); in getCurrentAddrPrivate()
H A DCGCUDANV.cpp1093 CGM.getContext().getTargetAddressSpace(LangAS::cuda_device)); in transformManagedVars()
H A DTargetInfo.cpp9218 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 DCGExpr.cpp92 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 DCGExprAgg.cpp512 CGM.getContext().getTargetAddressSpace(AS)); in EmitArrayInit()
H A DCGAtomic.cpp1090 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
H A DCGClass.cpp2093 unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS); in EmitCXXConstructorCall()
H A DCGBuiltin.cpp4691 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 DCGExprScalar.cpp1608 unsigned ExprAS = Context.getTargetAddressSpace(E->getType()); in VisitSYCLUniqueStableNameExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h2790 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 DASTContext.cpp2204 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 DItaniumMangle.cpp2620 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()
2622 Context.getASTContext().getTargetAddressSpace(LangAS::Default) != 0) in mangleQualifiers()
H A DRecordLayoutBuilder.cpp1915 unsigned AS = Context.getTargetAddressSpace(RT->getPointeeType()); in LayoutField()
H A DMicrosoftMangle.cpp2187 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp6799 … getASTContext().getTargetAddressSpace(ArgAS) == getASTContext().getTargetAddressSpace(ParamAS)); in BuildCallExpr()
H A DSemaChecking.cpp15938 ASTC.getTargetInfo().getPointerWidth(ASTC.getTargetAddressSpace( in CheckArrayAccess()