oota-llvm.git
21 years agoInitial checkin of crtend.o implementation
Chris Lattner [Wed, 14 May 2003 13:09:41 +0000 (13:09 +0000)]
Initial checkin of crtend.o implementation

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

21 years agoNew file
Chris Lattner [Wed, 14 May 2003 12:40:20 +0000 (12:40 +0000)]
New file

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

21 years agoFix major problem with appending linkage changes
Chris Lattner [Wed, 14 May 2003 12:11:51 +0000 (12:11 +0000)]
Fix major problem with appending linkage changes

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

21 years agoFix bug
Chris Lattner [Wed, 14 May 2003 02:47:13 +0000 (02:47 +0000)]
Fix bug

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

21 years agoSearch LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.o
Chris Lattner [Tue, 13 May 2003 22:14:13 +0000 (22:14 +0000)]
Search LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.o
Implement minor library linking optimization.

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

21 years agoImplement another getelementptr folding opportunity that arises when
Chris Lattner [Tue, 13 May 2003 21:50:52 +0000 (21:50 +0000)]
Implement another getelementptr folding opportunity that arises when
linking stuff with appending linkage

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

21 years agoEliminate using declarations
Chris Lattner [Tue, 13 May 2003 21:37:02 +0000 (21:37 +0000)]
Eliminate using declarations

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

21 years agoImplement linkage of appending global variables!
Chris Lattner [Tue, 13 May 2003 21:33:43 +0000 (21:33 +0000)]
Implement linkage of appending global variables!

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

21 years agoAdd uses of the appending variable
Chris Lattner [Tue, 13 May 2003 21:32:48 +0000 (21:32 +0000)]
Add uses of the appending variable

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

21 years agoAdd new testcase for appending linkage
Chris Lattner [Tue, 13 May 2003 20:48:17 +0000 (20:48 +0000)]
Add new testcase for appending linkage

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

21 years agoNew test for appending linkage
Chris Lattner [Tue, 13 May 2003 20:31:46 +0000 (20:31 +0000)]
New test for appending linkage

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

21 years agoClean up cast
Chris Lattner [Tue, 13 May 2003 20:29:17 +0000 (20:29 +0000)]
Clean up cast

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

21 years agoClean up #includes
Chris Lattner [Tue, 13 May 2003 20:21:19 +0000 (20:21 +0000)]
Clean up #includes

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

21 years agoFix bug: CBackend/2003-05-13-VarArgFunction.ll
Chris Lattner [Tue, 13 May 2003 20:15:37 +0000 (20:15 +0000)]
Fix bug: CBackend/2003-05-13-VarArgFunction.ll
In C, a prototype with no arguments is varargs.  A prototype that takes void
has zero args.

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

21 years agoNew testcase
Chris Lattner [Tue, 13 May 2003 20:11:21 +0000 (20:11 +0000)]
New testcase

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

21 years agoAdd support for the LLVM C++ frontend
Chris Lattner [Tue, 13 May 2003 20:06:00 +0000 (20:06 +0000)]
Add support for the LLVM C++ frontend

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

21 years agoMake test cases executable
Chris Lattner [Tue, 13 May 2003 19:50:01 +0000 (19:50 +0000)]
Make test cases executable

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

21 years agoMake testcase executable
Chris Lattner [Tue, 13 May 2003 19:40:31 +0000 (19:40 +0000)]
Make testcase executable

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

21 years agoNew testcase
Chris Lattner [Tue, 13 May 2003 18:09:44 +0000 (18:09 +0000)]
New testcase

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

21 years agoAdd test for handling ptrmem_cst
Chris Lattner [Mon, 12 May 2003 23:34:59 +0000 (23:34 +0000)]
Add test for handling ptrmem_cst

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

21 years agoMake test more interesting
Chris Lattner [Mon, 12 May 2003 23:33:00 +0000 (23:33 +0000)]
Make test more interesting

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

21 years agoAdd first C++ test
Chris Lattner [Mon, 12 May 2003 23:22:51 +0000 (23:22 +0000)]
Add first C++ test

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

21 years agoFix bug: Dominators/2003-05-12-UnreachableCode.ll
Chris Lattner [Mon, 12 May 2003 22:35:13 +0000 (22:35 +0000)]
Fix bug: Dominators/2003-05-12-UnreachableCode.ll

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

21 years agoNew testcase
Chris Lattner [Mon, 12 May 2003 22:28:15 +0000 (22:28 +0000)]
New testcase

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

21 years agoNew file
Chris Lattner [Mon, 12 May 2003 22:25:24 +0000 (22:25 +0000)]
New file

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

21 years agoAdd a disable-verify option
Chris Lattner [Mon, 12 May 2003 22:12:44 +0000 (22:12 +0000)]
Add a disable-verify option

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

21 years agoMove static stuff to an anonymous namespace
Chris Lattner [Mon, 12 May 2003 22:08:58 +0000 (22:08 +0000)]
Move static stuff to an anonymous namespace

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

21 years agoFix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll
Chris Lattner [Mon, 12 May 2003 22:04:34 +0000 (22:04 +0000)]
Fix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll

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

21 years agoNew testcase
Chris Lattner [Mon, 12 May 2003 21:57:41 +0000 (21:57 +0000)]
New testcase

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

21 years agoMake abort more explicit
Chris Lattner [Mon, 12 May 2003 21:16:26 +0000 (21:16 +0000)]
Make abort more explicit

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

21 years agoRemove the assertion failure of course... doh
Chris Lattner [Mon, 12 May 2003 20:39:39 +0000 (20:39 +0000)]
Remove the assertion failure of course... doh

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

21 years agoEnable more tests
Chris Lattner [Mon, 12 May 2003 20:39:30 +0000 (20:39 +0000)]
Enable more tests

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

21 years agoImplement casts from unsigned integers to floating point
Chris Lattner [Mon, 12 May 2003 20:36:13 +0000 (20:36 +0000)]
Implement casts from unsigned integers to floating point

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

21 years agoAdd tests for casts from unsigned integers to floats
Chris Lattner [Mon, 12 May 2003 20:35:29 +0000 (20:35 +0000)]
Add tests for casts from unsigned integers to floats

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

21 years agoMake error messages more useful than jsut an abort
Chris Lattner [Mon, 12 May 2003 20:16:58 +0000 (20:16 +0000)]
Make error messages more useful than jsut an abort

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

21 years agoRemove wierd printout
Chris Lattner [Mon, 12 May 2003 20:10:12 +0000 (20:10 +0000)]
Remove wierd printout

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

21 years agoUse a kill, not a dead definition, update comment
Chris Lattner [Mon, 12 May 2003 17:37:30 +0000 (17:37 +0000)]
Use a kill, not a dead definition, update comment

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

21 years agoFix bug: CWriter/2003-05-12-IntegerSizeWarning.c
Chris Lattner [Mon, 12 May 2003 15:39:31 +0000 (15:39 +0000)]
Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c

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

21 years agoNew testcase
Chris Lattner [Mon, 12 May 2003 15:34:39 +0000 (15:34 +0000)]
New testcase

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

21 years agoMake regression tests fail if any warnings are emitted
Chris Lattner [Mon, 12 May 2003 15:33:52 +0000 (15:33 +0000)]
Make regression tests fail if any warnings are emitted

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

21 years agoFix Bug: ConstProp/2003-05-12-DivideError.ll
Chris Lattner [Mon, 12 May 2003 15:26:25 +0000 (15:26 +0000)]
Fix Bug: ConstProp/2003-05-12-DivideError.ll

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

21 years agoTestcase which kills the constant folder
Chris Lattner [Mon, 12 May 2003 15:18:53 +0000 (15:18 +0000)]
Testcase which kills the constant folder

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

21 years agoFix Bug: Assembler/2003-05-12-MinIntProblem.llx
Chris Lattner [Mon, 12 May 2003 15:13:52 +0000 (15:13 +0000)]
Fix Bug: Assembler/2003-05-12-MinIntProblem.llx

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

21 years agoNew bug distilled from aha program
Chris Lattner [Mon, 12 May 2003 15:06:20 +0000 (15:06 +0000)]
New bug distilled from aha program

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

21 years agoPrint filename correctly
Chris Lattner [Mon, 12 May 2003 14:32:04 +0000 (14:32 +0000)]
Print filename correctly

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

21 years agoThe JIT is the default mode for LLI now
Chris Lattner [Mon, 12 May 2003 14:31:57 +0000 (14:31 +0000)]
The JIT is the default mode for LLI now

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

21 years ago* Keep LiveVariable information more up-to-date and consistent
Chris Lattner [Mon, 12 May 2003 14:28:28 +0000 (14:28 +0000)]
* Keep LiveVariable information more up-to-date and consistent
* *** Finally mark values that are inputs to PHIs as killed when appropriate.
   This should make the generated code quite a bit better.  For example, the
   local-ra will not have to spill PHI inputs at the end of predecessor BB's
   anymore.

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

21 years agoFix bug where we could iterate off the end of a basic block
Chris Lattner [Mon, 12 May 2003 14:26:38 +0000 (14:26 +0000)]
Fix bug where we could iterate off the end of a basic block

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

21 years ago* Keep the BBMap around as long as the pass is live
Chris Lattner [Mon, 12 May 2003 14:24:00 +0000 (14:24 +0000)]
* Keep the BBMap around as long as the pass is live
* Change getVarInfo to take real virtual register numbers and offset them
  itself.  This has caused me so much grief, it's not even funny.

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

21 years agoBeef up interface, move getVarInfo out-of-line.
Chris Lattner [Mon, 12 May 2003 14:23:04 +0000 (14:23 +0000)]
Beef up interface, move getVarInfo out-of-line.

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

21 years agoDo not insert multiple initializations for the same value in a PHI node
Chris Lattner [Mon, 12 May 2003 14:22:21 +0000 (14:22 +0000)]
Do not insert multiple initializations for the same value in a PHI node

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

21 years agoFix N^2 algorithm
Chris Lattner [Mon, 12 May 2003 04:08:54 +0000 (04:08 +0000)]
Fix N^2 algorithm

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

21 years agoAdd old test
Chris Lattner [Mon, 12 May 2003 04:06:38 +0000 (04:06 +0000)]
Add old test

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

21 years ago* Fix several comments
Chris Lattner [Mon, 12 May 2003 03:55:21 +0000 (03:55 +0000)]
* Fix several comments
* Update LiveVar info better, fixing bug: Jello/2003-05-11-PHIRegAllocBug.ll

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

21 years agoFix tab infestation!
Chris Lattner [Mon, 12 May 2003 03:54:14 +0000 (03:54 +0000)]
Fix tab infestation!

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

21 years agoExpand API for updating live var info.
Chris Lattner [Mon, 12 May 2003 03:51:30 +0000 (03:51 +0000)]
Expand API for updating live var info.
Expose iterators, not const-iterators.
Rename method that was VERY misleading

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

21 years agoSimplify testcase a bit more
Chris Lattner [Mon, 12 May 2003 02:31:48 +0000 (02:31 +0000)]
Simplify testcase a bit more

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

21 years agoNew testcase that crashes Jello
Chris Lattner [Mon, 12 May 2003 02:27:05 +0000 (02:27 +0000)]
New testcase that crashes Jello

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

21 years agoMake sure that globals are emitted AFTER the passmanager is set up for the JIT,
Chris Lattner [Mon, 12 May 2003 02:14:34 +0000 (02:14 +0000)]
Make sure that globals are emitted AFTER the passmanager is set up for the JIT,
because the globals may refer to functions that need to be compiled!

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

21 years agoCheckin old test
Chris Lattner [Sun, 11 May 2003 22:46:23 +0000 (22:46 +0000)]
Checkin old test

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

21 years agoAdd info about the LLVM_LIB_SEARCH_PATH envvar
Chris Lattner [Sun, 11 May 2003 21:50:06 +0000 (21:50 +0000)]
Add info about the LLVM_LIB_SEARCH_PATH envvar

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

21 years agoRemove dead makefile code
Chris Lattner [Sun, 11 May 2003 21:41:43 +0000 (21:41 +0000)]
Remove dead makefile code

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

21 years agoSwitch over to using the New CFE on Sparc
Chris Lattner [Sun, 11 May 2003 21:41:09 +0000 (21:41 +0000)]
Switch over to using the New CFE on Sparc

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

21 years ago* Remove dead hunk of makefile fragment for dealing with sun compiler
Chris Lattner [Sun, 11 May 2003 18:49:10 +0000 (18:49 +0000)]
* Remove dead hunk of makefile fragment for dealing with sun compiler
* Move LLC code gen stuff into test/Programs/Makefile.programs

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

21 years agoAllow llx tests as well
Chris Lattner [Sun, 11 May 2003 18:38:25 +0000 (18:38 +0000)]
Allow llx tests as well

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

21 years agoFix a halfway done change to the nightly tester :(
Chris Lattner [Sun, 11 May 2003 15:23:10 +0000 (15:23 +0000)]
Fix a halfway done change to the nightly tester :(

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

21 years agoGet the nightly tester to detect other kind of testing problems
Chris Lattner [Sat, 10 May 2003 21:40:10 +0000 (21:40 +0000)]
Get the nightly tester to detect other kind of testing problems

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

21 years agoswitch main LLI core execution to use an InstVisitor instead of a switch statement
Chris Lattner [Sat, 10 May 2003 21:22:39 +0000 (21:22 +0000)]
switch main LLI core execution to use an InstVisitor instead of a switch statement

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

21 years agoForce overwriting the file if it already exists.
Chris Lattner [Sat, 10 May 2003 21:19:00 +0000 (21:19 +0000)]
Force overwriting the file if it already exists.

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

21 years agoUpdate column info
Chris Lattner [Sat, 10 May 2003 20:54:55 +0000 (20:54 +0000)]
Update column info

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

21 years agoFix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c
Chris Lattner [Sat, 10 May 2003 20:21:16 +0000 (20:21 +0000)]
Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c

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

21 years agoFixed comment.
Joel Stanley [Sat, 10 May 2003 01:56:42 +0000 (01:56 +0000)]
Fixed comment.

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

21 years agoUpdate out of date comment
Chris Lattner [Fri, 9 May 2003 22:16:18 +0000 (22:16 +0000)]
Update out of date comment

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

21 years agoUpdates to match recent timer updates
Chris Lattner [Fri, 9 May 2003 20:44:22 +0000 (20:44 +0000)]
Updates to match recent timer updates

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

21 years agoAdd a new info-output-file option (hidden from --help) which is to be used by
Chris Lattner [Fri, 9 May 2003 20:05:44 +0000 (20:05 +0000)]
Add a new info-output-file option (hidden from --help) which is to be used by
the testing scripts  to avoid breaking diffs while still gathering stats.

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

21 years agoEnable the new C front-end for targets which define LLVMGCCARCH
Chris Lattner [Fri, 9 May 2003 04:19:58 +0000 (04:19 +0000)]
Enable the new C front-end for targets which define LLVMGCCARCH

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

21 years agoSwitch over to using the new C front-end by default.
Chris Lattner [Fri, 9 May 2003 04:17:06 +0000 (04:17 +0000)]
Switch over to using the new C front-end by default.

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

21 years agoAdd support for function stubs, which allow calling functions which need to
Chris Lattner [Fri, 9 May 2003 03:30:07 +0000 (03:30 +0000)]
Add support for function stubs, which allow calling functions which need to
have an address available, but have not yet been code generated.

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

21 years agoAdd new method to check to see if a global is available
Chris Lattner [Fri, 9 May 2003 03:29:03 +0000 (03:29 +0000)]
Add new method to check to see if a global is available

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

21 years agoThis blank line has GOT to go.
Chris Lattner [Fri, 9 May 2003 03:28:13 +0000 (03:28 +0000)]
This blank line has GOT to go.

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

21 years agoAllow const functions
Chris Lattner [Fri, 9 May 2003 03:27:41 +0000 (03:27 +0000)]
Allow const functions

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

21 years agoFix bug in last checkin
Chris Lattner [Thu, 8 May 2003 22:00:52 +0000 (22:00 +0000)]
Fix bug in last checkin

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

21 years agoAdd methods for stub function generation
Chris Lattner [Thu, 8 May 2003 21:54:18 +0000 (21:54 +0000)]
Add methods for stub function generation

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

21 years agoAdd new methods for stub generation
Chris Lattner [Thu, 8 May 2003 21:53:57 +0000 (21:53 +0000)]
Add new methods for stub generation

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

21 years agoMinor speedup by avoiding callbacks to functions already generated
Chris Lattner [Thu, 8 May 2003 21:44:21 +0000 (21:44 +0000)]
Minor speedup by avoiding callbacks to functions already generated

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

21 years agoImprove efficiency of JIT by having it use direct function calls instead of
Chris Lattner [Thu, 8 May 2003 21:34:11 +0000 (21:34 +0000)]
Improve efficiency of JIT by having it use direct function calls instead of
signals to regain control from the executing code

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

21 years agoassert early instead of late for unimplemented feature
Chris Lattner [Thu, 8 May 2003 21:08:43 +0000 (21:08 +0000)]
assert early instead of late for unimplemented feature

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

21 years agoAdd support for Add, Sub, And, Or, & Xor constant exprs
Chris Lattner [Thu, 8 May 2003 20:49:25 +0000 (20:49 +0000)]
Add support for Add, Sub, And, Or, & Xor constant exprs

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

21 years agoRemvoe testcase that should never be implemented
Chris Lattner [Thu, 8 May 2003 20:31:37 +0000 (20:31 +0000)]
Remvoe testcase that should never be implemented

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

21 years agoNew testcase
Chris Lattner [Thu, 8 May 2003 20:08:03 +0000 (20:08 +0000)]
New testcase

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

21 years agoAdd support for variable argument functions!
Chris Lattner [Thu, 8 May 2003 19:44:13 +0000 (19:44 +0000)]
Add support for variable argument functions!

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

21 years agoAdd support for variable argument functions!
Chris Lattner [Thu, 8 May 2003 18:41:45 +0000 (18:41 +0000)]
Add support for variable argument functions!

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

21 years agoImplement varargs support for LLI!
Chris Lattner [Thu, 8 May 2003 16:52:43 +0000 (16:52 +0000)]
Implement varargs support for LLI!

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

21 years agoAdd a pointersize/endianness safe load routine to match the store routine
Chris Lattner [Thu, 8 May 2003 16:52:16 +0000 (16:52 +0000)]
Add a pointersize/endianness safe load routine to match the store routine

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

21 years agoA large number of simple changes:
Chris Lattner [Thu, 8 May 2003 16:18:31 +0000 (16:18 +0000)]
A large number of simple changes:
  * s/Method/Function
  * Kill some obsolete (external) functions that used to be to support tracing

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

21 years agoAdd support for recording arguments passed through the ... of a varargs function
Chris Lattner [Thu, 8 May 2003 16:06:52 +0000 (16:06 +0000)]
Add support for recording arguments passed through the ... of a varargs function

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

21 years agova_start only takes on argument now.
Chris Lattner [Thu, 8 May 2003 15:55:44 +0000 (15:55 +0000)]
va_start only takes on argument now.

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

21 years agollvm.va_start only takes on argument now
Chris Lattner [Thu, 8 May 2003 15:55:31 +0000 (15:55 +0000)]
llvm.va_start only takes on argument now
Verify that va_start doesn't occur in functions with no varargs

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

21 years agoUpdate information about the switch instruction
Chris Lattner [Thu, 8 May 2003 05:08:48 +0000 (05:08 +0000)]
Update information about the switch instruction

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

21 years ago* Add information about LLVM intrinsics
Chris Lattner [Thu, 8 May 2003 04:57:36 +0000 (04:57 +0000)]
* Add information about LLVM intrinsics
* Add information about the va_arg instruction
* Add information about the llvm.va_* intrinsics

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