oota-llvm.git
21 years agoNew testcase for annoying structure layout stuff!
Chris Lattner [Sun, 31 Aug 2003 06:53:05 +0000 (06:53 +0000)]
New testcase for annoying structure layout stuff!

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

21 years agoMinor simplification
Chris Lattner [Sun, 31 Aug 2003 02:50:07 +0000 (02:50 +0000)]
Minor simplification

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

21 years agoInitial checkin of the -prune-eh pass, a very simple exception handling removal pass
Chris Lattner [Sun, 31 Aug 2003 02:47:32 +0000 (02:47 +0000)]
Initial checkin of the -prune-eh pass, a very simple exception handling removal pass

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

21 years agonew tests
Chris Lattner [Sun, 31 Aug 2003 02:38:46 +0000 (02:38 +0000)]
new tests

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

21 years agoAdd tests for the pruneeh pass
Chris Lattner [Sun, 31 Aug 2003 02:36:10 +0000 (02:36 +0000)]
Add tests for the pruneeh pass

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

21 years agoInitial checkin of the CallGraphSCCPass class
Chris Lattner [Sun, 31 Aug 2003 01:54:59 +0000 (01:54 +0000)]
Initial checkin of the CallGraphSCCPass class

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

21 years agoRemove usage of unsigned long: unsigned should be enough!
Chris Lattner [Sun, 31 Aug 2003 01:48:21 +0000 (01:48 +0000)]
Remove usage of unsigned long: unsigned should be enough!
Remove explicit use of a stack<>, use a vector instead

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

21 years agoThis file uses cerr without including <iostream>. Since it's just for debugging...
Chris Lattner [Sun, 31 Aug 2003 01:45:00 +0000 (01:45 +0000)]
This file uses cerr without including <iostream>.  Since it's just for debugging, comment it out

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

21 years agos/Meth/F
Chris Lattner [Sun, 31 Aug 2003 01:38:00 +0000 (01:38 +0000)]
s/Meth/F

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

21 years agoScalarRepl does not modify the CFG. Say so!
Chris Lattner [Sun, 31 Aug 2003 00:45:13 +0000 (00:45 +0000)]
ScalarRepl does not modify the CFG.  Say so!

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

21 years agoUse new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:22:27 +0000 (00:22 +0000)]
Use new interface, simplifies code

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

21 years agoUse the new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:21:59 +0000 (00:21 +0000)]
Use the new interface, simplifies code

NOTE that these two files are _BUGGY_ and need to be fixed, just not by me  :)

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

21 years agoUse the new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:21:05 +0000 (00:21 +0000)]
Use the new interface, simplifies code
Delete a bunch of commented out code

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

21 years agoUse the new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:20:36 +0000 (00:20 +0000)]
Use the new interface, simplifies code

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

21 years agoImplement new method
Chris Lattner [Sun, 31 Aug 2003 00:19:28 +0000 (00:19 +0000)]
Implement new method

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

21 years agoAdd new helper function which makes it even easier to do this sort of thing
Chris Lattner [Sun, 31 Aug 2003 00:19:18 +0000 (00:19 +0000)]
Add new helper function which makes it even easier to do this sort of thing

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

21 years agoUrg, forgot to add a file header somehow.
Chris Lattner [Sat, 30 Aug 2003 23:31:08 +0000 (23:31 +0000)]
Urg, forgot to add a file header somehow.
Add missing function comments

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

21 years agoinitial checkin of SJLJ exception handling runtime
Chris Lattner [Sat, 30 Aug 2003 23:29:22 +0000 (23:29 +0000)]
initial checkin of SJLJ exception handling runtime

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

21 years agoRename LongJmpException -> SJLJException
Chris Lattner [Sat, 30 Aug 2003 23:29:08 +0000 (23:29 +0000)]
Rename LongJmpException -> SJLJException

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

21 years agowe don't need this here
Chris Lattner [Sat, 30 Aug 2003 23:18:07 +0000 (23:18 +0000)]
we don't need this here

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

21 years agoMove language independent exception handling routines OUT of C++Exception.cpp
Chris Lattner [Sat, 30 Aug 2003 23:17:51 +0000 (23:17 +0000)]
Move language independent exception handling routines OUT of C++Exception.cpp

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

21 years agoFile was renamed
Chris Lattner [Sat, 30 Aug 2003 22:48:16 +0000 (22:48 +0000)]
File was renamed

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

21 years agoRename files to be capitalized now that they are C++
Chris Lattner [Sat, 30 Aug 2003 22:47:59 +0000 (22:47 +0000)]
Rename files to be capitalized now that they are C++

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

21 years agoInitial checkin of the SJLJ EH interface
Chris Lattner [Sat, 30 Aug 2003 22:36:52 +0000 (22:36 +0000)]
Initial checkin of the SJLJ EH interface

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

21 years agoNew testcase *sigh*
Chris Lattner [Sat, 30 Aug 2003 21:00:36 +0000 (21:00 +0000)]
New testcase *sigh*

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

21 years agoNew, HARD, bitfield testcase
Chris Lattner [Sat, 30 Aug 2003 20:57:49 +0000 (20:57 +0000)]
New, HARD, bitfield testcase

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

21 years agoYet another bit-field bug
Chris Lattner [Fri, 29 Aug 2003 22:46:34 +0000 (22:46 +0000)]
Yet another bit-field bug

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

21 years agominor simplification
Chris Lattner [Fri, 29 Aug 2003 21:57:18 +0000 (21:57 +0000)]
minor simplification

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

21 years agoTest case distilled from sed.
Misha Brukman [Fri, 29 Aug 2003 21:49:51 +0000 (21:49 +0000)]
Test case distilled from sed.

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

21 years agoTestcase distilled from xemacs.
Misha Brukman [Fri, 29 Aug 2003 21:28:47 +0000 (21:28 +0000)]
Testcase distilled from xemacs.

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

21 years agoAdded a dummy version of libcurses.
Misha Brukman [Fri, 29 Aug 2003 18:13:52 +0000 (18:13 +0000)]
Added a dummy version of libcurses.

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

21 years agoAdded dummy termcap library.
Misha Brukman [Fri, 29 Aug 2003 18:09:46 +0000 (18:09 +0000)]
Added dummy termcap library.

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

21 years agoNew testcase
Chris Lattner [Fri, 29 Aug 2003 16:00:19 +0000 (16:00 +0000)]
New testcase

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

21 years agoUse `llvm-dis' instead of simply `dis'.
Misha Brukman [Fri, 29 Aug 2003 15:26:31 +0000 (15:26 +0000)]
Use `llvm-dis' instead of simply `dis'.

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

21 years agoRemove automagic support for Modules. Noone uses it now anyways, and GCC 3.4 doesn...
Chris Lattner [Fri, 29 Aug 2003 14:48:21 +0000 (14:48 +0000)]
Remove automagic support for Modules.  Noone uses it now anyways, and GCC 3.4 doesn't want us to do this unless Module has been #included

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

21 years ago"Help keep our secrets secret."
John Criswell [Fri, 29 Aug 2003 14:46:12 +0000 (14:46 +0000)]
"Help keep our secrets secret."
Added code to respect the umask value.  Before, files were generated world
readable, which may not be desirable for all installations.

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

21 years agoThere is no reason for this to be a pass!
Chris Lattner [Fri, 29 Aug 2003 14:43:17 +0000 (14:43 +0000)]
There is no reason for this to be a pass!

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

21 years agoMove getAnalysisToUpdate to after the definition of AnalysisResolver.
Chris Lattner [Fri, 29 Aug 2003 14:26:51 +0000 (14:26 +0000)]
Move getAnalysisToUpdate to after the definition of AnalysisResolver.
GCC 3.4 apparently wants classes to be DEFINED before they are USED.  What is
it smoking.

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

21 years agoFix compilation problems with G++ 3.4
Chris Lattner [Fri, 29 Aug 2003 14:22:29 +0000 (14:22 +0000)]
Fix compilation problems with G++ 3.4

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

21 years agoSlightly simplify make logic
Chris Lattner [Fri, 29 Aug 2003 14:07:02 +0000 (14:07 +0000)]
Slightly simplify make logic

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

21 years agoFix bug: Linker/2003-08-28-TypeResolvesGlobal3.ll
Chris Lattner [Fri, 29 Aug 2003 05:37:22 +0000 (05:37 +0000)]
Fix bug: Linker/2003-08-28-TypeResolvesGlobal3.ll
Use new replaceAllUsesWith stuff in a way that works even though types have not yet been propagated

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

21 years agoImplement "unsafe" replaceAllUsesWWith stuff for use during type resolution.
Chris Lattner [Fri, 29 Aug 2003 05:36:46 +0000 (05:36 +0000)]
Implement "unsafe" replaceAllUsesWWith stuff for use during type resolution.

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

21 years agoAllow for "unsafe" replaceAllUsesWith operatations, for use during type resolution
Chris Lattner [Fri, 29 Aug 2003 05:36:05 +0000 (05:36 +0000)]
Allow for "unsafe" replaceAllUsesWith operatations, for use during type resolution

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

21 years agoYet ANOTHER complication that the libstdc++ library runs into linking...
Chris Lattner [Fri, 29 Aug 2003 05:29:38 +0000 (05:29 +0000)]
Yet ANOTHER complication that the libstdc++ library runs into linking...

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

21 years agoFix bug: Linker/2003-08-28-TypeResolvesGlobal2.ll
Chris Lattner [Fri, 29 Aug 2003 05:11:34 +0000 (05:11 +0000)]
Fix bug: Linker/2003-08-28-TypeResolvesGlobal2.ll

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

21 years agoRefactor code to make it useful outside of Constants.cpp
Chris Lattner [Fri, 29 Aug 2003 05:09:37 +0000 (05:09 +0000)]
Refactor code to make it useful outside of Constants.cpp

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

21 years agoAdd new method
Chris Lattner [Fri, 29 Aug 2003 05:08:31 +0000 (05:08 +0000)]
Add new method

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

21 years agoOk, the last bug fix was not good enough to fix libstdc++. Maybe this one will be
Chris Lattner [Fri, 29 Aug 2003 04:54:23 +0000 (04:54 +0000)]
Ok, the last bug fix was not good enough to fix libstdc++.  Maybe this one will be

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

21 years agoFix bug: Linker/2003-08-28-TypeResolvesGlobal.ll
Chris Lattner [Fri, 29 Aug 2003 04:49:54 +0000 (04:49 +0000)]
Fix bug: Linker/2003-08-28-TypeResolvesGlobal.ll

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

21 years agoNew testcase which is preventing the linking of libstdc++
Chris Lattner [Fri, 29 Aug 2003 04:40:34 +0000 (04:40 +0000)]
New testcase which is preventing the linking of libstdc++

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

21 years ago* Use alloca() to force GCC not to eliminate frame pointer
Misha Brukman [Fri, 29 Aug 2003 04:22:54 +0000 (04:22 +0000)]
* Use alloca() to force GCC not to eliminate frame pointer
* Break apart saving and restoring registers into separate functions
* Instead of saving single and double FP registers, just save the double
  registers -- aliasing helps preserve the single FP registers as well.
* Request just as much memory for a stub as we actually use

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

21 years agoNEw testcase
Chris Lattner [Fri, 29 Aug 2003 00:29:55 +0000 (00:29 +0000)]
NEw testcase

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

21 years agoNew testcase, not only possible of causing compilation failures, but could
Chris Lattner [Fri, 29 Aug 2003 00:03:45 +0000 (00:03 +0000)]
New testcase, not only possible of causing compilation failures, but could
also cause miscompilations!

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

21 years agoRenaming `dis' -> `llvm-dis'.
Misha Brukman [Thu, 28 Aug 2003 22:14:16 +0000 (22:14 +0000)]
Renaming `dis' -> `llvm-dis'.

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

21 years agoDocument the llvm.unwind intrinsic.
Chris Lattner [Thu, 28 Aug 2003 22:12:25 +0000 (22:12 +0000)]
Document the llvm.unwind intrinsic.
Clarify the documentation for the invoke instruction

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

21 years agoRenaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.
Misha Brukman [Thu, 28 Aug 2003 22:02:50 +0000 (22:02 +0000)]
Renaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.

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

21 years agoNear-term fix for renaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.
Misha Brukman [Thu, 28 Aug 2003 21:46:34 +0000 (21:46 +0000)]
Near-term fix for renaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.

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

21 years agoStart using `llvm-as' instead of `as'.
Misha Brukman [Thu, 28 Aug 2003 21:45:08 +0000 (21:45 +0000)]
Start using `llvm-as' instead of `as'.

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

21 years agoBuild llvm-as and llvm-dis as the upgrade path to renamed tools.
Misha Brukman [Thu, 28 Aug 2003 21:43:51 +0000 (21:43 +0000)]
Build llvm-as and llvm-dis as the upgrade path to renamed tools.

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

21 years agoFixed two double free bugs that caused llc to segfault or run forever.
John Criswell [Thu, 28 Aug 2003 21:43:17 +0000 (21:43 +0000)]
Fixed two double free bugs that caused llc to segfault or run forever.

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

21 years agoAdded code to avoid checking for .bc when the filename is too short.
John Criswell [Thu, 28 Aug 2003 21:42:29 +0000 (21:42 +0000)]
Added code to avoid checking for .bc when the filename is too short.

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

21 years agoRenaming LLVM `dis' to `llvm-dis'.
Misha Brukman [Thu, 28 Aug 2003 21:34:13 +0000 (21:34 +0000)]
Renaming LLVM `dis' to `llvm-dis'.

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

21 years agoRenaming LLVM `as' to `llvm-as'.
Misha Brukman [Thu, 28 Aug 2003 21:32:57 +0000 (21:32 +0000)]
Renaming LLVM `as' to `llvm-as'.

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

21 years agoAdd support for the llvm.unwind intrinsic, which we codegen to just do an abort
Chris Lattner [Thu, 28 Aug 2003 21:23:43 +0000 (21:23 +0000)]
Add support for the llvm.unwind intrinsic, which we codegen to just do an abort
until we implement unwinding.
Add support for the invoke instruction, which codegens just like a call with
a branch after it.

The end effect of this change is that programs using the invoke instruction,
but never unwinding, will work fine.  Programs that unwind will abort until
we get unwind support.

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

21 years agoAdd another testcase I found lying around.
Chris Lattner [Thu, 28 Aug 2003 20:33:46 +0000 (20:33 +0000)]
Add another testcase I found lying around.

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

21 years agoAdd test for the last chapter of our C++ exception handling odyssey. llvmg++
Chris Lattner [Thu, 28 Aug 2003 20:32:36 +0000 (20:32 +0000)]
Add test for the last chapter of our C++ exception handling odyssey.  llvmg++
now fully supports all C++ exception handling functionality.

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

21 years ago* Add proper support for rethrown exceptions.
Chris Lattner [Thu, 28 Aug 2003 19:58:51 +0000 (19:58 +0000)]
* Add proper support for rethrown exceptions.
* Make catch_begin() produce a pointer that must be passed to catch_end()
* Eliminate the caught exception stack.
* Add optional debugging code that may be turned on.

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

21 years agoNew testcases, all of which work with llvmg++!
Chris Lattner [Thu, 28 Aug 2003 19:57:53 +0000 (19:57 +0000)]
New testcases, all of which work with llvmg++!
This tests exception specifications, and also adds an "easy" rethrow test.

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

21 years agoLink to the C++ libraries. This is temporary
Chris Lattner [Thu, 28 Aug 2003 19:57:14 +0000 (19:57 +0000)]
Link to the C++ libraries.  This is temporary

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

21 years agoFix really nasty bugs in the CWriter, handling invoke instructions. Tracking
Chris Lattner [Thu, 28 Aug 2003 19:56:10 +0000 (19:56 +0000)]
Fix really nasty bugs in the CWriter, handling invoke instructions.  Tracking
these down was NOT phun.

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

21 years agoRemoving README
Tanya Lattner [Thu, 28 Aug 2003 17:17:59 +0000 (17:17 +0000)]
Removing README

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

21 years agoPutting my revised version of ModuloScheduling in cvs. This is not complete...
Tanya Lattner [Thu, 28 Aug 2003 17:12:14 +0000 (17:12 +0000)]
Putting my revised version of ModuloScheduling in cvs. This is not complete...

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

21 years agoFix bug where we considered function types equivalent even if they had differing...
Chris Lattner [Thu, 28 Aug 2003 16:42:50 +0000 (16:42 +0000)]
Fix bug where we considered function types equivalent even if they had differing numbers of arguments

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

21 years agoReorder #includes
Chris Lattner [Thu, 28 Aug 2003 16:25:34 +0000 (16:25 +0000)]
Reorder #includes
Make sure that we veryify the result before writing it out!

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

21 years agoMoved index in BB to common graph class.
Tanya Lattner [Thu, 28 Aug 2003 15:31:28 +0000 (15:31 +0000)]
Moved index in BB to common graph class.

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

21 years agoMoved index into BB to common graph class because its needed by ModuloSchedGraph.
Tanya Lattner [Thu, 28 Aug 2003 15:30:40 +0000 (15:30 +0000)]
Moved index into BB to common graph class because its needed by ModuloSchedGraph.

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

21 years agoFirst version of llvm-ar added to cvs repository.
Tanya Lattner [Thu, 28 Aug 2003 15:22:38 +0000 (15:22 +0000)]
First version of llvm-ar added to cvs repository.

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

21 years agoConvert C comments to C++
Chris Lattner [Thu, 28 Aug 2003 14:43:36 +0000 (14:43 +0000)]
Convert C comments to C++

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

21 years agoNew wrapper around the terminate call.
Chris Lattner [Thu, 28 Aug 2003 14:35:52 +0000 (14:35 +0000)]
New wrapper around the terminate call.

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

21 years agoSquelch warning
Chris Lattner [Thu, 28 Aug 2003 14:35:12 +0000 (14:35 +0000)]
Squelch warning

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

21 years agoBe more typesafe
Chris Lattner [Wed, 27 Aug 2003 23:00:11 +0000 (23:00 +0000)]
Be more typesafe
Call terminate and unexpected where appropriate.
Interface to libstdc++ as appropriate
Initial cut at implementing function exception specifications

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

21 years agoBe more type-safe, add throw specs to all functions
Chris Lattner [Wed, 27 Aug 2003 22:59:15 +0000 (22:59 +0000)]
Be more type-safe, add throw specs to all functions

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

21 years agoAdd throw specs to the functions, remove (void) from the functions
Chris Lattner [Wed, 27 Aug 2003 22:58:51 +0000 (22:58 +0000)]
Add throw specs to the functions, remove (void) from the functions

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

21 years agoHack out libexception temporarily until the Sparc FE is improved
Chris Lattner [Wed, 27 Aug 2003 22:18:23 +0000 (22:18 +0000)]
Hack out libexception  temporarily until the Sparc FE is improved

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

21 years agoMove the testcase elsewhere
Chris Lattner [Wed, 27 Aug 2003 19:06:04 +0000 (19:06 +0000)]
Move the testcase elsewhere

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

21 years agoRefactor code slightly. Make code compiled with llvmgcc use the warning options
Chris Lattner [Wed, 27 Aug 2003 18:26:44 +0000 (18:26 +0000)]
Refactor code slightly.  Make code compiled with llvmgcc use the warning options
as well.  Compile with -fshort-enums whether in debug or release mode, because it breaks the ABI

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

21 years agoSpell `incompatible' correctly.
Misha Brukman [Wed, 27 Aug 2003 18:26:28 +0000 (18:26 +0000)]
Spell `incompatible' correctly.

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

21 years agoNew testcase. Unfortunately, native GCC gets this wrong. Someday we will have to...
Chris Lattner [Wed, 27 Aug 2003 18:19:53 +0000 (18:19 +0000)]
New testcase.  Unfortunately, native GCC gets this wrong.  Someday we will have to figure out how to deal with this.

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

21 years ago*** empty log message ***
Tanya Lattner [Wed, 27 Aug 2003 15:52:23 +0000 (15:52 +0000)]
*** empty log message ***

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

21 years agoAdded/removed header file
Tanya Lattner [Wed, 27 Aug 2003 15:12:24 +0000 (15:12 +0000)]
Added/removed header file

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

21 years agoAdded an option to TableGen that allows users to specify a directory in which
John Criswell [Wed, 27 Aug 2003 13:41:57 +0000 (13:41 +0000)]
Added an option to TableGen that allows users to specify a directory in which
to find include files.  TableGen will load include files from this directory if
it cannot find them in the current directory.
This feature was needed for building code inside the object tree (a la autoconf
style).
TODO: Allow for multiple -I options to specify a list of directories to search.

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

21 years agoNew testcases, which WORK with LLVMG++ and the CBE.
Chris Lattner [Wed, 27 Aug 2003 04:57:33 +0000 (04:57 +0000)]
New testcases, which WORK with LLVMG++ and the CBE.

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

21 years agoFix several _killer_ bugs. This now actually WORKS for really complex testcases :)
Chris Lattner [Wed, 27 Aug 2003 04:51:26 +0000 (04:51 +0000)]
Fix several _killer_ bugs.  This now actually WORKS for really complex testcases :)

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

21 years agoC++ify, add new get_cxx_exception function to convert from generic llvm_exceptions...
Chris Lattner [Wed, 27 Aug 2003 04:50:45 +0000 (04:50 +0000)]
C++ify, add new get_cxx_exception function to convert from generic llvm_exceptions to llvm_cxx_exception's

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

21 years agoRemove Cisms. We love C++
Chris Lattner [Wed, 27 Aug 2003 04:50:12 +0000 (04:50 +0000)]
Remove Cisms.  We love C++

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

21 years agoCleaned up the code (spacing, not needed headers) and changed ostream function. Also...
Tanya Lattner [Wed, 27 Aug 2003 02:45:08 +0000 (02:45 +0000)]
Cleaned up the code (spacing, not needed headers) and changed ostream function. Also made some functions inline.

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

21 years ago*** empty log message ***
Tanya Lattner [Wed, 27 Aug 2003 02:42:58 +0000 (02:42 +0000)]
*** empty log message ***

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

21 years agoFix bug: SCCP/2003-08-26-InvokeHandling.ll
Chris Lattner [Wed, 27 Aug 2003 01:08:35 +0000 (01:08 +0000)]
Fix bug: SCCP/2003-08-26-InvokeHandling.ll

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

21 years agoNew testcase
Chris Lattner [Wed, 27 Aug 2003 01:05:19 +0000 (01:05 +0000)]
New testcase

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

21 years agoAdd new __llvm_cxxeh_begin_catch_if_isa function, change C -> C++ comments
Chris Lattner [Tue, 26 Aug 2003 23:46:53 +0000 (23:46 +0000)]
Add new __llvm_cxxeh_begin_catch_if_isa function, change C -> C++ comments

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