oota-llvm.git
21 years ago* If compiling on X86 or Sparc, automagically enable the JIT for that arch
Misha Brukman [Wed, 2 Jul 2003 17:53:19 +0000 (17:53 +0000)]
* If compiling on X86 or Sparc, automagically enable the JIT for that arch
* Setting ENABLE_X86_JIT or ENABLE_SPARC_JIT on the `make' command-line will
  force the inclusion of that JIT on a different architecture
* If neither JIT is enabled (e.g., compiling on a different architecture), the
  -march option will not be available to LLI.
* As a side effect of the $ARCH variable, the Sparc LLI can now link just a bit
  faster by not including the x86 library.

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

21 years agoRemoved the CPPFLAGS and CFLAGS variables since the -DHAVE_CONFIG_H messes
John Criswell [Wed, 2 Jul 2003 16:53:44 +0000 (16:53 +0000)]
Removed the CPPFLAGS and CFLAGS variables since the -DHAVE_CONFIG_H messes
up the test suite.  Since all the LLVM software assumes that config.h exists,
we can just do away with it for now.

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

21 years agoForce fixed-size but large alloca objects to the dynamically allocated
Vikram S. Adve [Wed, 2 Jul 2003 06:59:22 +0000 (06:59 +0000)]
Force fixed-size but large alloca objects to the dynamically allocated
area to avoid using up precious stack space within the 4095 offset limit
from %fp.  Such objects that would themselves live at a large offset
were being put there already so this is a simple change.

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

21 years agoRemove dead Nodes list
Chris Lattner [Wed, 2 Jul 2003 06:06:34 +0000 (06:06 +0000)]
Remove dead Nodes list

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

21 years agoComplete rewrite of td pass
Chris Lattner [Wed, 2 Jul 2003 04:39:44 +0000 (04:39 +0000)]
Complete rewrite of td pass

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

21 years agoPrint collapsed to match the paper
Chris Lattner [Wed, 2 Jul 2003 04:39:27 +0000 (04:39 +0000)]
Print collapsed to match the paper

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

21 years agoReduce amount of work we do calculating mustaliases if the arg is a global
Chris Lattner [Wed, 2 Jul 2003 04:39:13 +0000 (04:39 +0000)]
Reduce amount of work we do calculating mustaliases if the arg is a global

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

21 years agoAdd support for ParentGraph only when building in debug mode
Chris Lattner [Wed, 2 Jul 2003 04:38:49 +0000 (04:38 +0000)]
Add support for ParentGraph only when building in debug mode
Minor cleanups, reenable folding of call nodes to external functions

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

21 years agoAdd some functions to the blacklist
Chris Lattner [Wed, 2 Jul 2003 04:38:00 +0000 (04:38 +0000)]
Add some functions to the blacklist

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

21 years agoMake the BU closure keep track of which actual calls happen
Chris Lattner [Wed, 2 Jul 2003 04:37:48 +0000 (04:37 +0000)]
Make the BU closure keep track of which actual calls happen
Minor cleanups

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

21 years agoMake local pass print out its progress
Chris Lattner [Wed, 2 Jul 2003 04:37:26 +0000 (04:37 +0000)]
Make local pass print out its progress

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

21 years agoAdd new methods
Chris Lattner [Wed, 2 Jul 2003 04:37:00 +0000 (04:37 +0000)]
Add new methods

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

21 years agoDisable the parent graph code when not compiled in DEBUG mode
Chris Lattner [Wed, 2 Jul 2003 04:33:55 +0000 (04:33 +0000)]
Disable the parent graph code when not compiled in DEBUG mode

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

21 years agoLeak fix: delete old objects before reallocation in an assignment operator!
Vikram S. Adve [Wed, 2 Jul 2003 01:25:44 +0000 (01:25 +0000)]
Leak fix: delete old objects before reallocation in an assignment operator!

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

21 years agoMinor beautification: fold a couple of lines of code.
Vikram S. Adve [Wed, 2 Jul 2003 01:24:00 +0000 (01:24 +0000)]
Minor beautification: fold a couple of lines of code.

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

21 years ago(1) Major bug fix: DecomposeArrayRef() replaces its argument instr. and
Vikram S. Adve [Wed, 2 Jul 2003 01:23:15 +0000 (01:23 +0000)]
(1) Major bug fix: DecomposeArrayRef() replaces its argument instr. and
    deletes it, but we were merrily trying to fix the operands of that
    instruction anyway!  Instead, fix the replacement instruction.

(2) An Improvement: Check for and extract global values in all operands,
    not just in known pointer operands.  For example, they can occur in
    call arguments, and probably other unforeseeable places as well.
    This also eliminates the special-case handling of Load and Store.

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

21 years agoA def. operand of a machine instruction may be an ordinary Value*,
Vikram S. Adve [Wed, 2 Jul 2003 01:16:01 +0000 (01:16 +0000)]
A def. operand of a machine instruction may be an ordinary Value*,
not just an Instruction*, at least in one unfortunate case:
the first operand to the va_arg instruction.
Modify ValueToDefVecMap to map from Value*, not Instruction*.

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

21 years agoBug/case fixes:
Vikram S. Adve [Wed, 2 Jul 2003 01:13:57 +0000 (01:13 +0000)]
Bug/case fixes:
(1) select: Ok to convert a pointer to a float or double.
(2) regalloc: Some MachineInstr* for caller-saving code before a call
    were being inserted before and after the call!
(3) Don't insert the caller-saving instructions in the
    MachineCodeForInstruction for the Call instruction.
    *All* instructions generated by register allocation need to be
    recorded in those maps, but it needs to be done uniformly.

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

21 years agoAdded the ARCH variable so that some of the Makefiles can perform actions based
John Criswell [Tue, 1 Jul 2003 22:07:39 +0000 (22:07 +0000)]
Added the ARCH variable so that some of the Makefiles can perform actions based
upon the target hardware architecture (as opposed to always checking the OS).

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

21 years agoFixed a broken hyperlink.
John Criswell [Tue, 1 Jul 2003 21:55:57 +0000 (21:55 +0000)]
Fixed a broken hyperlink.
Moved commas outside of hyperlinks in the contributors list.

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

21 years agoTD pass keeps track of which functions have complete arguments
Chris Lattner [Tue, 1 Jul 2003 21:12:10 +0000 (21:12 +0000)]
TD pass keeps track of which functions have complete arguments

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

21 years agoAdd new operator= impl
Chris Lattner [Tue, 1 Jul 2003 21:11:59 +0000 (21:11 +0000)]
Add new operator= impl

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

21 years agoFix bug: Regression/Other/2002-03-11-ExprAssertion.ll
Chris Lattner [Tue, 1 Jul 2003 21:08:52 +0000 (21:08 +0000)]
Fix bug: Regression/Other/2002-03-11-ExprAssertion.ll

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

21 years agoFix testcase failing because of change of output
Chris Lattner [Tue, 1 Jul 2003 21:03:30 +0000 (21:03 +0000)]
Fix testcase failing because of change of output

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

21 years agoUpdated the name of the LLVM disassembler so that the test does not fail.
John Criswell [Tue, 1 Jul 2003 20:31:45 +0000 (20:31 +0000)]
Updated the name of the LLVM disassembler so that the test does not fail.

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

21 years agonew testcase
Chris Lattner [Tue, 1 Jul 2003 18:52:01 +0000 (18:52 +0000)]
new testcase

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

21 years agoMove to test/programs/LLvmsource
Chris Lattner [Tue, 1 Jul 2003 17:50:11 +0000 (17:50 +0000)]
Move to test/programs/LLvmsource

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

21 years agoOk, I'm a moron. Fixed now
Chris Lattner [Tue, 1 Jul 2003 17:15:11 +0000 (17:15 +0000)]
Ok, I'm a moron.  Fixed now

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

21 years agoFix major problem that was causing all kinds of nasty foldings
Chris Lattner [Tue, 1 Jul 2003 17:10:50 +0000 (17:10 +0000)]
Fix major problem that was causing all kinds of nasty foldings

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

21 years agoMake testcase a bit more interesting
Chris Lattner [Tue, 1 Jul 2003 16:28:32 +0000 (16:28 +0000)]
Make testcase a bit more interesting

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

21 years agoNew testcase
Chris Lattner [Tue, 1 Jul 2003 16:28:20 +0000 (16:28 +0000)]
New testcase

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

21 years agoRework TD pass to work with the precise call graph constructed by the BU phase
Chris Lattner [Tue, 1 Jul 2003 16:28:11 +0000 (16:28 +0000)]
Rework TD pass to work with the precise call graph constructed by the BU phase

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

21 years agoDo not treat global variables as functions! (and assert failing)
Chris Lattner [Tue, 1 Jul 2003 16:27:53 +0000 (16:27 +0000)]
Do not treat global variables as functions! (and assert failing)

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

21 years agoDont' print scalar nodes for ConstantPointerRefs
Chris Lattner [Tue, 1 Jul 2003 16:27:32 +0000 (16:27 +0000)]
Dont' print scalar nodes for ConstantPointerRefs

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

21 years agoAdd new methods to BUDS for keeping track of a precise call graph
Chris Lattner [Tue, 1 Jul 2003 16:27:15 +0000 (16:27 +0000)]
Add new methods to BUDS for keeping track of a precise call graph

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

21 years agoMinor cleanups
Chris Lattner [Tue, 1 Jul 2003 16:04:18 +0000 (16:04 +0000)]
Minor cleanups

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

21 years agoUpdate to configure the tree before building it.
Chris Lattner [Tue, 1 Jul 2003 16:02:00 +0000 (16:02 +0000)]
Update to configure the tree before building it.

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

21 years agoThe Makefile now adds autoconf information to the compiler and linker flag
John Criswell [Tue, 1 Jul 2003 15:02:59 +0000 (15:02 +0000)]
The Makefile now adds autoconf information to the compiler and linker flag
variables instead of overwriting those variables.  This makes it more flexible
and keeps some of the test Makefiles from breaking.

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

21 years agoRenamed all of the LObj* variables (which represent libtool objects) to Obj*.
John Criswell [Tue, 1 Jul 2003 14:52:28 +0000 (14:52 +0000)]
Renamed all of the LObj* variables (which represent libtool objects) to Obj*.
One of the test Makefiles uses the same variable names for something else,
and this was probably interfering with it.

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

21 years agoFix verbose support bug
Chris Lattner [Mon, 30 Jun 2003 22:41:22 +0000 (22:41 +0000)]
Fix verbose support bug

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

21 years agoRemoved the LIBS environment variable as it interferes with the tests and
John Criswell [Mon, 30 Jun 2003 22:33:53 +0000 (22:33 +0000)]
Removed the LIBS environment variable as it interferes with the tests and
is currently unused.

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

21 years agoAdded John Criswell to the contributors list.
John Criswell [Mon, 30 Jun 2003 22:20:46 +0000 (22:20 +0000)]
Added John Criswell to the contributors list.

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

21 years agoRemoved the --enable-profiling and --enable-verbose options.
John Criswell [Mon, 30 Jun 2003 22:17:28 +0000 (22:17 +0000)]
Removed the --enable-profiling and --enable-verbose options.

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

21 years agoRemoved the --enable-verbose option.
John Criswell [Mon, 30 Jun 2003 22:16:39 +0000 (22:16 +0000)]
Removed the --enable-verbose option.

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

21 years agoAdding in sample project tree.
John Criswell [Mon, 30 Jun 2003 22:13:48 +0000 (22:13 +0000)]
Adding in sample project tree.

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

21 years agoAdding in projects subtree.
John Criswell [Mon, 30 Jun 2003 22:12:19 +0000 (22:12 +0000)]
Adding in projects subtree.

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

21 years agoThis causes an assert in the assembler. :(
Chris Lattner [Mon, 30 Jun 2003 22:03:21 +0000 (22:03 +0000)]
This causes an assert in the assembler.  :(

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

21 years agoRemoved these files as they are replaced by autoconf.
John Criswell [Mon, 30 Jun 2003 22:01:54 +0000 (22:01 +0000)]
Removed these files as they are replaced by autoconf.

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

21 years agoMerged in autoconf branch. This provides configuration via the autoconf
John Criswell [Mon, 30 Jun 2003 21:59:07 +0000 (21:59 +0000)]
Merged in autoconf branch.  This provides configuration via the autoconf
system.

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

21 years agoSetjmp should always return zero if we don't implement longjmp. This avoids
Chris Lattner [Mon, 30 Jun 2003 19:35:54 +0000 (19:35 +0000)]
Setjmp should always return zero if we don't implement longjmp.  This avoids
leaving trash in the register, fixing anagram

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

21 years agoGet rid of the duplicate '0x' in debug mode.
Brian Gaeke [Mon, 30 Jun 2003 18:06:20 +0000 (18:06 +0000)]
Get rid of the duplicate '0x' in debug mode.

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

21 years agoSpell `apparently' with an `e'.
Misha Brukman [Mon, 30 Jun 2003 15:33:47 +0000 (15:33 +0000)]
Spell `apparently' with an `e'.

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

21 years agoNew testcase
Chris Lattner [Mon, 30 Jun 2003 15:17:39 +0000 (15:17 +0000)]
New testcase

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

21 years agoAdd dependency on analyze
Chris Lattner [Mon, 30 Jun 2003 15:17:36 +0000 (15:17 +0000)]
Add dependency on analyze

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

21 years agoUse the getFunctionNames method
Chris Lattner [Mon, 30 Jun 2003 05:57:39 +0000 (05:57 +0000)]
Use the getFunctionNames method

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

21 years agoAdd new method
Chris Lattner [Mon, 30 Jun 2003 05:57:30 +0000 (05:57 +0000)]
Add new method

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

21 years agoSplit CallSiteIterator out into DSCallSiteIterator.h, and generalize it a bit
Chris Lattner [Mon, 30 Jun 2003 05:27:53 +0000 (05:27 +0000)]
Split  CallSiteIterator out into DSCallSiteIterator.h, and generalize it a bit

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

21 years agoBe more const-correct
Chris Lattner [Mon, 30 Jun 2003 05:27:18 +0000 (05:27 +0000)]
Be more const-correct

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

21 years agoBe more const correct
Chris Lattner [Mon, 30 Jun 2003 05:27:05 +0000 (05:27 +0000)]
Be more const correct

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

21 years agoFix bug in last checkin
Chris Lattner [Mon, 30 Jun 2003 05:18:26 +0000 (05:18 +0000)]
Fix bug in last checkin

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

21 years agoConstness changes
Chris Lattner [Mon, 30 Jun 2003 05:10:09 +0000 (05:10 +0000)]
Constness changes

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

21 years agoReimplement the BU closure to collapse all SCC graphs into a single graph.
Chris Lattner [Mon, 30 Jun 2003 05:09:58 +0000 (05:09 +0000)]
Reimplement the BU closure to collapse all SCC graphs into a single graph.
Look at all of the code that gets deleted!

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

21 years agoHandle the case where OldNodeMap == &ScalarMap correctly
Chris Lattner [Mon, 30 Jun 2003 05:09:29 +0000 (05:09 +0000)]
Handle the case where OldNodeMap == &ScalarMap correctly

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

21 years agoRemove dead method
Chris Lattner [Mon, 30 Jun 2003 04:53:39 +0000 (04:53 +0000)]
Remove dead method

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

21 years agoDo not delete the same graph multiple times when freeing memory if graphs are sharing
Chris Lattner [Mon, 30 Jun 2003 04:53:27 +0000 (04:53 +0000)]
Do not delete the same graph multiple times when freeing memory if graphs are sharing

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

21 years agoDo not multiply delete graphs if functions are sharing graphs
Chris Lattner [Mon, 30 Jun 2003 04:53:08 +0000 (04:53 +0000)]
Do not multiply delete graphs if functions are sharing graphs

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

21 years agoMove usages of explicit hash_* datastructures to use typedefs
Chris Lattner [Mon, 30 Jun 2003 03:36:09 +0000 (03:36 +0000)]
Move usages of explicit hash_* datastructures to use typedefs

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

21 years agoNew testcase
Chris Lattner [Mon, 30 Jun 2003 03:25:53 +0000 (03:25 +0000)]
New testcase

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

21 years agoRevamp DSGraphs so that they can support multiple functions in the same
Chris Lattner [Mon, 30 Jun 2003 03:15:25 +0000 (03:15 +0000)]
Revamp DSGraphs so that they can support multiple functions in the same
DSGraph at one time

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

21 years agoAdjust for new DSGraph API
Chris Lattner [Mon, 30 Jun 2003 03:14:54 +0000 (03:14 +0000)]
Adjust for new DSGraph API

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

21 years agoEliminate using declarations, adjust for new DSGraph API
Chris Lattner [Mon, 30 Jun 2003 03:14:44 +0000 (03:14 +0000)]
Eliminate using declarations, adjust for new DSGraph API

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

21 years agoSubstantial revamp: DSGraphs now may contain the graphs for multiple functions
Chris Lattner [Mon, 30 Jun 2003 03:14:23 +0000 (03:14 +0000)]
Substantial revamp: DSGraphs now may contain the graphs for multiple functions
in the same graph

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

21 years agoAdd argument
Chris Lattner [Mon, 30 Jun 2003 03:13:36 +0000 (03:13 +0000)]
Add argument

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

21 years agoRemove prototype for dead method
Chris Lattner [Mon, 30 Jun 2003 03:13:28 +0000 (03:13 +0000)]
Remove prototype for dead method

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

21 years agoAdd clean target to clean up my mess
Chris Lattner [Sun, 29 Jun 2003 23:20:51 +0000 (23:20 +0000)]
Add clean target to clean up my mess

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

21 years agoAbstract out the predicate which decides whether a function gets complete
Chris Lattner [Sun, 29 Jun 2003 22:37:07 +0000 (22:37 +0000)]
Abstract out the predicate which decides whether a function gets complete
arguments or not...

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

21 years agoFix minor bug in previous checkin
Chris Lattner [Sun, 29 Jun 2003 22:36:31 +0000 (22:36 +0000)]
Fix minor bug in previous checkin

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

21 years agoAdd support for ensuring that nodes are not incomplete
Chris Lattner [Sun, 29 Jun 2003 22:36:15 +0000 (22:36 +0000)]
Add support for ensuring that nodes are not incomplete

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

21 years agoThis node should not be incomplete!
Chris Lattner [Sun, 29 Jun 2003 22:35:55 +0000 (22:35 +0000)]
This node should not be incomplete!

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

21 years agoNew testcase
Chris Lattner [Sun, 29 Jun 2003 22:20:53 +0000 (22:20 +0000)]
New testcase

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

21 years agoAdd support for "physical subtyping", which fixes:
Chris Lattner [Sun, 29 Jun 2003 20:27:45 +0000 (20:27 +0000)]
Add support for "physical subtyping", which fixes:
DSGraph/2003-06-29-NodeCollapsing2.ll & DSGraph/PhysicalSubtyping.ll

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

21 years agoAdd print method to not get silly warning from analyze
Chris Lattner [Sun, 29 Jun 2003 20:27:16 +0000 (20:27 +0000)]
Add print method to not get silly warning from analyze

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

21 years agoNew, smaller testcase
Chris Lattner [Sun, 29 Jun 2003 18:17:20 +0000 (18:17 +0000)]
New, smaller testcase

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

21 years agoNew pass which is useful for writing regression tests
Chris Lattner [Sun, 29 Jun 2003 18:17:07 +0000 (18:17 +0000)]
New pass which is useful for writing regression tests

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

21 years agoNew testcase
Chris Lattner [Sun, 29 Jun 2003 17:18:59 +0000 (17:18 +0000)]
New testcase

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

21 years agoUntil there is a setjmp/longjmp transformation pass, codegen setjmp as a noop
Chris Lattner [Sun, 29 Jun 2003 16:42:32 +0000 (16:42 +0000)]
Until there is a setjmp/longjmp transformation pass, codegen setjmp as a noop
and longjmp as an abort!

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

21 years agoFix testcase
Chris Lattner [Sun, 29 Jun 2003 01:09:07 +0000 (01:09 +0000)]
Fix testcase

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

21 years agoNew testcase
Chris Lattner [Sun, 29 Jun 2003 01:03:53 +0000 (01:03 +0000)]
New testcase

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

21 years agoMake sure that the global is known to be internal
Chris Lattner [Sun, 29 Jun 2003 00:57:34 +0000 (00:57 +0000)]
Make sure that the global is known to be internal

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

21 years agoExpose must alias information for global variables, implementing: DSGraph/mustalias.ll
Chris Lattner [Sun, 29 Jun 2003 00:54:08 +0000 (00:54 +0000)]
Expose must alias information for global variables, implementing: DSGraph/mustalias.ll

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

21 years agoIf the alias analysis algorithm we are using can provide MUST alias information,
Chris Lattner [Sun, 29 Jun 2003 00:53:34 +0000 (00:53 +0000)]
If the alias analysis algorithm we are using can provide MUST alias information,
expose it directly as value numbering information

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

21 years agoAdd support for gathering sets of must aliases
Chris Lattner [Sun, 29 Jun 2003 00:23:11 +0000 (00:23 +0000)]
Add support for gathering sets of must aliases

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

21 years agoCount operands to instructions as well as just results. This allows for global varia...
Chris Lattner [Sun, 29 Jun 2003 00:07:11 +0000 (00:07 +0000)]
Count operands to instructions as well as just results.  This allows for global variables to be checked as well

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

21 years agoNew testcase
Chris Lattner [Sat, 28 Jun 2003 23:52:34 +0000 (23:52 +0000)]
New testcase

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

21 years agoDo not chain to basic-aa
Chris Lattner [Sat, 28 Jun 2003 23:49:06 +0000 (23:49 +0000)]
Do not chain to basic-aa

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

21 years agoRemove obsolete script
Chris Lattner [Sat, 28 Jun 2003 23:32:28 +0000 (23:32 +0000)]
Remove obsolete script

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

21 years agoRemove usage of grep-not script
Chris Lattner [Sat, 28 Jun 2003 23:32:04 +0000 (23:32 +0000)]
Remove usage of grep-not script

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

21 years agoRemove explicit control flow through the use of the 'not' script
Chris Lattner [Sat, 28 Jun 2003 23:23:34 +0000 (23:23 +0000)]
Remove explicit control flow through the use of the 'not' script

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

21 years agoMove DSGraph tests to test/Regression/Analysis/DSGraph
Chris Lattner [Sat, 28 Jun 2003 23:17:42 +0000 (23:17 +0000)]
Move DSGraph tests to test/Regression/Analysis/DSGraph

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

21 years agoMove files to test/Regression/Analysis/DSGraph
Chris Lattner [Sat, 28 Jun 2003 23:17:26 +0000 (23:17 +0000)]
Move files to test/Regression/Analysis/DSGraph

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