reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/ASTContext.h
 2549   unsigned getTargetAddressSpace(LangAS AS) const;

References

tools/clang/include/clang/AST/ASTContext.h
 2546     return getTargetAddressSpace(Q.getAddressSpace());
tools/clang/lib/AST/ASTContext.cpp
 2026       AS = getTargetAddressSpace(
 2204     Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global));
 2205     Align = Target->getPointerAlign(getTargetAddressSpace(LangAS::opencl_global));
tools/clang/lib/AST/ItaniumMangle.cpp
 2287       unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS);
tools/clang/lib/AST/MicrosoftMangle.cpp
 1840     unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS);
tools/clang/lib/CodeGen/CGAtomic.cpp
  976       auto DestAS = getContext().getTargetAddressSpace(LangAS::opencl_generic);
tools/clang/lib/CodeGen/CGBlocks.cpp
  194            CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant));
  258     AddrSpace = C.getTargetAddressSpace(LangAS::opencl_constant);
  455         CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic);
  931           CGM.getContext().getTargetAddressSpace(GenVoidPtrAddr)) /
 1212     AddrSpace = getContext().getTargetAddressSpace(LangAS::opencl_constant);
 1434     AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_global);
 1503               ? getContext().getTargetAddressSpace(LangAS::opencl_generic)
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3572         getContext().getTargetAddressSpace(LangAS::opencl_generic);
 3722       CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic));
 3724       CGM.getContext().getTargetAddressSpace(
 3748         getContext().getTargetAddressSpace(LangAS::opencl_generic));
 3849           CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic));
 3927         getContext().getTargetAddressSpace(LangAS::opencl_generic));
 3941         getContext().getTargetAddressSpace(LangAS::opencl_generic));
 3956         getContext().getTargetAddressSpace(LangAS::opencl_generic));
tools/clang/lib/CodeGen/CGClass.cpp
 2042     unsigned TargetThisAS = getContext().getTargetAddressSpace(ThisAS);
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4425             CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared);
 4428             CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant);
tools/clang/lib/CodeGen/CGDecl.cpp
  239   unsigned TargetAS = getContext().getTargetAddressSpace(AS);
  269         LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS)));
 1106         getContext().getTargetAddressSpace(getStringLiteralAddressSpace());
 2387       assert(getContext().getTargetAddressSpace(SrcLangAS) ==
 2389       auto DestAS = getContext().getTargetAddressSpace(DestLangAS);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  123           CGM.getContext().getTargetAddressSpace(DestAS));
tools/clang/lib/CodeGen/CGExpr.cpp
   88     auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default);
  393               CGF.getContext().getTargetAddressSpace(AS));
  401                     CGF.getContext().getTargetAddressSpace(LangAS::Default)));
tools/clang/lib/CodeGen/CGExprAgg.cpp
  504           CGM.getContext().getTargetAddressSpace(AS));
tools/clang/lib/CodeGen/CGExprConstant.cpp
  908                     CGM.getContext().getTargetAddressSpace(addressSpace));
 1424                                          CGM.getContext().getTargetAddressSpace(DestAddressSpace));
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
   38   uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace(
   84       CGM.getContext().getTargetAddressSpace(
   93       CGM.getContext().getTargetAddressSpace(
  122       CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic));
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1184         CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared));
 1314         CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared));
 3213     unsigned SharedAddressSpace = C.getTargetAddressSpace(LangAS::cuda_shared);
 4757           CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant));
 4769           CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared));
 4898   return CGM.getContext().getTargetAddressSpace(LangAS::cuda_constant);
 5131           C.getTargetAddressSpace(LangAS::cuda_shared));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3460   auto TargetAddrSpace = getContext().getTargetAddressSpace(AddrSpace);
 3579   assert(getContext().getTargetAddressSpace(ExpectedAS) ==
 3686                 Ty, getContext().getTargetAddressSpace(LangAS::opencl_global))
 3780                 CGM.getContext().getTargetAddressSpace(LangAS::Default)));
 3958           getContext().getTargetAddressSpace(GetGlobalVarAddressSpace(D))) {
 4888   unsigned AddrSpace = CGM.getContext().getTargetAddressSpace(
 5079   auto TargetAS = getContext().getTargetAddressSpace(AddrSpace);
 5095             getContext().getTargetAddressSpace(LangAS::Default)));
tools/clang/lib/CodeGen/TargetInfo.cpp
 8047       Ctx.getTargetAddressSpace(LangAS::opencl_generic));
 8059       CGM.getContext().getTargetAddressSpace(LangAS::opencl_global));