Lines Matching refs:Mod
1 //===- GlobalsModRef.cpp - Simple Mod/Ref Analysis for Globals ------------===//
10 // This simple pass provides alias and mod/ref information for global values
48 /// GlobalInfo - Maintain mod/ref info for all of the globals without
129 else if ((FR->FunctionEffect & Mod) == 0)
146 else if ((FR->FunctionEffect & Mod) == 0)
189 "globalsmodref-aa", "Simple mod/ref analysis for globals",
193 "globalsmodref-aa", "Simple mod/ref analysis for globals",
218 // Remember that we are tracking this global, and the mod/ref fns
226 FunctionInfo[Writers[i]].GlobalInfo[I] |= Mod;
319 // TODO: Could try some IP mod/ref of the loaded pointer.
367 /// graph to all callers and compute the mod/ref info for all memory for each
390 // Collect the mod
391 // one mod-ref set.
400 // Try to get mod/ref behaviour from function attributes.
461 FunctionEffect |= Mod;
463 FunctionEffect |= Mod;
472 if ((FunctionEffect & Mod) == 0)
551 // If we are asking for mod/ref info of a direct call with a pointer to a
562 return NoModRef; // No need to query other mod/ref analyses