]> granicus.if.org Git - llvm/log
llvm
21 years agoConvert to work with new AliasAnalysis interface by conservatively assuming all point...
Chris Lattner [Wed, 26 Feb 2003 19:28:57 +0000 (19:28 +0000)]
Convert to work with new AliasAnalysis interface by conservatively assuming all pointers are arbitrarily large accesses

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

21 years agoCalculate and pass load sizes to the alias analysis infrastructure
Chris Lattner [Wed, 26 Feb 2003 19:27:35 +0000 (19:27 +0000)]
Calculate and pass load sizes to the alias analysis infrastructure

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

21 years agoAdjust to new AA interface
Chris Lattner [Wed, 26 Feb 2003 19:27:05 +0000 (19:27 +0000)]
Adjust to new AA interface
Add tracking for Mod/Ref info

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

21 years ago - Checkin of the alias analysis work:
Chris Lattner [Wed, 26 Feb 2003 19:26:51 +0000 (19:26 +0000)]
  - Checkin of the alias analysis work:
    * Takes into account the size of the memory reference to determine aliasing.
    * Expose mod/ref information in a more consistent way
    * BasicAA can now disambiguate A[i][1] and A[j][2] for conservative request
      sizes

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

21 years agoTweak to work with new AA implementation
Chris Lattner [Wed, 26 Feb 2003 19:25:04 +0000 (19:25 +0000)]
Tweak to work with new AA implementation

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

21 years agoCheckin of new alias analysis interface:
Chris Lattner [Wed, 26 Feb 2003 19:24:47 +0000 (19:24 +0000)]
Checkin of new alias analysis interface:
  * Takes into account the size of the memory reference to determine aliasing.
  * Expose mod/ref information in a more consistent way

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

21 years agoAllow ImmutablePass's to require other immutable passes and to be initialized
Chris Lattner [Wed, 26 Feb 2003 19:10:57 +0000 (19:10 +0000)]
Allow ImmutablePass's to require other immutable passes and to be initialized

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

21 years ago* Un "protect" the getAnalysis<> functions
Chris Lattner [Wed, 26 Feb 2003 19:10:28 +0000 (19:10 +0000)]
* Un "protect" the getAnalysis<> functions
* Add a new initializePass() method to ImmutablePass

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

21 years agoRemove implemented projects
Chris Lattner [Wed, 26 Feb 2003 16:38:22 +0000 (16:38 +0000)]
Remove implemented projects

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

21 years agoUpdate programmers manual for renamed method
Chris Lattner [Wed, 26 Feb 2003 16:38:15 +0000 (16:38 +0000)]
Update programmers manual for renamed method

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

21 years agoHopefully final tweak to this testcase
Chris Lattner [Wed, 26 Feb 2003 16:18:00 +0000 (16:18 +0000)]
Hopefully final tweak to this testcase

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

21 years agoAdd a new test for basicaa
Chris Lattner [Tue, 25 Feb 2003 21:43:37 +0000 (21:43 +0000)]
Add a new test for basicaa

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

21 years agoFix typeo
Chris Lattner [Tue, 25 Feb 2003 21:14:59 +0000 (21:14 +0000)]
Fix typeo

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

21 years agoRemove wierd case that can never happen
Chris Lattner [Tue, 25 Feb 2003 20:27:09 +0000 (20:27 +0000)]
Remove wierd case that can never happen

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

21 years agoAdd new helper template function
Chris Lattner [Tue, 25 Feb 2003 00:00:50 +0000 (00:00 +0000)]
Add new helper template function

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

21 years agoFix testcase
Chris Lattner [Mon, 24 Feb 2003 23:14:07 +0000 (23:14 +0000)]
Fix testcase

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

21 years agoRename Instruction::hasSideEffects() -> mayWriteToMemory()
Chris Lattner [Mon, 24 Feb 2003 20:48:32 +0000 (20:48 +0000)]
Rename Instruction::hasSideEffects() -> mayWriteToMemory()

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

21 years agoThis is a substantial rewrite of the AliasSetTracker class which now uses
Chris Lattner [Mon, 24 Feb 2003 20:37:56 +0000 (20:37 +0000)]
This is a substantial rewrite of the AliasSetTracker class which now uses
a union-find based algorithm, is significantly faster, and is more general.
It will also scale to handle call instructions correctly, which is a nice
added bonus.

This includes a new pass -print-alias-sets which can be used to show how
alias sets are formed for a particular analysis.

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

21 years agoInitial checkin of CallSite wrapper for Call/Invoke instructions
Chris Lattner [Mon, 24 Feb 2003 20:35:45 +0000 (20:35 +0000)]
Initial checkin of CallSite wrapper for Call/Invoke instructions

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

21 years agoFix test
Chris Lattner [Mon, 24 Feb 2003 20:30:14 +0000 (20:30 +0000)]
Fix test

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

21 years agoMake printing messages nicer
Chris Lattner [Mon, 24 Feb 2003 20:07:54 +0000 (20:07 +0000)]
Make printing messages nicer

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

21 years agoFix #endif
Chris Lattner [Mon, 24 Feb 2003 04:40:35 +0000 (04:40 +0000)]
Fix #endif

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

21 years agoAdd support for the slist extension
Chris Lattner [Mon, 24 Feb 2003 04:31:49 +0000 (04:31 +0000)]
Add support for the slist extension

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

21 years agoInitial implementation of Loop invariant memory->scalar promotion
Chris Lattner [Mon, 24 Feb 2003 03:52:32 +0000 (03:52 +0000)]
Initial implementation of Loop invariant memory->scalar promotion

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

21 years agoTweak testcase
Chris Lattner [Mon, 24 Feb 2003 03:52:13 +0000 (03:52 +0000)]
Tweak testcase

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

21 years agoNew testcase for scalar promotion
Chris Lattner [Mon, 24 Feb 2003 03:52:04 +0000 (03:52 +0000)]
New testcase for scalar promotion

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

21 years agoSplit mem2reg promotion into two parts: a function which does the work, and
Chris Lattner [Sat, 22 Feb 2003 23:57:48 +0000 (23:57 +0000)]
Split mem2reg promotion into two parts: a function which does the work, and
a pass which wraps the function.  This allows other passes to use the functionality

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

21 years agoAdd a new interface file for the PromoteMemToReg interface in the Utils library
Chris Lattner [Sat, 22 Feb 2003 23:04:52 +0000 (23:04 +0000)]
Add a new interface file for the PromoteMemToReg interface in the Utils library

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

21 years agoClean up std namespace references
Chris Lattner [Sat, 22 Feb 2003 22:25:17 +0000 (22:25 +0000)]
Clean up std namespace references

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

21 years agoNew testcase to check to see if LICM is performing scalar promotion
Chris Lattner [Sat, 22 Feb 2003 22:20:19 +0000 (22:20 +0000)]
New testcase to check to see if LICM is performing scalar promotion

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

21 years agoDramatically simplify building of natural loops and fix a bug where the BBMap
Chris Lattner [Sat, 22 Feb 2003 21:33:11 +0000 (21:33 +0000)]
Dramatically simplify building of natural loops and fix a bug where the BBMap
was not correctly computed.

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

21 years agoFix the requisite bug that I introduced
Chris Lattner [Thu, 20 Feb 2003 00:28:00 +0000 (00:28 +0000)]
Fix the requisite bug that I introduced

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

21 years agoFix 80 character formatting
Chris Lattner [Thu, 20 Feb 2003 00:18:07 +0000 (00:18 +0000)]
Fix 80 character formatting

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

21 years agoFix bug: 2003-02-19-LoopInfoNestingBug.ll
Chris Lattner [Thu, 20 Feb 2003 00:17:17 +0000 (00:17 +0000)]
Fix bug: 2003-02-19-LoopInfoNestingBug.ll

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

21 years agoAdd a testcase for broken loopinfo
Chris Lattner [Thu, 20 Feb 2003 00:09:26 +0000 (00:09 +0000)]
Add a testcase for broken loopinfo

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

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