This fixes all kinds of problems with array handling. There are still bugs to
authorChris Lattner <sabre@nondot.org>
Thu, 31 Oct 2002 05:45:02 +0000 (05:45 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 31 Oct 2002 05:45:02 +0000 (05:45 +0000)
commit8f0a16eac6e406d041af54471497453f50f52a64
treecdc45de502e936ef84c23a5be0766d5bb08f6e29
parentdb94ca13b86c89358b19c91a5b1b79d9b24859ca
This fixes all kinds of problems with array handling.  There are still bugs to
be fixed, but we are getting much closer now.

    * Make DSNode::TypeRec a full fledged DSTypeRec type.
    * Add methods used to update and access the typerecords elements
    * Add methods to query if and to cause a node to be completely folded
    * DSGraph construction doesn't use the allocation type for anything at all,
      now nodes get their type information based on how they are used.
    * Fixed a bug with global value handling introduced in the last checkin
    * GEP support is now much better, arrays are handled correctly.  The array
      flag is now updated in type records.  There are still cases that are not
      handled yet (we do not detect pessimizations), but getting much closer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4465 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraph.h
lib/Analysis/DataStructure/DataStructure.cpp
lib/Analysis/DataStructure/Local.cpp