Searched refs:getTargetAddressSpace (Results 1 – 13 of 13) sorted by relevance
38 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in convertOpenCLSpecificType()
498 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()508 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()600 unsigned AS = Context.getTargetAddressSpace(FTy); in ConvertType()
1442 unsigned AS = getContext().getTargetAddressSpace(VD->getType()); in GetWeakRefReference()2123 llvm::PointerType::get(Ty, getContext().getTargetAddressSpace(ASTTy)); in GetAddrOfGlobalVar()2164 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant); in GetGlobalVarAddressSpace()2166 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared); in GetGlobalVarAddressSpace()2168 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device); in GetGlobalVarAddressSpace()2324 GetGlobalVarAddressSpace(D, getContext().getTargetAddressSpace(ASTTy))) { in EmitGlobalVarDefinition()3153 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant); in GenerateStringLiteral()3334 VD, getContext().getTargetAddressSpace(MaterializedType)); in GetAddrOfGlobalTemporary()
198 GetGlobalVarAddressSpace(&D, getContext().getTargetAddressSpace(Ty)); in getOrCreateStaticVarDecl()230 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(Ty); in getOrCreateStaticVarDecl()314 CGM.getContext().getTargetAddressSpace(D.getType())); in AddInitializerToStaticVarDecl()
1315 unsigned addressSpace = Context.getTargetAddressSpace(ret); in GetFunctionType()1335 unsigned AddressSpace = Context.getTargetAddressSpace(Ret); in GetFunctionType()1633 else if (getContext().getTargetAddressSpace(PTy) == 0) in ConstructAttributeList()1745 else if (getContext().getTargetAddressSpace(PTy) == 0) in ConstructAttributeList()1975 } else if (getContext().getTargetAddressSpace(ETy) == 0) { in EmitFunctionProlog()1987 !getContext().getTargetAddressSpace(ArrTy->getElementType())) in EmitFunctionProlog()
154 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
479 ASTCtx.getTargetAddressSpace(pointeeTy.getAddressSpace())))); in GenOpenCLArgMetadata()516 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
1023 CGM.getContext().getTargetAddressSpace(E->getType())); in EmitLValue()
727 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()1084 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType()
85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()
2175 unsigned getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function2176 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace()2179 unsigned getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function2180 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace()2183 unsigned getTargetAddressSpace(unsigned AS) const { in getTargetAddressSpace() function
1708 unsigned AS = getTargetAddressSpace( in getTypeInfoImpl()1718 unsigned AS = getTargetAddressSpace( in getTypeInfoImpl()1725 unsigned AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType()); in getTypeInfoImpl()2575 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
1788 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()