oota-llvm.git
21 years agoMake tests rerun if analyze is rebuilt
Chris Lattner [Thu, 20 Feb 2003 00:09:19 +0000 (00:09 +0000)]
Make tests rerun if analyze is rebuilt

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5601 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix warnings compiling C files
Chris Lattner [Wed, 19 Feb 2003 22:12:20 +0000 (22:12 +0000)]
Fix warnings compiling C files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5600 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove support for memset
Chris Lattner [Tue, 18 Feb 2003 20:42:15 +0000 (20:42 +0000)]
Remove support for memset

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5599 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd lots of functions
Chris Lattner [Tue, 18 Feb 2003 20:42:07 +0000 (20:42 +0000)]
Add lots of functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5598 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago4 new transformations:
Chris Lattner [Tue, 18 Feb 2003 19:57:07 +0000 (19:57 +0000)]
4 new transformations:
  * X*C + X --> X * (C+1)
  * X + X*C --> X * (C+1)
  * X - X*C --> X * (1-C)
  * X*C - X --> X * (C-1)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5592 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new testcases
Chris Lattner [Tue, 18 Feb 2003 19:55:31 +0000 (19:55 +0000)]
Add new testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5591 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoModernize testcase
Chris Lattner [Tue, 18 Feb 2003 19:43:53 +0000 (19:43 +0000)]
Modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5590 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoModernize testcases
Chris Lattner [Tue, 18 Feb 2003 19:43:21 +0000 (19:43 +0000)]
Modernize testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5589 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agotest for a variety of new transformations:
Chris Lattner [Tue, 18 Feb 2003 19:28:47 +0000 (19:28 +0000)]
test for a variety of new transformations:
  * A & ~A == 0
  * A / (2^c) == A >> c  if unsigned
  * 0 / A == 0
  * 1.0 * A == A
  * A * (2^c) == A << c
  * A ^ ~A == -1
  * A | ~A == -1
  * 0 % X = 0
  * A % (2^c) == A & (c-1) if unsigned
  * A - (A & B) == A & ~B
  * -1 - A == ~A

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5588 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a variety of new transformations:
Chris Lattner [Tue, 18 Feb 2003 19:28:33 +0000 (19:28 +0000)]
Add a variety of new transformations:
  * A & ~A == 0
  * A / (2^c) == A >> c  if unsigned
  * 0 / A == 0
  * 1.0 * A == A
  * A * (2^c) == A << c
  * A ^ ~A == -1
  * A | ~A == -1
  * 0 % X = 0
  * A % (2^c) == A & (c-1) if unsigned
  * A - (A & B) == A & ~B
  * -1 - A == ~A

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5587 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agomodernize testcase
Chris Lattner [Tue, 18 Feb 2003 19:16:45 +0000 (19:16 +0000)]
modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5586 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoModernize testcase
Chris Lattner [Tue, 18 Feb 2003 18:06:44 +0000 (18:06 +0000)]
Modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5585 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix resolution of indirect function calls... whoops
Chris Lattner [Fri, 14 Feb 2003 23:27:18 +0000 (23:27 +0000)]
Fix resolution of indirect function calls... whoops

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5576 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoChanges to runtime framework
Anand Shukla [Fri, 14 Feb 2003 20:41:53 +0000 (20:41 +0000)]
Changes to runtime framework

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5572 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMark function edges
Chris Lattner [Fri, 14 Feb 2003 20:25:47 +0000 (20:25 +0000)]
Mark function edges

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5571 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix a bug that cause a crash resolving questionable function calls
Chris Lattner [Fri, 14 Feb 2003 19:12:29 +0000 (19:12 +0000)]
Fix a bug that cause a crash resolving questionable function calls

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5567 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago- Eliminate provably non-pointer nodes from graphs.
Chris Lattner [Fri, 14 Feb 2003 06:28:00 +0000 (06:28 +0000)]
- Eliminate provably non-pointer nodes from graphs.

This helps a lot of testcases, for example:
            New Time  New #Nodes     Old Time    Old #Nodes
254.gap:    91.1024     21605        91.1397     22657
povray31:    2.7807      8613         3.0152     10338
255.vortex:  1.2034      8153         1.2172     8822
moria:        .6756      3150          .7054     3877
300.twolf:    .1652      2010          .1851     3270

Typically, testcases which use long and ulong integers a lot get better, f.e. povray above.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5566 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix a misunderstanding of the standard associative containers
Chris Lattner [Fri, 14 Feb 2003 05:34:36 +0000 (05:34 +0000)]
Fix a misunderstanding of the standard associative containers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5565 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't put integer pointers (longs) into the scalar map.
Chris Lattner [Fri, 14 Feb 2003 04:55:58 +0000 (04:55 +0000)]
Don't put integer pointers (longs) into the scalar map.
This speeds stuff up by 10% on some tests, woot!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5564 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoClarify the Makefile.config settings
Chris Lattner [Fri, 14 Feb 2003 04:22:13 +0000 (04:22 +0000)]
Clarify the Makefile.config settings

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5563 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: LevelRaise/2003-02-13-CallRaise.ll
Chris Lattner [Fri, 14 Feb 2003 03:07:17 +0000 (03:07 +0000)]
Fix bug: LevelRaise/2003-02-13-CallRaise.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5562 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase distilled from LARN
Chris Lattner [Fri, 14 Feb 2003 03:02:16 +0000 (03:02 +0000)]
New testcase distilled from LARN

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5561 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoHax0r around a deficiency in the Pass infrastructure
Chris Lattner [Thu, 13 Feb 2003 21:44:18 +0000 (21:44 +0000)]
Hax0r around a deficiency in the Pass infrastructure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5555 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse the new tailclip property new added to graphviz CVS to make call nodes
Chris Lattner [Thu, 13 Feb 2003 20:14:40 +0000 (20:14 +0000)]
Use the new tailclip property new added to graphviz CVS to make call nodes
actually intelligable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5554 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis speeds up processing LLVM a _lot_, 17% in the case of loading and destroying...
Chris Lattner [Thu, 13 Feb 2003 19:46:22 +0000 (19:46 +0000)]
This speeds up processing LLVM a _lot_, 17% in the case of loading and destroying "vortex"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5553 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove node forwarding code from being inlined to being out-of-line.
Chris Lattner [Thu, 13 Feb 2003 19:09:00 +0000 (19:09 +0000)]
Move node forwarding code from being inlined to being out-of-line.

This brings a 11.6% speedup to steens, and a 3.6 overall speedup to ds-aa

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5552 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix profile builds
Chris Lattner [Thu, 13 Feb 2003 16:56:30 +0000 (16:56 +0000)]
Fix profile builds

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5551 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake more compatible with GCC 2.96
Chris Lattner [Thu, 13 Feb 2003 16:25:28 +0000 (16:25 +0000)]
Make more compatible with GCC 2.96

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5550 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove gunk that was supposed to make space evaluation more precise, but never worked.
Chris Lattner [Thu, 13 Feb 2003 05:07:53 +0000 (05:07 +0000)]
Remove gunk that was supposed to make space evaluation more precise, but never worked.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5549 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase, for something we may never really want to support :)
Chris Lattner [Wed, 12 Feb 2003 21:45:39 +0000 (21:45 +0000)]
New testcase, for something we may never really want to support :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5548 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd -fomit-frame-pointer when optimizing
Chris Lattner [Wed, 12 Feb 2003 20:45:45 +0000 (20:45 +0000)]
Add -fomit-frame-pointer when optimizing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5547 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFixed alloca declaration problem on sun.
Joel Stanley [Wed, 12 Feb 2003 20:45:00 +0000 (20:45 +0000)]
Fixed alloca declaration problem on sun.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5546 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't output times in "scientific" notation
Chris Lattner [Wed, 12 Feb 2003 19:02:13 +0000 (19:02 +0000)]
Don't output times in "scientific" notation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5544 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new -no-verify option
Chris Lattner [Wed, 12 Feb 2003 18:45:08 +0000 (18:45 +0000)]
Add new -no-verify option

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5542 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a new -no-output option, useful for -aa-eval tests.
Chris Lattner [Wed, 12 Feb 2003 18:43:33 +0000 (18:43 +0000)]
Add a new -no-output option, useful for -aa-eval tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5541 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement more functions
Chris Lattner [Tue, 11 Feb 2003 23:12:23 +0000 (23:12 +0000)]
Implement more functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5538 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename options
Chris Lattner [Tue, 11 Feb 2003 23:12:09 +0000 (23:12 +0000)]
Rename options

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5537 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement a "union-findy" version of DS-Analysis, which eliminates the
Chris Lattner [Tue, 11 Feb 2003 23:11:51 +0000 (23:11 +0000)]
Implement a "union-findy" version of DS-Analysis, which eliminates the
Referrers list on DSNodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5536 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor tweaks to printing. Close the file before viewing it in viewGraph
Chris Lattner [Tue, 11 Feb 2003 19:27:27 +0000 (19:27 +0000)]
Minor tweaks to printing.  Close the file before viewing it in viewGraph

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5535 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix uninitialized member problem
Chris Lattner [Tue, 11 Feb 2003 06:36:00 +0000 (06:36 +0000)]
Fix uninitialized member problem

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5534 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoBugfix for calling dump() after the links vector has been cleared
Chris Lattner [Mon, 10 Feb 2003 22:46:47 +0000 (22:46 +0000)]
Bugfix for calling dump() after the links vector has been cleared

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5533 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoModest speedup which seems to help steens quite a bit on large graphs
Chris Lattner [Mon, 10 Feb 2003 18:47:23 +0000 (18:47 +0000)]
Modest speedup which seems to help steens quite a bit on large graphs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5532 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove getNode() out of line
Chris Lattner [Mon, 10 Feb 2003 18:19:41 +0000 (18:19 +0000)]
Move getNode() out of line

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5531 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix problem breaking GAP, use hasNoReferrers more
Chris Lattner [Mon, 10 Feb 2003 18:18:18 +0000 (18:18 +0000)]
Fix problem breaking GAP, use hasNoReferrers more

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5530 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement a new method "viewGraph" which can be used to instantly view a graph from...
Chris Lattner [Mon, 10 Feb 2003 18:17:38 +0000 (18:17 +0000)]
Implement a new method "viewGraph" which can be used to instantly view a graph from GDB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5529 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement a new "viewGraph" method which can be used to instantly view a graph from gdb
Chris Lattner [Mon, 10 Feb 2003 18:17:07 +0000 (18:17 +0000)]
Implement a new "viewGraph" method which can be used to instantly view a graph from gdb

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5528 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRearrange code
Chris Lattner [Mon, 10 Feb 2003 18:16:36 +0000 (18:16 +0000)]
Rearrange code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5527 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix problem breaking Fhourstones
Chris Lattner [Mon, 10 Feb 2003 18:16:19 +0000 (18:16 +0000)]
Fix problem breaking Fhourstones

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5526 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRevert Anand's patch which broke the build
Chris Lattner [Mon, 10 Feb 2003 15:55:50 +0000 (15:55 +0000)]
Revert Anand's patch which broke the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5525 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake steensgaards performance not shameful
Chris Lattner [Mon, 10 Feb 2003 00:14:57 +0000 (00:14 +0000)]
Make steensgaards performance not shameful

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5524 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't insert null entries into the scalar map for constexpr (cast null to Ty)
Chris Lattner [Sun, 9 Feb 2003 23:04:12 +0000 (23:04 +0000)]
Don't insert null entries into the scalar map for constexpr (cast null to Ty)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5523 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago*** empty log message ***
Anand Shukla [Sun, 9 Feb 2003 21:15:36 +0000 (21:15 +0000)]
*** empty log message ***

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5522 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove the -debug option from release executables
Chris Lattner [Sun, 9 Feb 2003 21:13:57 +0000 (21:13 +0000)]
Remove the -debug option from release executables

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5521 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAllow printing of various types of alias analysis results
Chris Lattner [Sun, 9 Feb 2003 20:40:13 +0000 (20:40 +0000)]
Allow printing of various types of alias analysis results

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5520 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement knowledge in BasicAA that &A->field != &A and (P+1) != P
Chris Lattner [Sun, 9 Feb 2003 19:38:11 +0000 (19:38 +0000)]
Implement knowledge in BasicAA that &A->field != &A and (P+1) != P

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5519 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago - Fix BasicAA to correctly detect the non-aliasness of A[1] & A[2]
Chris Lattner [Sun, 9 Feb 2003 19:27:21 +0000 (19:27 +0000)]
 - Fix BasicAA to correctly detect the non-aliasness of A[1] & A[2]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5518 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSwitch to using the right call vector
Chris Lattner [Sun, 9 Feb 2003 19:26:47 +0000 (19:26 +0000)]
Switch to using the right call vector

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5517 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a basic-aa test
Chris Lattner [Sun, 9 Feb 2003 19:01:00 +0000 (19:01 +0000)]
Add a basic-aa test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5516 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix major bugs in incompleteness marking that were pessimizing results
Chris Lattner [Sun, 9 Feb 2003 18:42:43 +0000 (18:42 +0000)]
Fix major bugs in incompleteness marking that were pessimizing results

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5515 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoPrint out the steens graph if -debug is specified
Chris Lattner [Sun, 9 Feb 2003 18:42:16 +0000 (18:42 +0000)]
Print out the steens graph if -debug is specified

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5514 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Fix a bug where global incompleteness marking would not mark the global
Chris Lattner [Sun, 9 Feb 2003 18:41:49 +0000 (18:41 +0000)]
* Fix a bug where global incompleteness marking would not mark the global
  itself incomplete!
* Allow incompleteness callers to specify they don't want globals to be
  considered sources of incompleteness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5513 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTD Pass now does not cause globals to mark nodes incomplete.
Chris Lattner [Sun, 9 Feb 2003 18:40:25 +0000 (18:40 +0000)]
TD Pass now does not cause globals to mark nodes incomplete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5512 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a special case for main because we know it's incoming arguments don't alias
Chris Lattner [Sat, 8 Feb 2003 23:08:02 +0000 (23:08 +0000)]
Add a special case for main because we know it's incoming arguments don't alias

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5511 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix a bug where we would mark the callees arguments incomplete if the caller was...
Chris Lattner [Sat, 8 Feb 2003 23:07:39 +0000 (23:07 +0000)]
Fix a bug where we would mark the callees arguments incomplete if the caller was external.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5510 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix division by zero problem
Chris Lattner [Sat, 8 Feb 2003 23:04:50 +0000 (23:04 +0000)]
Fix division by zero problem

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5509 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove explicit result counters
Chris Lattner [Sat, 8 Feb 2003 23:03:17 +0000 (23:03 +0000)]
Remove explicit result counters

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5508 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a flag which effectively disables field sensitivity
Chris Lattner [Sat, 8 Feb 2003 20:18:39 +0000 (20:18 +0000)]
Add a flag which effectively disables field sensitivity

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5506 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't bother counting alias results, allow the AliasAnalysisCounter to do that.
Chris Lattner [Fri, 7 Feb 2003 20:39:48 +0000 (20:39 +0000)]
Don't bother counting alias results, allow the AliasAnalysisCounter to do that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5505 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAllow counting multiple passes, and print the pass name counted
Chris Lattner [Fri, 7 Feb 2003 20:39:17 +0000 (20:39 +0000)]
Allow counting multiple passes, and print the pass name counted

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5504 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew general purpose alias analysis result auditor
Chris Lattner [Fri, 7 Feb 2003 19:46:03 +0000 (19:46 +0000)]
New general purpose alias analysis result auditor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5503 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd notes from Vikram's email
Chris Lattner [Fri, 7 Feb 2003 19:25:35 +0000 (19:25 +0000)]
Add notes from Vikram's email

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5502 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove obsolete page
Chris Lattner [Fri, 7 Feb 2003 19:22:53 +0000 (19:22 +0000)]
Remove obsolete page

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5501 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd a summary
Chris Lattner [Thu, 6 Feb 2003 22:06:08 +0000 (22:06 +0000)]
Add a summary

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5500 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix a problem Sumant was running into
Chris Lattner [Thu, 6 Feb 2003 22:03:46 +0000 (22:03 +0000)]
Fix a problem Sumant was running into

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5499 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSimple N^2 alias anlysis accuracy checker
Chris Lattner [Thu, 6 Feb 2003 21:29:49 +0000 (21:29 +0000)]
Simple N^2 alias anlysis accuracy checker

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5498 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew "open projects" document
Chris Lattner [Thu, 6 Feb 2003 19:39:21 +0000 (19:39 +0000)]
New "open projects" document

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5497 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix an assertion failure
Chris Lattner [Thu, 6 Feb 2003 00:15:08 +0000 (00:15 +0000)]
Fix an assertion failure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5496 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement optimization for direct function call case. This dramatically
Chris Lattner [Wed, 5 Feb 2003 21:59:58 +0000 (21:59 +0000)]
Implement optimization for direct function call case.  This dramatically
reduces the number of function nodes created and speeds up analysis by
about 10% overall.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5495 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSquelch warning
Chris Lattner [Wed, 5 Feb 2003 21:44:28 +0000 (21:44 +0000)]
Squelch warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5494 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAllow the addition of edge source labels
Chris Lattner [Wed, 5 Feb 2003 19:40:59 +0000 (19:40 +0000)]
Allow the addition of edge source labels

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5493 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove bogus assertion
Chris Lattner [Tue, 4 Feb 2003 16:33:23 +0000 (16:33 +0000)]
Remove bogus assertion

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5492 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix a huge bug with handling non-pointer instructions
Chris Lattner [Tue, 4 Feb 2003 00:59:50 +0000 (00:59 +0000)]
Fix a huge bug with handling non-pointer instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5491 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMake the TD pass not include all of the call nodes from the local pass,
Chris Lattner [Tue, 4 Feb 2003 00:59:32 +0000 (00:59 +0000)]
Make the TD pass not include all of the call nodes from the local pass,
eliminating incomplete markers from them

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5490 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd sanity check
Chris Lattner [Tue, 4 Feb 2003 00:03:57 +0000 (00:03 +0000)]
Add sanity check

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5489 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix steensgaard to work on a lot more cases...
Chris Lattner [Tue, 4 Feb 2003 00:03:37 +0000 (00:03 +0000)]
Fix steensgaard to work on a lot more cases...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5488 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix printing of nonfunction graphs
Chris Lattner [Tue, 4 Feb 2003 00:03:18 +0000 (00:03 +0000)]
Fix printing of nonfunction graphs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5487 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename variable
Chris Lattner [Mon, 3 Feb 2003 22:51:53 +0000 (22:51 +0000)]
Rename variable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5486 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoHack to work around deficiency in pass infrastructure
Chris Lattner [Mon, 3 Feb 2003 22:51:28 +0000 (22:51 +0000)]
Hack to work around deficiency in pass infrastructure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5485 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInitial implementation of ds-aa
Chris Lattner [Mon, 3 Feb 2003 22:50:46 +0000 (22:50 +0000)]
Initial implementation of ds-aa

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5484 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoCheck field sensitivity
Chris Lattner [Mon, 3 Feb 2003 21:40:14 +0000 (21:40 +0000)]
Check field sensitivity

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5483 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoBuild DS-AA tests
Chris Lattner [Mon, 3 Feb 2003 21:31:53 +0000 (21:31 +0000)]
Build DS-AA tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5482 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInitial tests for DS alias analysis
Chris Lattner [Mon, 3 Feb 2003 21:31:43 +0000 (21:31 +0000)]
Initial tests for DS alias analysis

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5481 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd statistics to basicAA pass
Chris Lattner [Mon, 3 Feb 2003 21:16:17 +0000 (21:16 +0000)]
Add statistics to basicAA pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5480 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Fix a bug introduced in the last checkin wrt Stack markers
Chris Lattner [Mon, 3 Feb 2003 20:08:51 +0000 (20:08 +0000)]
* Fix a bug introduced in the last checkin wrt Stack markers
* Make cloning more efficient in the process...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5479 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement feof and xmalloc
Chris Lattner [Mon, 3 Feb 2003 19:12:38 +0000 (19:12 +0000)]
Implement feof and xmalloc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5478 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement the globals graph!
Chris Lattner [Mon, 3 Feb 2003 19:12:15 +0000 (19:12 +0000)]
Implement the globals graph!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5477 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd better debug output
Chris Lattner [Mon, 3 Feb 2003 19:11:38 +0000 (19:11 +0000)]
Add better debug output

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5476 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoEliminate unused resolving caller stuff
Chris Lattner [Mon, 3 Feb 2003 19:11:04 +0000 (19:11 +0000)]
Eliminate unused resolving caller stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5475 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Add a bunch of stuff for checking the integrity of the graph
Chris Lattner [Mon, 3 Feb 2003 19:10:24 +0000 (19:10 +0000)]
* Add a bunch of stuff for checking the integrity of the graph
* remove the isNodeDead method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5474 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove pool alloc accessor
Chris Lattner [Mon, 3 Feb 2003 19:08:33 +0000 (19:08 +0000)]
Remove pool alloc accessor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5473 91177308-0d34-0410-b5e6-96231b3b80d8