| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 39 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in convertOpenCLSpecificType() 85 CGM.getContext().getTargetAddressSpace( in getPipeType() 94 CGM.getContext().getTargetAddressSpace( in getSamplerType() 123 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
|
| H A D | CodeGenTypes.cpp | 539 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType() 549 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType() 641 unsigned AS = Context.getTargetAddressSpace(FTy); in ConvertType()
|
| H A D | CGBlocks.cpp | 196 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor() 260 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor() 455 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic); in initializeForBlockHeader() 932 CGM.getContext().getTargetAddressSpace(GenVoidPtrAddr)) / in EmitBlockLiteral() 1218 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType() 1274 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBlockCallExpr() 1445 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock() 1512 ? getContext().getTargetAddressSpace(LangAS::opencl_generic) in setBlockContextParameter()
|
| H A D | CGDecl.cpp | 232 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl() 262 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl() 346 CGM.getContext().getTargetAddressSpace(D.getType())); in AddInitializerToStaticVarDecl() 1076 unsigned AS = CGM.getContext().getTargetAddressSpace( in createUnnamedGlobalFrom() 2286 assert(getContext().getTargetAddressSpace(SrcLangAS) == in EmitParmDecl() 2288 auto DestAS = getContext().getTargetAddressSpace(DestLangAS); in EmitParmDecl()
|
| H A D | CodeGenModule.cpp | 2101 unsigned AS = getContext().getTargetAddressSpace(VD->getType()); in GetWeakRefReference() 2571 Context.getTargetAddressSpace(FD->getType())), in emitCPUDispatchDefinition() 2674 DeclTy, getContext().getTargetAddressSpace(FD->getType())), in GetOrCreateMultiVersionResolver() 3078 auto TargetAddrSpace = getContext().getTargetAddressSpace(AddrSpace); in GetOrCreateLLVMGlobal() 3196 assert(getContext().getTargetAddressSpace(ExpectedAS) == in GetOrCreateLLVMGlobal() 3293 llvm::PointerType::get(Ty, getContext().getTargetAddressSpace(ASTTy)); in GetAddrOfGlobalVar() 3392 CGM.getContext().getTargetAddressSpace(LangAS::Default))); in castStringLiteralToDefaultAddressSpace() 3566 getContext().getTargetAddressSpace(GetGlobalVarAddressSpace(D))) { in EmitGlobalVarDefinition() 4476 unsigned AddrSpace = CGM.getContext().getTargetAddressSpace( in GenerateStringLiteral() 4666 auto TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetAddrOfGlobalTemporary() [all …]
|
| H A D | CGCall.cpp | 1572 unsigned addressSpace = Context.getTargetAddressSpace(ret); in GetFunctionType() 1596 unsigned AddressSpace = Context.getTargetAddressSpace(Ret); in GetFunctionType() 2001 else if (getContext().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2112 else if (getContext().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList() 2393 } else if (getContext().getTargetAddressSpace(ETy) == 0 && in EmitFunctionProlog() 2404 !getContext().getTargetAddressSpace(ArrTy->getElementType()) && in EmitFunctionProlog()
|
| H A D | CGDeclCXX.cpp | 184 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
|
| H A D | CGOpenMPRuntimeNVPTX.cpp | 1209 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared)); in emitNonSPMDKernel() 1339 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared)); in emitSPMDKernel() 3173 unsigned SharedAddressSpace = C.getTargetAddressSpace(LangAS::cuda_shared); in emitInterWarpCopyFunction() 4018 CGF.getContext().getTargetAddressSpace(NativePointeeTy); in getParameterAddress() 4570 C.getTargetAddressSpace(LangAS::cuda_shared)); in clear()
|
| H A D | CGExprConstant.cpp | 631 CGM.getContext().getTargetAddressSpace(addressSpace)); in tryEmitGlobalCompoundLiteral() 1273 CGM.getContext().getTargetAddressSpace(DestAddressSpace)); in getCurrentAddrPrivate()
|
| H A D | CGDebugInfo.cpp | 978 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType() 1453 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType() 3768 unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(VD->getType()); in EmitDeclare() 4201 CGM.getContext().getTargetAddressSpace(D->getType()); in EmitGlobalVariable()
|
| H A D | CGExpr.cpp | 88 auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default); in CreateTempAlloca() 393 CGF.getContext().getTargetAddressSpace(AS)); in createReferenceTemporary() 401 CGF.getContext().getTargetAddressSpace(LangAS::Default))); in createReferenceTemporary()
|
| H A D | CGExprAgg.cpp | 501 CGM.getContext().getTargetAddressSpace(AS)); in EmitArrayInit()
|
| H A D | CGBuiltin.cpp | 3393 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr() 3543 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 3545 CGM.getContext().getTargetAddressSpace( in EmitBuiltinExpr() 3569 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 3670 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 3733 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 3747 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr() 3762 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
|
| H A D | CGAtomic.cpp | 975 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
|
| H A D | CGClass.cpp | 2021 unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS); in EmitCXXConstructorCall()
|
| H A D | TargetInfo.cpp | 7872 Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer() 7884 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2499 unsigned getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function 2500 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace() 2503 unsigned getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function 2504 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace() 2507 unsigned getTargetAddressSpace(LangAS AS) const;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1959 AS = getTargetAddressSpace( in getTypeInfoImpl() 1971 AS = getTargetAddressSpace(cast<BlockPointerType>(T)->getPointeeType()); in getTypeInfoImpl() 1979 AS = getTargetAddressSpace(cast<ReferenceType>(T)->getPointeeType()); in getTypeInfoImpl() 1984 AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType()); in getTypeInfoImpl() 2114 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl() 2115 Align = Target->getPointerAlign(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl() 10336 unsigned ASTContext::getTargetAddressSpace(LangAS AS) const { in getTargetAddressSpace() function in ASTContext
|
| H A D | RecordLayoutBuilder.cpp | 1748 unsigned AS = Context.getTargetAddressSpace(RT->getPointeeType()); in LayoutField()
|
| H A D | MicrosoftMangle.cpp | 1806 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType()
|
| H A D | ItaniumMangle.cpp | 2226 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()
|