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()
260 unsigned TargetAS = getContext().getTargetAddressSpace(AS); in getOrCreateStaticVarDecl() local273 nullptr, llvm::GlobalVariable::NotThreadLocal, TargetAS); in getOrCreateStaticVarDecl()2649 auto TargetAS = getContext().getTargetAddressSpace(GVAS); in EmitOMPAllocateDecl() local2650 if (Entry->getType()->getAddressSpace() == TargetAS) in EmitOMPAllocateDecl()2655 llvm::PointerType *PTy = llvm::PointerType::get(Ty, TargetAS); in EmitOMPAllocateDecl()
5536 auto TargetAS = getContext().getTargetAddressSpace(AddrSpace); in GetAddrOfGlobalTemporary() local5539 /*InsertBefore=*/nullptr, llvm::GlobalVariable::NotThreadLocal, TargetAS); in GetAddrOfGlobalTemporary()
2551 unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS); in mangleQualifiers() local2552 if (TargetAS != 0 || in mangleQualifiers()2554 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()