From 100a4f88ec7fc8e304cd991631825fdc6fe0f761 Mon Sep 17 00:00:00 2001
From: Chris Lattner
This pass implements a simple context-sensitive mod/ref and alias analysis +for internal global variables that don't "have their address taken". If a +global does not have its address taken, the pass knows that no pointers alias +the global. +
+ +The real power of this pass is that it provides context-sensitive mod/ref +information for call instructions. This allows the optimizer to know that +calls to a function do not clobber or read the value of the global, allowing +loads and stores to be eliminated.
+ +Note that this pass is somewhat limited in its scope (only support +non-address taken globals), but is very quick analysis.
+