Home
last modified time | relevance | path

Searched refs:ExpectedAS (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp280 LangAS ExpectedAS = Ty.getAddressSpace(); in getOrCreateStaticVarDecl() local
282 if (AS != ExpectedAS) { in getOrCreateStaticVarDecl()
284 *this, GV, AS, ExpectedAS, in getOrCreateStaticVarDecl()
285 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl()
DCodeGenModule.cpp3813 LangAS ExpectedAS = in GetOrCreateLLVMGlobal() local
3816 assert(getContext().getTargetAddressSpace(ExpectedAS) == in GetOrCreateLLVMGlobal()
3818 if (AddrSpace != ExpectedAS) in GetOrCreateLLVMGlobal()
3820 ExpectedAS, Ty); in GetOrCreateLLVMGlobal()