Lines Matching refs:Ref
43 static cl::opt<bool> PrintRef("print-ref", cl::ReallyHidden);
51 unsigned NoModRef, Mod, Ref, ModRef;
66 NoModRef = Mod = Ref = ModRef = 0;
271 // Mod/ref alias analysis: compare all pairs of calls and values
289 case AliasAnalysis::Ref:
290 PrintModRefResults("Just Ref", PrintRef, I, *V, F.getParent());
291 ++Ref; break;
299 // Mod/ref alias analysis: compare all pairs of calls
312 case AliasAnalysis::Ref:
313 PrintModRefResults("Just Ref", PrintRef, *C, *D, F.getParent());
314 ++Ref; break;
351 // Display the summary for mod/ref analysis
352 unsigned ModRefSum = NoModRef + Mod + Ref + ModRef;
354 errs() << " Alias Analysis Mod/Ref Evaluator Summary: no mod/ref!\n";
357 errs() << " " << NoModRef << " no mod/ref responses ";
361 errs() << " " << Ref << " ref responses ";
362 PrintPercent(Ref, ModRefSum);
363 errs() << " " << ModRef << " mod & ref responses ";
365 errs() << " Alias Analysis Evaluator Mod/Ref Summary: "
367 << Ref*100/ModRefSum << "%/" << ModRef*100/ModRefSum << "%\n";