Searched refs:TargetAS (Results 1 – 5 of 5) sorted by relevance
80 inline LangAS getLangASFromTargetAS(unsigned TargetAS) { in getLangASFromTargetAS() argument81 return static_cast<LangAS>((TargetAS) + in getLangASFromTargetAS()
255 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl() local268 nullptr, llvm::GlobalVariable::NotThreadLocal, TargetAS); in getOrCreateStaticVarDecl()2642 auto TargetAS = getContext().getTargetAddressSpace(GVAS); in EmitOMPAllocateDecl() local2643 if (Entry->getType()->getAddressSpace() == TargetAS) in EmitOMPAllocateDecl()2648 llvm::PointerType *PTy = llvm::PointerType::get(Ty, TargetAS); in EmitOMPAllocateDecl()
5506 auto TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetAddrOfGlobalTemporary() local5509 /*InsertBefore=*/nullptr, llvm::GlobalVariable::NotThreadLocal, TargetAS); in GetAddrOfGlobalTemporary()
2544 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers() local2545 if (TargetAS != 0 || in mangleQualifiers()2547 ASString = "AS" + llvm::utostr(TargetAS); in mangleQualifiers()
2156 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleAddressSpaceType() local2158 Extra.mangleIntegerLiteral(llvm::APSInt::getUnsigned(TargetAS)); in mangleAddressSpaceType()