oota-llvm.git
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

21 years agoSplit public interface out into header file
Chris Lattner [Mon, 3 Feb 2003 19:08:18 +0000 (19:08 +0000)]
Split public interface out into header file

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

21 years agoExpose information about pool allocation
Chris Lattner [Mon, 3 Feb 2003 19:07:46 +0000 (19:07 +0000)]
Expose information about pool allocation

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

21 years agoIndent for uniformity
Chris Lattner [Sun, 2 Feb 2003 17:02:20 +0000 (17:02 +0000)]
Indent for uniformity

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

21 years agoBe a bit more specific in caption
Chris Lattner [Sun, 2 Feb 2003 16:42:01 +0000 (16:42 +0000)]
Be a bit more specific in caption

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

21 years agoAllow modifying a global variables constness property
Chris Lattner [Sun, 2 Feb 2003 16:40:40 +0000 (16:40 +0000)]
Allow modifying a global variables constness property

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

21 years agoFix bug: Assembler/2003-02-02-ConstGlobal.ll
Chris Lattner [Sun, 2 Feb 2003 16:40:20 +0000 (16:40 +0000)]
Fix bug: Assembler/2003-02-02-ConstGlobal.ll

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

21 years agoNew testcase
Chris Lattner [Sun, 2 Feb 2003 16:30:29 +0000 (16:30 +0000)]
New testcase

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

21 years agoFix a bug where we would delete neccesary calls in bu pass
Chris Lattner [Sat, 1 Feb 2003 06:54:31 +0000 (06:54 +0000)]
Fix a bug where we would delete neccesary calls in bu pass

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

21 years agoFix a bug where we would incorrectly delete globals which had edges to alive nodes in
Chris Lattner [Sat, 1 Feb 2003 06:51:17 +0000 (06:51 +0000)]
Fix a bug where we would incorrectly delete globals which had edges to alive nodes in
a graph in the t-d pass.  This slows down the TD pass by quite a bit (1/3), but is
needed for correctness.

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

21 years agoDelete nodes more efficiently
Chris Lattner [Sat, 1 Feb 2003 06:41:15 +0000 (06:41 +0000)]
Delete nodes more efficiently

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

21 years agoRemove dead nodes more efficiently
Chris Lattner [Sat, 1 Feb 2003 06:23:33 +0000 (06:23 +0000)]
Remove dead nodes more efficiently

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

21 years agoImprove efficiency of aliveness traversal code
Chris Lattner [Sat, 1 Feb 2003 06:17:02 +0000 (06:17 +0000)]
Improve efficiency of aliveness traversal code

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

21 years agoChange DSGraph stuff to use hash_(set|map) instead of std::(set|map)
Chris Lattner [Sat, 1 Feb 2003 04:52:08 +0000 (04:52 +0000)]
Change DSGraph stuff to use hash_(set|map) instead of std::(set|map)
This change provides a small (3%) but consistent speedup

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

21 years agoAdd a bunch more stubs
Chris Lattner [Sat, 1 Feb 2003 04:51:12 +0000 (04:51 +0000)]
Add a bunch more stubs

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

21 years agoFix typo
Chris Lattner [Sat, 1 Feb 2003 04:50:59 +0000 (04:50 +0000)]
Fix typo

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

21 years agoAdd hash_multimap support
Chris Lattner [Sat, 1 Feb 2003 04:14:28 +0000 (04:14 +0000)]
Add hash_multimap support

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

21 years agoRemove using declarations
Chris Lattner [Sat, 1 Feb 2003 04:01:21 +0000 (04:01 +0000)]
Remove using declarations

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

21 years agoSimplify assertions
Chris Lattner [Sat, 1 Feb 2003 03:33:22 +0000 (03:33 +0000)]
Simplify assertions

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

21 years agoAdd new composition mask
Chris Lattner [Sat, 1 Feb 2003 03:28:26 +0000 (03:28 +0000)]
Add new composition mask

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

21 years agoAdded protos for two alternate, convenient CallInst constructors.
Joel Stanley [Sat, 1 Feb 2003 00:41:27 +0000 (00:41 +0000)]
Added protos for two alternate, convenient CallInst constructors.

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

21 years agoAdded implementation of alternate CallInst constructors (one ctor is
Joel Stanley [Sat, 1 Feb 2003 00:39:58 +0000 (00:39 +0000)]
Added implementation of alternate CallInst constructors (one ctor is
for no actual parameters, and one ctor is for one actual parameter).

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

21 years agoRemove globals on the bottom up pass which do not contain any information
Chris Lattner [Fri, 31 Jan 2003 23:57:36 +0000 (23:57 +0000)]
Remove globals on the bottom up pass which do not contain any information

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

21 years agoAdd functions to the ban list
Chris Lattner [Fri, 31 Jan 2003 23:57:10 +0000 (23:57 +0000)]
Add functions to the ban list

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

21 years agoFix strip issue Joel ran into
Chris Lattner [Fri, 31 Jan 2003 19:00:26 +0000 (19:00 +0000)]
Fix strip issue Joel ran into

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

21 years ago* Add new -track-memory option to tools which enables the mem usage column in the...
Chris Lattner [Thu, 30 Jan 2003 23:08:50 +0000 (23:08 +0000)]
* Add new -track-memory option to tools which enables the mem usage column in the reports.

This is now optional (and defaults to off) because mallinfo can be VERY slow as it
seems to touch every page of allocated memory.

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

21 years agoFix a bug resolving sprintf(...) to sprintf(char*, char*, ...)
Chris Lattner [Thu, 30 Jan 2003 22:38:44 +0000 (22:38 +0000)]
Fix a bug resolving sprintf(...) to sprintf(char*, char*, ...)

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