Commit Graph

6860 Commits

Author SHA1 Message Date
Vikram S. Adve 1fce4cfa95 Minor beautification: fold a couple of lines of code.
llvm-svn: 7054
2003-07-02 01:24:00 +00:00
Vikram S. Adve cf952cb504 (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.

llvm-svn: 7053
2003-07-02 01:23:15 +00:00
Vikram S. Adve fa1dde06aa 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*.

llvm-svn: 7052
2003-07-02 01:16:01 +00:00
Vikram S. Adve b5f8ada255 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.

llvm-svn: 7051
2003-07-02 01:13:57 +00:00
John Criswell 29eafac9ff 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).

llvm-svn: 7050
2003-07-01 22:07:39 +00:00
John Criswell 10d05e2a53 Fixed a broken hyperlink.
Moved commas outside of hyperlinks in the contributors list.

llvm-svn: 7049
2003-07-01 21:55:57 +00:00
Chris Lattner afede5d65b TD pass keeps track of which functions have complete arguments
llvm-svn: 7048
2003-07-01 21:12:10 +00:00
Chris Lattner 931978ab2b Add new operator= impl
llvm-svn: 7047
2003-07-01 21:11:59 +00:00
Chris Lattner 8309574e8d Fix bug: Regression/Other/2002-03-11-ExprAssertion.ll
llvm-svn: 7046
2003-07-01 21:08:52 +00:00
Chris Lattner c5703edeb6 Fix testcase failing because of change of output
llvm-svn: 7045
2003-07-01 21:03:30 +00:00
John Criswell 57c57a1bbf Updated the name of the LLVM disassembler so that the test does not fail.
llvm-svn: 7044
2003-07-01 20:31:45 +00:00
Chris Lattner a4f746d536 new testcase
llvm-svn: 7043
2003-07-01 18:52:01 +00:00
Chris Lattner b6e3fb6350 Move to test/programs/LLvmsource
llvm-svn: 7037
2003-07-01 17:50:11 +00:00
Chris Lattner 972e76f00d Ok, I'm a moron. Fixed now
llvm-svn: 7035
2003-07-01 17:15:11 +00:00
Chris Lattner 31f1db746b Fix major problem that was causing all kinds of nasty foldings
llvm-svn: 7034
2003-07-01 17:10:50 +00:00
Chris Lattner 09711cc547 Make testcase a bit more interesting
llvm-svn: 7033
2003-07-01 16:28:32 +00:00
Chris Lattner b7d4e63b23 New testcase
llvm-svn: 7032
2003-07-01 16:28:20 +00:00
Chris Lattner 23428214e9 Rework TD pass to work with the precise call graph constructed by the BU phase
llvm-svn: 7031
2003-07-01 16:28:11 +00:00
Chris Lattner e809e3afd8 Do not treat global variables as functions! (and assert failing)
llvm-svn: 7030
2003-07-01 16:27:53 +00:00
Chris Lattner 8a30ad6d89 Dont' print scalar nodes for ConstantPointerRefs
llvm-svn: 7029
2003-07-01 16:27:32 +00:00
Chris Lattner 0c770cd936 Add new methods to BUDS for keeping track of a precise call graph
llvm-svn: 7028
2003-07-01 16:27:15 +00:00
Chris Lattner 269467d216 Minor cleanups
llvm-svn: 7027
2003-07-01 16:04:18 +00:00
Chris Lattner f5410e8237 Update to configure the tree before building it.
llvm-svn: 7026
2003-07-01 16:02:00 +00:00
John Criswell 33ba19f8f7 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.

llvm-svn: 7025
2003-07-01 15:02:59 +00:00
John Criswell 7320d2fd32 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.

llvm-svn: 7024
2003-07-01 14:52:28 +00:00
Chris Lattner 40c4f1357b Fix verbose support bug
llvm-svn: 7023
2003-06-30 22:41:22 +00:00
John Criswell 45654a1cbe Removed the LIBS environment variable as it interferes with the tests and
is currently unused.

llvm-svn: 7022
2003-06-30 22:33:53 +00:00
John Criswell 3a821176f1 Added John Criswell to the contributors list.
llvm-svn: 7021
2003-06-30 22:20:46 +00:00
John Criswell c7418da8c1 Removed the --enable-profiling and --enable-verbose options.
llvm-svn: 7020
2003-06-30 22:17:28 +00:00
John Criswell 61efc69ce3 Removed the --enable-verbose option.
llvm-svn: 7019
2003-06-30 22:16:39 +00:00
John Criswell e17afeb1b4 Adding in sample project tree.
llvm-svn: 7018
2003-06-30 22:13:48 +00:00
John Criswell 568d13cf93 Adding in projects subtree.
llvm-svn: 7017
2003-06-30 22:12:19 +00:00
Chris Lattner c0822444fd This causes an assert in the assembler. :(
llvm-svn: 7016
2003-06-30 22:03:21 +00:00
John Criswell 0f929780d2 Removed these files as they are replaced by autoconf.
llvm-svn: 7015
2003-06-30 22:01:54 +00:00
John Criswell 3ef61afb76 Merged in autoconf branch. This provides configuration via the autoconf
system.

llvm-svn: 7014
2003-06-30 21:59:07 +00:00
Chris Lattner 53426e6526 Setjmp should always return zero if we don't implement longjmp. This avoids
leaving trash in the register, fixing anagram

llvm-svn: 7013
2003-06-30 19:35:54 +00:00
Brian Gaeke eba22eb59d Get rid of the duplicate '0x' in debug mode.
llvm-svn: 7012
2003-06-30 18:06:20 +00:00
Misha Brukman 2202c5a688 Spell `apparently' with an `e'.
llvm-svn: 7011
2003-06-30 15:33:47 +00:00
Chris Lattner 31514c1c92 New testcase
llvm-svn: 7010
2003-06-30 15:17:39 +00:00
Chris Lattner d9b889c4df Add dependency on analyze
llvm-svn: 7009
2003-06-30 15:17:36 +00:00
Chris Lattner 70923c688d Use the getFunctionNames method
llvm-svn: 7008
2003-06-30 05:57:39 +00:00
Chris Lattner bfce1115e3 Add new method
llvm-svn: 7007
2003-06-30 05:57:30 +00:00
Chris Lattner f8865a4389 Split CallSiteIterator out into DSCallSiteIterator.h, and generalize it a bit
llvm-svn: 7006
2003-06-30 05:27:53 +00:00
Chris Lattner fa52af4fb0 Be more const-correct
llvm-svn: 7005
2003-06-30 05:27:18 +00:00
Chris Lattner 53f4dd7f22 Be more const correct
llvm-svn: 7004
2003-06-30 05:27:05 +00:00
Chris Lattner 0929c5ef68 Fix bug in last checkin
llvm-svn: 7003
2003-06-30 05:18:26 +00:00
Chris Lattner a7630bdc06 Constness changes
llvm-svn: 7002
2003-06-30 05:10:09 +00:00
Chris Lattner 4ffb4e0e03 Reimplement the BU closure to collapse all SCC graphs into a single graph.
Look at all of the code that gets deleted!

llvm-svn: 7001
2003-06-30 05:09:58 +00:00
Chris Lattner 348d93c8c2 Handle the case where OldNodeMap == &ScalarMap correctly
llvm-svn: 7000
2003-06-30 05:09:29 +00:00
Chris Lattner 312783f0d2 Remove dead method
llvm-svn: 6999
2003-06-30 04:53:39 +00:00