From ccb354b687798d182c23f75b3260c38272fc7c3d 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. +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. This pass also keeps track of functions that it knows never access +memory or never read memory. This allows certain optimizations (e.g. GCSE) to +eliminate call instructions entirely.
The real power of this pass is that it provides context-sensitive mod/ref