Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGOpenCLRuntime.cpp38 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in convertOpenCLSpecificType()
DCodeGenTypes.cpp498 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
508 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
600 unsigned AS = Context.getTargetAddressSpace(FTy); in ConvertType()
DCodeGenModule.cpp1442 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()
DCGDecl.cpp198 GetGlobalVarAddressSpace(&D, getContext().getTargetAddressSpace(Ty)); in getOrCreateStaticVarDecl()
230 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(Ty); in getOrCreateStaticVarDecl()
314 CGM.getContext().getTargetAddressSpace(D.getType())); in AddInitializerToStaticVarDecl()
DCGCall.cpp1315 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()
DCGDeclCXX.cpp154 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
DCodeGenFunction.cpp479 ASTCtx.getTargetAddressSpace(pointeeTy.getAddressSpace())))); in GenOpenCLArgMetadata()
516 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); in GenOpenCLArgMetadata()
DCGExprConstant.cpp1023 CGM.getContext().getTargetAddressSpace(E->getType())); in EmitLValue()
DCGDebugInfo.cpp727 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()
1084 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.h2175 unsigned getTargetAddressSpace(QualType T) const { in getTargetAddressSpace() function
2176 return getTargetAddressSpace(T.getQualifiers()); in getTargetAddressSpace()
2179 unsigned getTargetAddressSpace(Qualifiers Q) const { in getTargetAddressSpace() function
2180 return getTargetAddressSpace(Q.getAddressSpace()); in getTargetAddressSpace()
2183 unsigned getTargetAddressSpace(unsigned AS) const { in getTargetAddressSpace() function
/external/clang/lib/AST/
DASTContext.cpp1708 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()
DItaniumMangle.cpp1788 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers()