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

21 years agoFix bug: Assembler/2003-01-30-UnsignedString.ll
Chris Lattner [Thu, 30 Jan 2003 22:24:26 +0000 (22:24 +0000)]
Fix bug: Assembler/2003-01-30-UnsignedString.ll

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

21 years agoNew testcase
Chris Lattner [Thu, 30 Jan 2003 22:24:14 +0000 (22:24 +0000)]
New testcase

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

21 years agoActually print the function _name_ if there is a problem
Chris Lattner [Thu, 30 Jan 2003 21:33:07 +0000 (21:33 +0000)]
Actually print the function _name_ if there is a problem

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

21 years agoAdd new function to allow removal of typed named elements
Chris Lattner [Thu, 30 Jan 2003 20:54:03 +0000 (20:54 +0000)]
Add new function to allow removal of typed named elements

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

21 years ago* Fix linking of opaque types and their non-opaque versions
Chris Lattner [Thu, 30 Jan 2003 20:53:43 +0000 (20:53 +0000)]
* Fix linking of opaque types and their non-opaque versions
* Fix bug: Linker/2003-01-30-LinkerTypeRename.ll

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

21 years agoNew testcase
Chris Lattner [Thu, 30 Jan 2003 20:03:15 +0000 (20:03 +0000)]
New testcase

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

21 years agoEliminate using decls
Chris Lattner [Thu, 30 Jan 2003 19:53:34 +0000 (19:53 +0000)]
Eliminate using decls

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

21 years agoNEw testcase
Chris Lattner [Thu, 30 Jan 2003 19:28:01 +0000 (19:28 +0000)]
NEw testcase

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

21 years ago* Fix function resolution for varargs function to generate incorrect bytecode instead...
Chris Lattner [Thu, 30 Jan 2003 18:22:32 +0000 (18:22 +0000)]
* Fix function resolution for varargs function to generate incorrect bytecode instead of crashing
* remove using decls
 CVS: ----------------------------------------------------------------------

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

21 years agoBug that is unfixable with current frontend
Chris Lattner [Thu, 30 Jan 2003 17:34:04 +0000 (17:34 +0000)]
Bug that is unfixable with current frontend

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

21 years agoFix levelraise/2003-01-30-ShiftCrash.ll
Chris Lattner [Thu, 30 Jan 2003 17:10:41 +0000 (17:10 +0000)]
Fix levelraise/2003-01-30-ShiftCrash.ll

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

21 years agoNew testcase
Chris Lattner [Thu, 30 Jan 2003 17:07:55 +0000 (17:07 +0000)]
New testcase

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

21 years agoInitial checkin of pool allocation code
Chris Lattner [Wed, 29 Jan 2003 21:12:13 +0000 (21:12 +0000)]
Initial checkin of pool allocation code

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

21 years agoUse and implement API for graph traversals
Chris Lattner [Wed, 29 Jan 2003 21:10:20 +0000 (21:10 +0000)]
Use and implement API for graph traversals

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

21 years agoNew API for traversing graph
Chris Lattner [Wed, 29 Jan 2003 21:09:59 +0000 (21:09 +0000)]
New API for traversing graph

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

21 years agoInitial checkin of pool allocator library
Chris Lattner [Wed, 29 Jan 2003 18:38:11 +0000 (18:38 +0000)]
Initial checkin of pool allocator library

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

21 years agoFix build problem on sparc
Chris Lattner [Wed, 29 Jan 2003 18:15:34 +0000 (18:15 +0000)]
Fix build problem on sparc

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

21 years agoFix warnings on sparc
Chris Lattner [Wed, 29 Jan 2003 18:02:02 +0000 (18:02 +0000)]
Fix warnings on sparc

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

21 years agoFix warning on sparc
Chris Lattner [Wed, 29 Jan 2003 16:26:46 +0000 (16:26 +0000)]
Fix warning on sparc

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

21 years agofree instructions mark their operands as being heap nodes.
Chris Lattner [Tue, 28 Jan 2003 20:59:57 +0000 (20:59 +0000)]
free instructions mark their operands as being heap nodes.

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

21 years agoInitial checking: defult the make_vector function
Chris Lattner [Tue, 28 Jan 2003 20:01:16 +0000 (20:01 +0000)]
Initial checking: defult the make_vector function

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

21 years agoNew helper header
Chris Lattner [Mon, 27 Jan 2003 22:08:52 +0000 (22:08 +0000)]
New helper header

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

21 years agoDisable construction of pool allocator
Chris Lattner [Fri, 24 Jan 2003 20:13:20 +0000 (20:13 +0000)]
Disable construction of pool allocator

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

21 years agoMake sure the files get sorted correctly
Chris Lattner [Fri, 24 Jan 2003 16:28:25 +0000 (16:28 +0000)]
Make sure the files get sorted correctly

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

21 years ago* Eliminate boolean arguments in favor of using enums
Chris Lattner [Thu, 23 Jan 2003 22:06:33 +0000 (22:06 +0000)]
* Eliminate boolean arguments in favor of using enums

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

21 years ago* Eliminate boolean arguments in favor of using enums
Chris Lattner [Thu, 23 Jan 2003 22:05:33 +0000 (22:05 +0000)]
* Eliminate boolean arguments in favor of using enums
* T-D pass now eliminates unreachable globals

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

21 years agoSlight efficiency improvement
Chris Lattner [Thu, 23 Jan 2003 21:31:16 +0000 (21:31 +0000)]
Slight efficiency improvement

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

21 years agoAdd notes about LLVM and CygWin from Brian Gaeke
Chris Lattner [Thu, 23 Jan 2003 21:17:02 +0000 (21:17 +0000)]
Add notes about LLVM and CygWin from Brian Gaeke

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

21 years agoFix broken testcase
Chris Lattner [Thu, 23 Jan 2003 19:52:48 +0000 (19:52 +0000)]
Fix broken testcase

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

21 years agoRemove testcases that never could have worked anyway (they print out pointer values)
Chris Lattner [Thu, 23 Jan 2003 19:51:18 +0000 (19:51 +0000)]
Remove testcases that never could have worked anyway (they print out pointer values)

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

21 years agoCompress large logs
Chris Lattner [Thu, 23 Jan 2003 19:31:28 +0000 (19:31 +0000)]
Compress large logs

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

21 years agoLimit the amount of time the test will run
Chris Lattner [Thu, 23 Jan 2003 16:52:04 +0000 (16:52 +0000)]
Limit the amount of time the test will run

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

21 years agoDont' stop the build
Chris Lattner [Thu, 23 Jan 2003 16:51:47 +0000 (16:51 +0000)]
Dont' stop the build

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

21 years ago* Only run LLVM tests so that testing is not stopped.
Chris Lattner [Thu, 23 Jan 2003 16:51:24 +0000 (16:51 +0000)]
* Only run LLVM tests so that testing is not stopped.
* This directory should only contain LLVM tests anyway

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

21 years agoFix problem with flex scanners and huge token sizes
Chris Lattner [Thu, 23 Jan 2003 16:33:10 +0000 (16:33 +0000)]
Fix problem with flex scanners and huge token sizes

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

21 years agoMake bugpoint *much* more powerful, giving it the capability to delete instructions
Chris Lattner [Thu, 23 Jan 2003 02:48:33 +0000 (02:48 +0000)]
Make bugpoint *much* more powerful, giving it the capability to delete instructions
out of a large function to reduce it.

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

21 years agoFix bug: LevelRaise/2003-01-22-GEPProblem.ll
Chris Lattner [Thu, 23 Jan 2003 02:39:10 +0000 (02:39 +0000)]
Fix bug: LevelRaise/2003-01-22-GEPProblem.ll

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

21 years ago; Testcase reduced from 197.parser by bugpoint
Chris Lattner [Thu, 23 Jan 2003 02:38:50 +0000 (02:38 +0000)]
; Testcase reduced from 197.parser by bugpoint

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

21 years agoFix bug: ADCE/2003-01-22-PredecessorProblem.ll
Chris Lattner [Thu, 23 Jan 2003 02:12:18 +0000 (02:12 +0000)]
Fix bug: ADCE/2003-01-22-PredecessorProblem.ll

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

21 years agoNew testcase reduced from 197.parser by bugpoint
Chris Lattner [Thu, 23 Jan 2003 02:11:29 +0000 (02:11 +0000)]
New testcase reduced from 197.parser by bugpoint

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

21 years agoAllow creating of passes like levelraise which use a targetdata ctor
Chris Lattner [Wed, 22 Jan 2003 23:24:11 +0000 (23:24 +0000)]
Allow creating of passes like levelraise which use a targetdata ctor

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

21 years agolink with static versions of some libs to avoid having to pull in all of ipo/ipa...
Chris Lattner [Wed, 22 Jan 2003 22:14:04 +0000 (22:14 +0000)]
link with static versions of some libs to avoid having to pull in all of ipo/ipa and datastructure at all

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

21 years agoFix analysis of the Burg program
Chris Lattner [Wed, 22 Jan 2003 22:00:24 +0000 (22:00 +0000)]
Fix analysis of the Burg program

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

21 years agoImplement "new/removed/broken/fixed" tests
Chris Lattner [Wed, 22 Jan 2003 20:35:59 +0000 (20:35 +0000)]
Implement "new/removed/broken/fixed" tests

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

21 years agoImplement program tests, and test for compile time problems
Chris Lattner [Wed, 22 Jan 2003 16:14:05 +0000 (16:14 +0000)]
Implement program tests, and test for compile time problems

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

21 years agoFix lli build problem with parallel makes
Chris Lattner [Wed, 22 Jan 2003 16:13:31 +0000 (16:13 +0000)]
Fix lli build problem with parallel makes

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

21 years agoAdd support for program tests
Chris Lattner [Wed, 22 Jan 2003 16:13:10 +0000 (16:13 +0000)]
Add support for program tests

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

21 years agoFix didn't fix the race condition in the makefiles
Chris Lattner [Wed, 22 Jan 2003 15:41:10 +0000 (15:41 +0000)]
Fix didn't fix the race condition in the makefiles

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

21 years ago-ENABLE_STATS also enables timing
Chris Lattner [Tue, 21 Jan 2003 21:31:29 +0000 (21:31 +0000)]
-ENABLE_STATS also enables timing

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

21 years agoDon't keep track of # big vs #small instructions seperately
Chris Lattner [Tue, 21 Jan 2003 20:13:49 +0000 (20:13 +0000)]
Don't keep track of # big vs #small instructions seperately

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

21 years agoFix race condition in Makefile
Chris Lattner [Tue, 21 Jan 2003 15:20:50 +0000 (15:20 +0000)]
Fix race condition in Makefile

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

21 years agoFix indentation code, simplify a bit
Chris Lattner [Mon, 20 Jan 2003 19:18:44 +0000 (19:18 +0000)]
Fix indentation code, simplify a bit

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

21 years agoAdd information about new warnings and warning changes
Chris Lattner [Mon, 20 Jan 2003 18:05:27 +0000 (18:05 +0000)]
Add information about new warnings and warning changes

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

21 years agoFix warnings
Chris Lattner [Mon, 20 Jan 2003 06:19:18 +0000 (06:19 +0000)]
Fix warnings

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

21 years agoInitial checkin of the nightly build scripts
Chris Lattner [Mon, 20 Jan 2003 06:11:03 +0000 (06:11 +0000)]
Initial checkin of the nightly build scripts

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

21 years ago* Prune down library list. In particular, llc doesn't need all of IPO, and none...
Chris Lattner [Sun, 19 Jan 2003 21:55:43 +0000 (21:55 +0000)]
* Prune down library list.  In particular, llc doesn't need all of IPO, and none of data structure and IPA completely!
* Do not keep symbols by default!

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

21 years agoRemove obsolete tests
Chris Lattner [Fri, 17 Jan 2003 19:45:49 +0000 (19:45 +0000)]
Remove obsolete tests

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

21 years agoRemove obsolete test
Chris Lattner [Fri, 17 Jan 2003 19:44:02 +0000 (19:44 +0000)]
Remove obsolete test

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

21 years agoInitial checkin of dummylib
Chris Lattner [Fri, 17 Jan 2003 19:09:29 +0000 (19:09 +0000)]
Initial checkin of dummylib

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

21 years agoAdd new support for a bytecode repository
Chris Lattner [Fri, 17 Jan 2003 17:36:47 +0000 (17:36 +0000)]
Add new support for a bytecode repository

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

21 years agoSimplify and correct rules for building lex/yacc files. Make sure to delete
Chris Lattner [Thu, 16 Jan 2003 22:44:19 +0000 (22:44 +0000)]
Simplify and correct rules for building lex/yacc files.  Make sure to delete
output upon make clean

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

21 years agoAdd helper
Chris Lattner [Thu, 16 Jan 2003 21:06:18 +0000 (21:06 +0000)]
Add helper

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

21 years agoAdd support for make TEST=foo
Chris Lattner [Thu, 16 Jan 2003 20:26:29 +0000 (20:26 +0000)]
Add support for make TEST=foo

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

21 years agoAdd support for a recursive test target
Chris Lattner [Thu, 16 Jan 2003 20:02:30 +0000 (20:02 +0000)]
Add support for a recursive test target

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

21 years agoAdd more testcases
Chris Lattner [Thu, 16 Jan 2003 19:43:11 +0000 (19:43 +0000)]
Add more testcases

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

21 years agoPrint machine frame objects with the frame offset intrinsic to the machine
Chris Lattner [Thu, 16 Jan 2003 18:35:57 +0000 (18:35 +0000)]
Print machine frame objects with the frame offset intrinsic to the machine

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

21 years agoDon't emit unneccesary branch instructions!
Chris Lattner [Thu, 16 Jan 2003 18:07:23 +0000 (18:07 +0000)]
Don't emit unneccesary branch instructions!

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

21 years agoFix problem with invalidated iterator
Chris Lattner [Thu, 16 Jan 2003 18:07:13 +0000 (18:07 +0000)]
Fix problem with invalidated iterator

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

21 years agoFix problems with empty basic blocks
Chris Lattner [Thu, 16 Jan 2003 18:06:43 +0000 (18:06 +0000)]
Fix problems with empty basic blocks

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

21 years agoImplement optimization folding setcc into branch.
Chris Lattner [Thu, 16 Jan 2003 16:43:00 +0000 (16:43 +0000)]
Implement optimization folding setcc into branch.

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

21 years agoAdd more flavors of branch instructions
Chris Lattner [Thu, 16 Jan 2003 16:42:45 +0000 (16:42 +0000)]
Add more flavors of branch instructions

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

21 years agoArg, fix bugs in previous checkin...
Chris Lattner [Thu, 16 Jan 2003 02:24:20 +0000 (02:24 +0000)]
Arg, fix bugs in previous checkin...

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

21 years agoAdd assertion
Chris Lattner [Thu, 16 Jan 2003 02:22:08 +0000 (02:22 +0000)]
Add assertion

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

21 years agoImplement code to keep the stack pointer aligned to an 8 byte boundary.
Chris Lattner [Thu, 16 Jan 2003 02:20:12 +0000 (02:20 +0000)]
Implement code to keep the stack pointer aligned to an 8 byte boundary.
This improves the performance of the power benchmark by a few percent.
This will be neccesary for SSE code, which requires 16 byte alignment of
the stack.

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

21 years agoHandle frame offset due to return address pushed on the stack
Chris Lattner [Wed, 15 Jan 2003 22:57:35 +0000 (22:57 +0000)]
Handle frame offset due to return address pushed on the stack

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

21 years ago* Insert prolog/epilog code before rewriting indexes
Chris Lattner [Wed, 15 Jan 2003 22:52:34 +0000 (22:52 +0000)]
* Insert prolog/epilog code before rewriting indexes
* Fix calculation of frame offsets when there is an offset.

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

21 years agoMove sparc specific code into the Sparc backend
Chris Lattner [Wed, 15 Jan 2003 21:36:50 +0000 (21:36 +0000)]
Move sparc specific code into the Sparc backend

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

21 years agoFix warnings
Chris Lattner [Wed, 15 Jan 2003 21:36:30 +0000 (21:36 +0000)]
Fix warnings

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

21 years agoAdjust to simpler interfaces
Chris Lattner [Wed, 15 Jan 2003 21:14:32 +0000 (21:14 +0000)]
Adjust to simpler interfaces
Eliminate dependency on RegClass.h

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

21 years agoAdjust to new interfaces
Chris Lattner [Wed, 15 Jan 2003 21:14:01 +0000 (21:14 +0000)]
Adjust to new interfaces

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

21 years agoSimplify the interface
Chris Lattner [Wed, 15 Jan 2003 21:13:32 +0000 (21:13 +0000)]
Simplify the interface

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

21 years agoMove headers around
Chris Lattner [Wed, 15 Jan 2003 21:02:16 +0000 (21:02 +0000)]
Move headers around

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

21 years agoHeader is moved into local directory
Chris Lattner [Wed, 15 Jan 2003 21:00:02 +0000 (21:00 +0000)]
Header is moved into local directory

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

21 years agoFix bug in previous checkin
Chris Lattner [Wed, 15 Jan 2003 20:32:15 +0000 (20:32 +0000)]
Fix bug in previous checkin

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

21 years agoAdd new method
Chris Lattner [Wed, 15 Jan 2003 20:28:36 +0000 (20:28 +0000)]
Add new method

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

21 years agoMove private headers into private regalloc directory
Chris Lattner [Wed, 15 Jan 2003 20:26:32 +0000 (20:26 +0000)]
Move private headers into private regalloc directory

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

21 years ago#include RegClass.h explicitly
Chris Lattner [Wed, 15 Jan 2003 19:57:07 +0000 (19:57 +0000)]
#include RegClass.h explicitly

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

21 years agoRemvoe dependency on RegClass.h
Chris Lattner [Wed, 15 Jan 2003 19:56:21 +0000 (19:56 +0000)]
Remvoe dependency on RegClass.h

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

21 years agoMove private header to private directory
Chris Lattner [Wed, 15 Jan 2003 19:50:44 +0000 (19:50 +0000)]
Move private header to private directory

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

21 years agoMove private header to private dir
Chris Lattner [Wed, 15 Jan 2003 19:50:32 +0000 (19:50 +0000)]
Move private header to private dir

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

21 years agoPrune #includes
Chris Lattner [Wed, 15 Jan 2003 19:48:13 +0000 (19:48 +0000)]
Prune #includes

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

21 years agoMinor changes
Chris Lattner [Wed, 15 Jan 2003 19:47:53 +0000 (19:47 +0000)]
Minor changes

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

21 years agoRemove obsolete ctor
Chris Lattner [Wed, 15 Jan 2003 19:47:02 +0000 (19:47 +0000)]
Remove obsolete ctor

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

21 years agoRemove internal helper fn
Chris Lattner [Wed, 15 Jan 2003 19:46:39 +0000 (19:46 +0000)]
Remove internal helper fn

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

21 years agoUse BuildMI more
Chris Lattner [Wed, 15 Jan 2003 19:23:34 +0000 (19:23 +0000)]
Use BuildMI more

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

21 years agoRemove dead code
Chris Lattner [Wed, 15 Jan 2003 19:22:38 +0000 (19:22 +0000)]
Remove dead code

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

21 years agoADd support for CC registers for Sparc BE
Chris Lattner [Wed, 15 Jan 2003 19:22:23 +0000 (19:22 +0000)]
ADd support for CC registers for Sparc BE

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

21 years agoAdd support for the CC registers for Sparc BE
Chris Lattner [Wed, 15 Jan 2003 19:22:06 +0000 (19:22 +0000)]
Add support for the CC registers for Sparc BE

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