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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 years agoSchedGraphCommon header file. Contains class definition for SchedGraphCommon which...
Tanya Lattner [Mon, 25 Aug 2003 23:12:23 +0000 (23:12 +0000)]
SchedGraphCommon header file. Contains class definition for SchedGraphCommon which is used by SchedGraph and ModuloSchedGraph (coming soon).

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

20 years agoFirst version of SchedGraph common class and refactoring of SchedGraph.
Tanya Lattner [Mon, 25 Aug 2003 22:42:20 +0000 (22:42 +0000)]
First version of SchedGraph common class and refactoring of SchedGraph.

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

20 years agoRemove copy-and-paste gunk
Chris Lattner [Mon, 25 Aug 2003 22:37:04 +0000 (22:37 +0000)]
Remove copy-and-paste gunk

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

20 years agoInitial checking of C++ exception handling library
Chris Lattner [Mon, 25 Aug 2003 22:35:36 +0000 (22:35 +0000)]
Initial checking of C++ exception handling library

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

20 years agoAs it turns out, things will be simpler than I first expected. We no longer
Chris Lattner [Mon, 25 Aug 2003 22:35:01 +0000 (22:35 +0000)]
As it turns out, things will be simpler than I first expected.  We no longer
need any exception handling intrinsics beyond llvm.unwind. (yaay)

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

20 years agoRemove special casing
Chris Lattner [Mon, 25 Aug 2003 22:34:15 +0000 (22:34 +0000)]
Remove special casing

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

20 years agoFix spelling error in comment.
Brian Gaeke [Mon, 25 Aug 2003 17:29:40 +0000 (17:29 +0000)]
Fix spelling error in comment.

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

20 years agoAdded autoconf code that verifies that the C compiler is at the minimum
John Criswell [Mon, 25 Aug 2003 16:51:44 +0000 (16:51 +0000)]
Added autoconf code that verifies that the C compiler is at the minimum
supported version (3.x).

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

20 years agoAdded code to check for python and qmtest.
John Criswell [Mon, 25 Aug 2003 16:49:54 +0000 (16:49 +0000)]
Added code to check for python and qmtest.
Added code that verifies that GCC is version 3.0 or higher.

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

20 years agoMangle ALL letters that we do not allow, not just a few.
Chris Lattner [Sun, 24 Aug 2003 21:08:38 +0000 (21:08 +0000)]
Mangle ALL letters that we do not allow, not just a few.

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

20 years agoSimplify code
Chris Lattner [Sun, 24 Aug 2003 21:00:22 +0000 (21:00 +0000)]
Simplify code

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

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 20:23:21 +0000 (20:23 +0000)]
New testcase

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

20 years agoAdd output
Chris Lattner [Sun, 24 Aug 2003 20:19:49 +0000 (20:19 +0000)]
Add output

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

20 years agoConsult the target data, not the module, about how large the current pointer
Chris Lattner [Sun, 24 Aug 2003 19:55:26 +0000 (19:55 +0000)]
Consult the target data, not the module, about how large the current pointer
size is.  This ensures that if the module has no specified pointer size that
things will work correctly.

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

20 years agoRemove some long-dead code
Chris Lattner [Sun, 24 Aug 2003 19:52:02 +0000 (19:52 +0000)]
Remove some long-dead code

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

20 years agoTargets now configure themselves based on the source module, not on the
Chris Lattner [Sun, 24 Aug 2003 19:50:53 +0000 (19:50 +0000)]
Targets now configure themselves based on the source module, not on the
ad-hoc "Config" flags

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

20 years agoTargets now configure themselves with the module, not flags
Chris Lattner [Sun, 24 Aug 2003 19:50:12 +0000 (19:50 +0000)]
Targets now configure themselves with the module, not flags

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

20 years agoTargets should configure themselves based on a Module, not some wierd flags
Chris Lattner [Sun, 24 Aug 2003 19:49:48 +0000 (19:49 +0000)]
Targets should configure themselves based on a Module, not some wierd flags

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

20 years agoTargets should configure themselves based on the module, not some wierd flags
Chris Lattner [Sun, 24 Aug 2003 19:49:07 +0000 (19:49 +0000)]
Targets should configure themselves based on the module, not some wierd flags

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

20 years agoFix bug: Linker/2003-08-23-GlobalVarLinking.ll
Chris Lattner [Sun, 24 Aug 2003 19:30:20 +0000 (19:30 +0000)]
Fix bug: Linker/2003-08-23-GlobalVarLinking.ll

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

20 years agoImplement: Linker/2003-08-24-InheritPtrSize.ll
Chris Lattner [Sun, 24 Aug 2003 19:26:42 +0000 (19:26 +0000)]
Implement: Linker/2003-08-24-InheritPtrSize.ll

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

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 19:23:31 +0000 (19:23 +0000)]
New testcase

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

20 years agoImplement: Jello/test-constantexpr.ll
Chris Lattner [Sun, 24 Aug 2003 19:19:47 +0000 (19:19 +0000)]
Implement: Jello/test-constantexpr.ll

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

20 years agoImplement SimplifyCFG/InvokeEliminate.ll
Chris Lattner [Sun, 24 Aug 2003 18:36:16 +0000 (18:36 +0000)]
Implement SimplifyCFG/InvokeEliminate.ll

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

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 17:58:24 +0000 (17:58 +0000)]
New testcase

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

20 years agoFix grammar
Chris Lattner [Sun, 24 Aug 2003 17:30:55 +0000 (17:30 +0000)]
Fix grammar

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

20 years agoAdd preliminary support for "any" pointersize/endianness. This will need
Chris Lattner [Sun, 24 Aug 2003 14:02:47 +0000 (14:02 +0000)]
Add preliminary support for "any" pointersize/endianness.  This will need
to change soon though.

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

20 years agoAdd support for modules with "any" pointersize/endianness
Chris Lattner [Sun, 24 Aug 2003 14:02:14 +0000 (14:02 +0000)]
Add support for modules with "any" pointersize/endianness

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

20 years agoAdd support for 'any' pointer size and endianness
Chris Lattner [Sun, 24 Aug 2003 13:49:22 +0000 (13:49 +0000)]
Add support for 'any' pointer size and endianness

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

20 years agoSupport new 'any' support for pointer size and endianness
Chris Lattner [Sun, 24 Aug 2003 13:48:48 +0000 (13:48 +0000)]
Support new 'any' support for pointer size and endianness

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

20 years agoAllow modules to have 'any' pointer size and endianness. Luckily, we had
Chris Lattner [Sun, 24 Aug 2003 13:47:36 +0000 (13:47 +0000)]
Allow modules to have 'any' pointer size and endianness.  Luckily, we had
some space for extra flags, so we don't need to bump the revision number.

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

20 years agoAllow modules to have 'any' pointer size and endianness.
Chris Lattner [Sun, 24 Aug 2003 13:46:37 +0000 (13:46 +0000)]
Allow modules to have 'any' pointer size and endianness.

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

20 years agoImplement support for the unwind intrinsic in the CBE
Chris Lattner [Sun, 24 Aug 2003 13:06:10 +0000 (13:06 +0000)]
Implement support for the unwind intrinsic in the CBE

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

20 years agoFix grep
Chris Lattner [Sun, 24 Aug 2003 12:53:20 +0000 (12:53 +0000)]
Fix grep

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

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 12:30:51 +0000 (12:30 +0000)]
New testcase

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

20 years agoNew testcase directory
Chris Lattner [Sun, 24 Aug 2003 12:27:53 +0000 (12:27 +0000)]
New testcase directory

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

20 years agorethrow is really the language independent primitive here. "throw" can be written
Chris Lattner [Sun, 24 Aug 2003 12:24:11 +0000 (12:24 +0000)]
rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.
Rework the intrinsics.

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

20 years agorethrow is really the language independent primitive here. "throw" can be written
Chris Lattner [Sun, 24 Aug 2003 12:24:08 +0000 (12:24 +0000)]
rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework the intrinsics.

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

20 years agorethrow is really the language independent primitive here. "throw" can be written
Chris Lattner [Sun, 24 Aug 2003 12:24:03 +0000 (12:24 +0000)]
rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework these intrinsics.

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

20 years agoFix typeos and add descriptions
Chris Lattner [Sun, 24 Aug 2003 12:16:58 +0000 (12:16 +0000)]
Fix typeos and add descriptions

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

20 years agoInline invoke instructions as well as call instructions
Chris Lattner [Sun, 24 Aug 2003 06:59:28 +0000 (06:59 +0000)]
Inline invoke instructions as well as call instructions

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

20 years ago*** Implement inlining of Invoke instructions!
Chris Lattner [Sun, 24 Aug 2003 06:59:16 +0000 (06:59 +0000)]
*** Implement inlining of Invoke instructions!

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

20 years agoAdd versions of InlineFunction which work on Invoke instructions and general call...
Chris Lattner [Sun, 24 Aug 2003 06:58:32 +0000 (06:58 +0000)]
Add versions of InlineFunction which work on Invoke instructions and general call sites

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

20 years agoFix copy-and-paste-o
Chris Lattner [Sun, 24 Aug 2003 06:57:53 +0000 (06:57 +0000)]
Fix copy-and-paste-o

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

20 years agoNew testcases for inlining invoke instructions
Chris Lattner [Sun, 24 Aug 2003 06:55:07 +0000 (06:55 +0000)]
New testcases for inlining invoke instructions

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

20 years agoInitial support for recognizing LLVM exception handling intrinsics
Chris Lattner [Sun, 24 Aug 2003 05:30:29 +0000 (05:30 +0000)]
Initial support for recognizing LLVM exception handling intrinsics

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

20 years agoBig diff for a small change: delete inlined functions if all callees have
Chris Lattner [Sun, 24 Aug 2003 05:03:14 +0000 (05:03 +0000)]
Big diff for a small change: delete inlined functions if all callees have
inlined the function.
Implements: Inline/inline_dce.ll

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

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 05:02:26 +0000 (05:02 +0000)]
New testcase

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

20 years agoImplement: Inline/cfg_preserve_test.ll
Chris Lattner [Sun, 24 Aug 2003 04:06:56 +0000 (04:06 +0000)]
Implement: Inline/cfg_preserve_test.ll

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

20 years agonew testcase
Chris Lattner [Sun, 24 Aug 2003 04:06:04 +0000 (04:06 +0000)]
new testcase

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

20 years agoAllow specifying the name for the newly split basic block
Chris Lattner [Sun, 24 Aug 2003 03:41:39 +0000 (03:41 +0000)]
Allow specifying the name for the newly split basic block

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

20 years agoNew testcase, distilled from 176.gcc
Chris Lattner [Sun, 24 Aug 2003 00:21:50 +0000 (00:21 +0000)]
New testcase, distilled from 176.gcc

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

20 years agoFix bug: Jello/2003-08-23-RegisterAllocatePhysReg.ll
Chris Lattner [Sat, 23 Aug 2003 23:49:42 +0000 (23:49 +0000)]
Fix bug: Jello/2003-08-23-RegisterAllocatePhysReg.ll

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

20 years agonew testcase distilled from 176.gcc
Chris Lattner [Sat, 23 Aug 2003 23:38:59 +0000 (23:38 +0000)]
new testcase distilled from 176.gcc

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

20 years agoImplement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5
Chris Lattner [Sat, 23 Aug 2003 23:18:19 +0000 (23:18 +0000)]
Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5

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

20 years agoAdd a new switch folding testcase
Chris Lattner [Sat, 23 Aug 2003 23:17:59 +0000 (23:17 +0000)]
Add a new switch folding testcase

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

20 years agoAdd new label
Chris Lattner [Sat, 23 Aug 2003 23:16:37 +0000 (23:16 +0000)]
Add new label

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

20 years agoAdd period
Chris Lattner [Sat, 23 Aug 2003 23:15:10 +0000 (23:15 +0000)]
Add period

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

20 years agoRename SwitchInst::dest_push_back -> addCase
Chris Lattner [Sat, 23 Aug 2003 23:14:52 +0000 (23:14 +0000)]
Rename SwitchInst::dest_push_back -> addCase

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

20 years agoRename SwitchInst::dest_push_back -> addCase
Chris Lattner [Sat, 23 Aug 2003 23:14:37 +0000 (23:14 +0000)]
Rename SwitchInst::dest_push_back -> addCase
Add new removeCase method

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