• Home
  • Raw
  • Download

Lines Matching refs:GV

57     unsigned getInfoForGlobal(const GlobalValue *GV) const {  in getInfoForGlobal()
60 GlobalInfo.find(GV); in getInfoForGlobal()
184 bool AnalyzeIndirectGlobalMemory(GlobalValue *GV);
304 bool GlobalsModRef::AnalyzeIndirectGlobalMemory(GlobalValue *GV) { in AnalyzeIndirectGlobalMemory() argument
311 for (Value::use_iterator I = GV->use_begin(), E = GV->use_end(); I != E; ++I){ in AnalyzeIndirectGlobalMemory()
323 if (SI->getOperand(0) == GV) return false; in AnalyzeIndirectGlobalMemory()
345 if (AnalyzeUsesOfPointer(Ptr, ReadersWriters, ReadersWriters, GV)) in AnalyzeIndirectGlobalMemory()
359 AllocsForIndirectGlobals[AllocRelatedValues.back()] = GV; in AnalyzeIndirectGlobalMemory()
362 IndirectGlobals.insert(GV); in AnalyzeIndirectGlobalMemory()
527 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
528 if (IndirectGlobals.count(GV)) in alias()
529 GV1 = GV; in alias()
531 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
532 if (IndirectGlobals.count(GV)) in alias()
533 GV2 = GV; in alias()
559 if (const GlobalValue *GV = in getModRefInfo() local
561 if (GV->hasLocalLinkage()) in getModRefInfo()
563 if (NonAddressTakenGlobals.count(GV)) in getModRefInfo()
565 Known = FR->getInfoForGlobal(GV); in getModRefInfo()
577 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in deleteValue() local
578 if (NonAddressTakenGlobals.erase(GV)) { in deleteValue()
581 if (IndirectGlobals.erase(GV)) { in deleteValue()
586 if (I->second == GV) { in deleteValue()