Searched refs:getTargetAddressSpace (Results 1 – 14 of 14) sorted by relevance
38 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in convertOpenCLSpecificType()72 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in getPipeType()
501 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()511 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()603 unsigned AS = Context.getTargetAddressSpace(FTy); in ConvertType()
1501 unsigned AS = getContext().getTargetAddressSpace(VD->getType()); in GetWeakRefReference()2264 llvm::PointerType::get(Ty, getContext().getTargetAddressSpace(ASTTy)); in GetAddrOfGlobalVar()2310 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant); in GetGlobalVarAddressSpace()2312 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared); in GetGlobalVarAddressSpace()2314 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device); in GetGlobalVarAddressSpace()2468 GetGlobalVarAddressSpace(D, getContext().getTargetAddressSpace(ASTTy))) { in EmitGlobalVarDefinition()3426 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant); in GenerateStringLiteral()3607 VD, getContext().getTargetAddressSpace(MaterializedType)); in GetAddrOfGlobalTemporary()
207 GetGlobalVarAddressSpace(&D, getContext().getTargetAddressSpace(Ty)); in getOrCreateStaticVarDecl()239 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(Ty); in getOrCreateStaticVarDecl()323 CGM.getContext().getTargetAddressSpace(D.getType())); in AddInitializerToStaticVarDecl()
1488 unsigned addressSpace = Context.getTargetAddressSpace(ret); in GetFunctionType()1512 unsigned AddressSpace = Context.getTargetAddressSpace(Ret); in GetFunctionType()1840 else if (getContext().getTargetAddressSpace(PTy) == 0) in ConstructAttributeList()1956 else if (getContext().getTargetAddressSpace(PTy) == 0) in ConstructAttributeList()2233 } else if (getContext().getTargetAddressSpace(ETy) == 0) { in EmitFunctionProlog()2245 !getContext().getTargetAddressSpace(ArrTy->getElementType())) in EmitFunctionProlog()
162 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
479 ASTCtx.getTargetAddressSpace(pointeeTy.getAddressSpace())))); in GenOpenCLArgMetadata()517 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
1036 CGM.getContext().getTargetAddressSpace(E->getType())); in EmitLValue()
2068 getContext().getTargetAddressSpace(LangAS::opencl_generic); in EmitBuiltinExpr()2201 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in EmitBuiltinExpr()2203 CGM.getContext().getTargetAddressSpace( in EmitBuiltinExpr()2286 EventTy->getPointerTo(CGM.getContext().getTargetAddressSpace(AS4)); in EmitBuiltinExpr()2290 EventTy->getPointerTo(CGM.getContext().getTargetAddressSpace(AS5)); in EmitBuiltinExpr()
753 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()1166 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType()
85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()
2200 unsigned getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function2201 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace()2204 unsigned getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function2205 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace()2208 unsigned getTargetAddressSpace(unsigned AS) const { in getTargetAddressSpace() function
1699 unsigned AS = getTargetAddressSpace( in getTypeInfoImpl()1709 unsigned AS = getTargetAddressSpace( in getTypeInfoImpl()1716 unsigned AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType()); in getTypeInfoImpl()2584 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
2095 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()