Searched refs:ExpectedAS (Results 1 – 2 of 2) sorted by relevance
280 LangAS ExpectedAS = Ty.getAddressSpace(); in getOrCreateStaticVarDecl() local282 if (AS != ExpectedAS) { in getOrCreateStaticVarDecl()284 *this, GV, AS, ExpectedAS, in getOrCreateStaticVarDecl()285 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl()
3813 LangAS ExpectedAS = in GetOrCreateLLVMGlobal() local3816 assert(getContext().getTargetAddressSpace(ExpectedAS) == in GetOrCreateLLVMGlobal()3818 if (AddrSpace != ExpectedAS) in GetOrCreateLLVMGlobal()3820 ExpectedAS, Ty); in GetOrCreateLLVMGlobal()