| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AMDGPU.cpp | 176 OrigLTy, /*FromAS=*/getContext().getTargetAddressSpace(LangAS::Default), in classifyKernelArgumentType() 177 /*ToAS=*/getContext().getTargetAddressSpace(LangAS::cuda_device)); in classifyKernelArgumentType() 190 getContext().getTargetAddressSpace(LangAS::opencl_constant), in classifyKernelArgumentType() 257 getContext().getTargetAddressSpace(LangAS::opencl_private)); in classifyArgumentType() 383 CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant)); in emitTargetGlobals() 437 PT->getContext(), Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer() 449 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace()
|
| H A D | SPIR.cpp | 73 auto DefaultAS = getContext().getTargetAddressSpace(LangAS::Default); in classifyKernelArgumentType() 74 auto GlobalAS = getContext().getTargetAddressSpace(LangAS::cuda_device); in classifyKernelArgumentType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 47 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in getPointerType() 105 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
|
| H A D | CodeGenTypes.cpp | 558 unsigned AS = getTargetAddressSpace(ETy); in ConvertType() 565 unsigned AS = getTargetAddressSpace(ETy); in ConvertType() 666 unsigned AS = Context.getTargetAddressSpace(FTy.getAddressSpace()); in ConvertType() 828 unsigned CodeGenTypes::getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function in CodeGenTypes 835 : getContext().getTargetAddressSpace(T.getAddressSpace()); in getTargetAddressSpace()
|
| H A D | CodeGenTypes.h | 297 unsigned getTargetAddressSpace(QualType T) const;
|
| H A D | CGDecl.cpp | 264 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl() 295 getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl() 1159 getContext().getTargetAddressSpace(GetGlobalConstantAddressSpace()); in createUnnamedGlobalFrom() 2576 assert(getContext().getTargetAddressSpace(SrcLangAS) == in EmitParmDecl() 2578 auto DestAS = getContext().getTargetAddressSpace(DestLangAS); in EmitParmDecl() 2757 auto TargetAS = getContext().getTargetAddressSpace(GVAS); in EmitOMPAllocateDecl()
|
| H A D | CGBlocks.cpp | 156 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor() 219 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor() 1114 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType() 1330 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock() 1401 ? getContext().getTargetAddressSpace(LangAS::opencl_generic) in setBlockContextParameter()
|
| H A D | CGDeclCXX.cpp | 126 CGM.getLLVMContext(), CGM.getContext().getTargetAddressSpace(DestAS)); in EmitDeclDestroy() 196 unsigned ExpectedAddrSpace = getTypes().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
|
| H A D | CodeGenModule.cpp | 373 LLVMContext, C.getTargetAddressSpace(GetGlobalConstantAddressSpace())); in CodeGenModule() 4297 getTypes().getTargetAddressSpace(FD->getType())), in emitCPUDispatchDefinition() 4439 getTypes().getTargetAddressSpace(FD->getType())), in GetOrCreateMultiVersionResolver() 4793 unsigned TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetOrCreateLLVMGlobal() 4847 getContext().getTargetAddressSpace(DAddrSpace)); in GetOrCreateLLVMGlobal() 4976 assert(getContext().getTargetAddressSpace(ExpectedAS) == TargetAS); in GetOrCreateLLVMGlobal() 5192 CGM.getContext().getTargetAddressSpace(LangAS::Default))); in castStringLiteralToDefaultAddressSpace() 5389 getContext().getTargetAddressSpace(GetGlobalVarAddressSpace(D))) { in EmitGlobalVarDefinition() 6323 unsigned AddrSpace = CGM.getContext().getTargetAddressSpace( in GenerateStringLiteral() 6535 auto TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetAddrOfGlobalTemporary() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1748 unsigned SharedAddressSpace = C.getTargetAddressSpace(LangAS::cuda_shared); in emitInterWarpCopyFunction() 3016 CGF.getTypes().getTargetAddressSpace(NativePointeeTy); in getParameterAddress() 3285 CGM.getContext().getTargetAddressSpace(AS)); in getAddressOfLocalVariable() 3290 GV, VarTy->getPointerTo(CGM.getContext().getTargetAddressSpace( in getAddressOfLocalVariable()
|
| H A D | CGCall.cpp | 1650 unsigned addressSpace = CGM.getTypes().getTargetAddressSpace(ret); in GetFunctionType() 1673 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(Ret); in GetFunctionType() 2616 if (getTypes().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2667 getTypes().getTargetAddressSpace(FI.arg_begin()->type) == 0) { in ConstructAttributeList() 2797 if (getTypes().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 3116 if (!getTypes().getTargetAddressSpace(ETy) && in EmitFunctionProlog()
|
| H A D | CGDebugInfo.cpp | 1198 CGM.getTypes().getTargetAddressSpace(PointeeTy)); in CreatePointerLikeType() 4635 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(VD->getType()); in EmitDeclare() 4829 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(BD->getType()); in EmitDeclare() 5521 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(D->getType()); in EmitGlobalVariable() 5525 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared); in EmitGlobalVariable() 5528 CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant); in EmitGlobalVariable()
|
| H A D | CGExprConstant.cpp | 941 CGM.getContext().getTargetAddressSpace(addressSpace)); in tryEmitGlobalCompoundLiteral() 1504 CGM.getContext().getTargetAddressSpace(DestAddressSpace)); in getCurrentAddrPrivate()
|
| H A D | CGExpr.cpp | 92 auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default); in CreateTempAlloca() 409 CGF.getContext().getTargetAddressSpace(AS)); in createReferenceTemporary() 417 CGF.getContext().getTargetAddressSpace(LangAS::Default))); in createReferenceTemporary() 3002 VarTy, getTypes().getTargetAddressSpace(VD->getType())); in EmitDeclRefLValue() 3180 auto TargetAS = getContext().getTargetAddressSpace(T.getAddressSpace()); in EmitDeclRefLValue()
|
| H A D | CGCUDANV.cpp | 1095 CGM.getContext().getTargetAddressSpace(LangAS::cuda_device)); in transformManagedVars()
|
| H A D | CGExprAgg.cpp | 536 CGM.getContext().getTargetAddressSpace(AS)); in EmitArrayInit()
|
| H A D | CGAtomic.cpp | 1174 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
|
| H A D | CGClass.cpp | 2124 unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS); in EmitCXXConstructorCall()
|
| H A D | CGBuiltin.cpp | 5292 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr() 5440 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5443 CGM.getContext().getTargetAddressSpace( in EmitBuiltinExpr() 5467 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5568 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5646 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5661 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 5677 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 17747 CGF.CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant)); in EmitAMDGPUWorkGroupSize()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | AMDGPU.h | 101 unsigned TargetAS = getTargetAddressSpace(AS); in getPointerWidthV()
|
| H A D | X86.h | 420 unsigned TargetAddrSpace = getTargetAddressSpace(AS); in getPointerWidthV()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 1538 unsigned getTargetAddressSpace(LangAS AS) const { in getTargetAddressSpace() function
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2815 unsigned getTargetAddressSpace(LangAS AS) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ItaniumMangle.cpp | 2733 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers() 2735 Context.getASTContext().getTargetAddressSpace(LangAS::Default) != 0) in mangleQualifiers()
|
| H A D | MicrosoftMangle.cpp | 2308 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType()
|