Home | History | Annotate | Download | only in IPA

Lines Matching refs:GV

58     unsigned getInfoForGlobal(const GlobalValue *GV) const {
61 GlobalInfo.find(GV);
189 bool AnalyzeIndirectGlobalMemory(GlobalValue *GV);
297 /// Further, all loads out of GV must directly use the memory, not store the
299 /// GV to be owned by GV and can disambiguate other pointers from it.
300 bool GlobalsModRef::AnalyzeIndirectGlobalMemory(GlobalValue *GV) {
307 for (User *U : GV->users()) {
318 if (SI->getOperand(0) == GV) return false;
333 if (AnalyzeUsesOfPointer(Ptr, ReadersWriters, ReadersWriters, GV))
347 AllocsForIndirectGlobals[AllocRelatedValues.back()] = GV;
350 IndirectGlobals.insert(GV);
511 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0)))
512 if (IndirectGlobals.count(GV))
513 GV1 = GV;
515 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0)))
516 if (IndirectGlobals.count(GV))
517 GV2 = GV;
543 if (const GlobalValue *GV =
545 if (GV->hasLocalLinkage())
547 if (NonAddressTakenGlobals.count(GV))
549 Known = FR->getInfoForGlobal(GV);
561 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
562 if (NonAddressTakenGlobals.erase(GV)) {
565 if (IndirectGlobals.erase(GV)) {
570 if (I->second == GV) {