Commit Graph

6571 Commits

Author SHA1 Message Date
Chris Lattner
44cfdf9b9a Remove dead Nodes list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7065 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 06:06:34 +00:00
Chris Lattner
a8da51bf51 Complete rewrite of td pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7064 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 04:39:44 +00:00
Chris Lattner
63899fab93 Print collapsed to match the paper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7063 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 04:39:27 +00:00
Chris Lattner
9cd0484251 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
2003-07-02 04:39:13 +00:00
Chris Lattner
58f98d0bf0 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
2003-07-02 04:38:49 +00:00
Chris Lattner
f07804b923 Add some functions to the blacklist
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7060 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 04:38:00 +00:00
Chris Lattner
744f93996e 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
2003-07-02 04:37:48 +00:00
Chris Lattner
3051419036 Make local pass print out its progress
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7058 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 04:37:26 +00:00
Chris Lattner
8fd2715098 Add new methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7057 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 04:37:00 +00:00
Chris Lattner
73440f6a15 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
2003-07-02 04:33:55 +00:00
Vikram S. Adve
daee2b492f 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
2003-07-02 01:25:44 +00:00
Vikram S. Adve
65b2f401af 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
2003-07-02 01:24:00 +00:00
Vikram S. Adve
799ffeede1 (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
2003-07-02 01:23:15 +00:00
Vikram S. Adve
74d15d36f5 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
2003-07-02 01:16:01 +00:00
Vikram S. Adve
784a18b8ba 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
2003-07-02 01:13:57 +00:00
John Criswell
7659545cee 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
2003-07-01 22:07:39 +00:00
John Criswell
cb27f1e96d 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
2003-07-01 21:55:57 +00:00
Chris Lattner
c019f9bba5 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
2003-07-01 21:12:10 +00:00
Chris Lattner
b512b24442 Add new operator= impl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7047 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 21:11:59 +00:00
Chris Lattner
5fd60913da 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
2003-07-01 21:08:52 +00:00
Chris Lattner
7b702b81ee 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
2003-07-01 21:03:30 +00:00
John Criswell
2d4ebb2755 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
2003-07-01 20:31:45 +00:00
Chris Lattner
edc3c3d0fc new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7043 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 18:52:01 +00:00
Chris Lattner
487bc8f7fb Move to test/programs/LLvmsource
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7037 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 17:50:11 +00:00
Chris Lattner
e2fe664e8f Ok, I'm a moron. Fixed now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7035 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 17:15:11 +00:00
Chris Lattner
985d31215c 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
2003-07-01 17:10:50 +00:00
Chris Lattner
7d63ac6252 Make testcase a bit more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7033 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 16:28:32 +00:00
Chris Lattner
993251ecd6 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7032 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 16:28:20 +00:00
Chris Lattner
18f07a11b9 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
2003-07-01 16:28:11 +00:00
Chris Lattner
b6734b281b 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
2003-07-01 16:27:53 +00:00
Chris Lattner
d9dad2cf61 Dont' print scalar nodes for ConstantPointerRefs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7029 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 16:27:32 +00:00
Chris Lattner
17d5d863b2 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
2003-07-01 16:27:15 +00:00
Chris Lattner
5d5b6d6a5c Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7027 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 16:04:18 +00:00
Chris Lattner
42815c8fc3 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
2003-07-01 16:02:00 +00:00
John Criswell
b812e76b56 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
2003-07-01 15:02:59 +00:00
John Criswell
f4ccd99310 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
2003-07-01 14:52:28 +00:00
Chris Lattner
84a1b88e5b Fix verbose support bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7023 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:41:22 +00:00
John Criswell
49bf862719 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
2003-06-30 22:33:53 +00:00
John Criswell
dd899fafc4 Added John Criswell to the contributors list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7021 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:20:46 +00:00
John Criswell
0d0513b126 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
2003-06-30 22:17:28 +00:00
John Criswell
90ee0adfd7 Removed the --enable-verbose option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7019 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:16:39 +00:00
John Criswell
723ccd615f Adding in sample project tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7018 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:13:48 +00:00
John Criswell
2f8b41738e Adding in projects subtree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7017 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:12:19 +00:00
Chris Lattner
b4a25f3401 This causes an assert in the assembler. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7016 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:03:21 +00:00
John Criswell
8f063e4234 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
2003-06-30 22:01:54 +00:00
John Criswell
7a73b80b90 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
2003-06-30 21:59:07 +00:00
Chris Lattner
eb093fbf6f 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
2003-06-30 19:35:54 +00:00
Brian Gaeke
02c26b681e 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
2003-06-30 18:06:20 +00:00
Misha Brukman
b1aa8ac1a9 Spell apparently' with an e'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7011 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 15:33:47 +00:00
Chris Lattner
69134dcafa New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7010 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 15:17:39 +00:00