Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp38 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in convertOpenCLSpecificType()
72 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in getPipeType()
DCodeGenTypes.cpp501 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
511 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
603 unsigned AS = Context.getTargetAddressSpace(FTy); in ConvertType()
DCodeGenModule.cpp1501 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()
DCGDecl.cpp207 GetGlobalVarAddressSpace(&D, getContext().getTargetAddressSpace(Ty)); in getOrCreateStaticVarDecl()
239 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(Ty); in getOrCreateStaticVarDecl()
323 CGM.getContext().getTargetAddressSpace(D.getType())); in AddInitializerToStaticVarDecl()
DCGCall.cpp1488 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()
DCGDeclCXX.cpp162 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
DCodeGenFunction.cpp479 ASTCtx.getTargetAddressSpace(pointeeTy.getAddressSpace())))); in GenOpenCLArgMetadata()
517 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
DCGExprConstant.cpp1036 CGM.getContext().getTargetAddressSpace(E->getType())); in EmitLValue()
DCGBuiltin.cpp2068 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()
DCGDebugInfo.cpp753 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()
1166 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in getOrCreateInstanceMethodType()
DCGBlocks.cpp85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor()
/external/clang/include/clang/AST/
DASTContext.h2200 unsigned getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function
2201 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace()
2204 unsigned getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function
2205 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace()
2208 unsigned getTargetAddressSpace(unsigned AS) const { in getTargetAddressSpace() function
/external/clang/lib/AST/
DASTContext.cpp1699 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()
DItaniumMangle.cpp2095 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()