Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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 = getTargetAddressSpace(ETy); in ConvertType()
668 unsigned AS = getTargetAddressSpace(ETy); in ConvertType()
778 unsigned AS = Context.getTargetAddressSpace(FTy.getAddressSpace()); in ConvertType()
962 unsigned CodeGenTypes::getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function in CodeGenTypes
969 : getContext().getTargetAddressSpace(T.getAddressSpace()); in getTargetAddressSpace()
H A DCodeGenTypes.h309 unsigned getTargetAddressSpace(QualType T) const;
H A DCGDecl.cpp265 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl()
295 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl()
1146 getContext().getTargetAddressSpace(GetGlobalConstantAddressSpace()); in createUnnamedGlobalFrom()
2494 assert(getContext().getTargetAddressSpace(SrcLangAS) == in EmitParmDecl()
2496 auto DestAS = getContext().getTargetAddressSpace(DestLangAS); in EmitParmDecl()
2673 auto TargetAS = getContext().getTargetAddressSpace(GVAS); in EmitOMPAllocateDecl()
H A DCGBlocks.cpp179 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()
244 AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant); in buildBlockDescriptor()
1139 AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant); in getBlockDescriptorType()
1362 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in buildGlobalBlock()
1432 ? getContext().getTargetAddressSpace(LangAS::opencl_generic) in setBlockContextParameter()
H A DCodeGenModule.cpp146 C.getTargetAddressSpace(GetGlobalConstantAddressSpace())); in CodeGenModule()
3246 unsigned AS = getTypes().getTargetAddressSpace(VD->getType()); in GetWeakRefReference()
3832 getTypes().getTargetAddressSpace(FD->getType())), in emitCPUDispatchDefinition()
3971 getTypes().getTargetAddressSpace(FD->getType())), in GetOrCreateMultiVersionResolver()
4350 unsigned TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetOrCreateLLVMGlobal()
4405 getContext().getTargetAddressSpace(DAddrSpace)); in GetOrCreateLLVMGlobal()
4532 assert(getContext().getTargetAddressSpace(ExpectedAS) == TargetAS); in GetOrCreateLLVMGlobal()
4747 CGM.getContext().getTargetAddressSpace(LangAS::Default))); in castStringLiteralToDefaultAddressSpace()
4940 getContext().getTargetAddressSpace(GetGlobalVarAddressSpace(D))) { in EmitGlobalVarDefinition()
5881 unsigned AddrSpace = CGM.getContext().getTargetAddressSpace( in GenerateStringLiteral()
[all …]
H A DCGDeclCXX.cpp126 CGM.getContext().getTargetAddressSpace(DestAS)); in EmitDeclDestroy()
198 unsigned ExpectedAddrSpace = getTypes().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
H A DCGCall.cpp1642 unsigned addressSpace = CGM.getTypes().getTargetAddressSpace(ret); in GetFunctionType()
1666 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(Ret); in GetFunctionType()
2406 if (getTypes().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList()
2455 getTypes().getTargetAddressSpace(FI.arg_begin()->type) == 0) { in ConstructAttributeList()
2582 if (getTypes().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList()
2904 if (!getTypes().getTargetAddressSpace(ETy) && in EmitFunctionProlog()
H A DCGOpenMPRuntimeGPU.cpp1786 unsigned SharedAddressSpace = C.getTargetAddressSpace(LangAS::cuda_shared); in emitInterWarpCopyFunction()
3086 CGF.getTypes().getTargetAddressSpace(NativePointeeTy); in getParameterAddress()
3358 CGM.getContext().getTargetAddressSpace(AS)); in getAddressOfLocalVariable()
3363 GV, VarTy->getPointerTo(CGM.getContext().getTargetAddressSpace( in getAddressOfLocalVariable()
H A DCGDebugInfo.cpp1158 CGM.getTypes().getTargetAddressSpace(PointeeTy)); in CreatePointerLikeType()
4490 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(VD->getType()); in EmitDeclare()
4651 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(BD->getType()); in EmitDeclare()
5330 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(D->getType()); in EmitGlobalVariable()
5334 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared); in EmitGlobalVariable()
5337 CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant); in EmitGlobalVariable()
H A DCGExprConstant.cpp940 CGM.getContext().getTargetAddressSpace(addressSpace)); in tryEmitGlobalCompoundLiteral()
1467 CGM.getContext().getTargetAddressSpace(DestAddressSpace)); in getCurrentAddrPrivate()
H A DCGCUDANV.cpp1106 CGM.getContext().getTargetAddressSpace(LangAS::cuda_device)); in transformManagedVars()
H A DCGExpr.cpp93 auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default); in CreateTempAlloca()
411 CGF.getContext().getTargetAddressSpace(AS)); in createReferenceTemporary()
419 CGF.getContext().getTargetAddressSpace(LangAS::Default))); in createReferenceTemporary()
2751 VarTy, getTypes().getTargetAddressSpace(VD->getType())); in EmitDeclRefLValue()
H A DTargetInfo.cpp9348 OrigLTy, /*FromAS=*/getContext().getTargetAddressSpace(LangAS::Default), in classifyKernelArgumentType()
9349 /*ToAS=*/getContext().getTargetAddressSpace(LangAS::cuda_device)); in classifyKernelArgumentType()
9362 getContext().getTargetAddressSpace(LangAS::opencl_constant), in classifyKernelArgumentType()
9611 PT, Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer()
9623 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global)); in getGlobalVarAddressSpace()
10580 auto DefaultAS = getContext().getTargetAddressSpace(LangAS::Default); in classifyKernelArgumentType()
10581 auto GlobalAS = getContext().getTargetAddressSpace(LangAS::cuda_device); in classifyKernelArgumentType()
H A DCGExprAgg.cpp531 CGM.getContext().getTargetAddressSpace(AS)); in EmitArrayInit()
H A DCGAtomic.cpp1090 auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitAtomicExpr()
H A DCGClass.cpp2134 unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS); in EmitCXXConstructorCall()
H A DCGBuiltin.cpp4731 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr()
4879 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
4881 CGM.getContext().getTargetAddressSpace( in EmitBuiltinExpr()
4905 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
5005 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
5083 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
5097 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
5112 getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()
/openbsd-src/gnu/llvm/clang/lib/Basic/Targets/
H A DAMDGPU.h101 unsigned TargetAS = getTargetAddressSpace(AS); in getPointerWidthV()
H A DX86.h405 unsigned TargetAddrSpace = getTargetAddressSpace(AS); in getPointerWidthV()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTargetInfo.h1505 unsigned getTargetAddressSpace(LangAS AS) const { in getTargetAddressSpace() function
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h2784 unsigned getTargetAddressSpace(LangAS AS) const;
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DItaniumMangle.cpp2617 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()
2619 Context.getASTContext().getTargetAddressSpace(LangAS::Default) != 0) in mangleQualifiers()
H A DMicrosoftMangle.cpp2191 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType()
H A DASTContext.cpp12230 unsigned ASTContext::getTargetAddressSpace(LangAS AS) const { in getTargetAddressSpace() function in ASTContext
12231 return getTargetInfo().getTargetAddressSpace(AS); in getTargetAddressSpace()

12