Lines Matching refs:PTGV
6140 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef() local
6141 if (PTGV) in GenerateProtocolRef()
6142 return CGF.Builder.CreateAlignedLoad(PTGV, Align); in GenerateProtocolRef()
6143 PTGV = new llvm::GlobalVariable( in GenerateProtocolRef()
6149 PTGV->setSection("__DATA, __objc_protorefs, coalesced, no_dead_strip"); in GenerateProtocolRef()
6150 PTGV->setVisibility(llvm::GlobalValue::HiddenVisibility); in GenerateProtocolRef()
6151 PTGV->setAlignment(Align.getQuantity()); in GenerateProtocolRef()
6152 CGM.addCompilerUsedGlobal(PTGV); in GenerateProtocolRef()
6153 return CGF.Builder.CreateAlignedLoad(PTGV, Align); in GenerateProtocolRef()
6582 llvm::GlobalVariable *PTGV = in GetOrEmitProtocol() local
6586 PTGV->setAlignment( in GetOrEmitProtocol()
6588 PTGV->setSection("__DATA, __objc_protolist, coalesced, no_dead_strip"); in GetOrEmitProtocol()
6589 PTGV->setVisibility(llvm::GlobalValue::HiddenVisibility); in GetOrEmitProtocol()
6590 CGM.addCompilerUsedGlobal(PTGV); in GetOrEmitProtocol()