1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
Commit Graph

7708 Commits

Author SHA1 Message Date
Misha Brukman
f79868b288 Renaming as' -> llvm-as' and dis' -> llvm-dis'.
llvm-svn: 8195
2003-08-28 22:02:50 +00:00
Misha Brukman
f6221eca2c Near-term fix for renaming as' -> llvm-as' and dis' -> llvm-dis'.
llvm-svn: 8194
2003-08-28 21:46:34 +00:00
Misha Brukman
1aa0f15bd0 Start using llvm-as' instead of as'.
llvm-svn: 8193
2003-08-28 21:45:08 +00:00
Misha Brukman
eed6bdf487 Build llvm-as and llvm-dis as the upgrade path to renamed tools.
llvm-svn: 8192
2003-08-28 21:43:51 +00:00
John Criswell
588d65ae68 Fixed two double free bugs that caused llc to segfault or run forever.
llvm-svn: 8191
2003-08-28 21:43:17 +00:00
John Criswell
65e849241f Added code to avoid checking for .bc when the filename is too short.
llvm-svn: 8190
2003-08-28 21:42:29 +00:00
Misha Brukman
a42a115cb9 Renaming LLVM dis' to llvm-dis'.
llvm-svn: 8189
2003-08-28 21:34:13 +00:00
Misha Brukman
6da6dc6264 Renaming LLVM as' to llvm-as'.
llvm-svn: 8188
2003-08-28 21:32:57 +00:00
Chris Lattner
062cc9d341 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.

llvm-svn: 8187
2003-08-28 21:23:43 +00:00
Chris Lattner
b045389650 Add another testcase I found lying around.
llvm-svn: 8186
2003-08-28 20:33:46 +00:00
Chris Lattner
d105e0d5fd Add test for the last chapter of our C++ exception handling odyssey. llvmg++
now fully supports all C++ exception handling functionality.

llvm-svn: 8185
2003-08-28 20:32:36 +00:00
Chris Lattner
2e81f1ee04 * 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.

llvm-svn: 8184
2003-08-28 19:58:51 +00:00
Chris Lattner
eb133d331c New testcases, all of which work with llvmg++!
This tests exception specifications, and also adds an "easy" rethrow test.

llvm-svn: 8183
2003-08-28 19:57:53 +00:00
Chris Lattner
735129a531 Link to the C++ libraries. This is temporary
llvm-svn: 8182
2003-08-28 19:57:14 +00:00
Chris Lattner
763a88d6bd Fix really nasty bugs in the CWriter, handling invoke instructions. Tracking
these down was NOT phun.

llvm-svn: 8181
2003-08-28 19:56:10 +00:00
Tanya Lattner
7fc76b7377 Removing README
llvm-svn: 8180
2003-08-28 17:17:59 +00:00
Tanya Lattner
f7a56c2596 Putting my revised version of ModuloScheduling in cvs. This is not complete...
llvm-svn: 8179
2003-08-28 17:12:14 +00:00
Chris Lattner
a295c0d706 Fix bug where we considered function types equivalent even if they had differing numbers of arguments
llvm-svn: 8178
2003-08-28 16:42:50 +00:00
Chris Lattner
9e8da6070b Reorder #includes
Make sure that we veryify the result before writing it out!

llvm-svn: 8177
2003-08-28 16:25:34 +00:00
Tanya Lattner
ff06e1a796 Moved index in BB to common graph class.
llvm-svn: 8175
2003-08-28 15:31:28 +00:00
Tanya Lattner
7ce05c067d Moved index into BB to common graph class because its needed by ModuloSchedGraph.
llvm-svn: 8174
2003-08-28 15:30:40 +00:00
Tanya Lattner
0438742d12 First version of llvm-ar added to cvs repository.
llvm-svn: 8173
2003-08-28 15:22:38 +00:00
Chris Lattner
33bd46671e Convert C comments to C++
llvm-svn: 8172
2003-08-28 14:43:36 +00:00
Chris Lattner
60a688a8bb New wrapper around the terminate call.
llvm-svn: 8171
2003-08-28 14:35:52 +00:00
Chris Lattner
f2600ee2da Squelch warning
llvm-svn: 8170
2003-08-28 14:35:12 +00:00
Chris Lattner
0177746b4a Be more typesafe
Call terminate and unexpected where appropriate.
Interface to libstdc++ as appropriate
Initial cut at implementing function exception specifications

llvm-svn: 8169
2003-08-27 23:00:11 +00:00
Chris Lattner
4017f7ccd7 Be more type-safe, add throw specs to all functions
llvm-svn: 8168
2003-08-27 22:59:15 +00:00
Chris Lattner
2e1c6a7abf Add throw specs to the functions, remove (void) from the functions
llvm-svn: 8167
2003-08-27 22:58:51 +00:00
Chris Lattner
9a51349ec0 Hack out libexception temporarily until the Sparc FE is improved
llvm-svn: 8166
2003-08-27 22:18:23 +00:00
Chris Lattner
8b65c87099 Move the testcase elsewhere
llvm-svn: 8165
2003-08-27 19:06:04 +00:00
Chris Lattner
ccf9e52d5f 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

llvm-svn: 8164
2003-08-27 18:26:44 +00:00
Misha Brukman
c2bdd7230c Spell `incompatible' correctly.
llvm-svn: 8163
2003-08-27 18:26:28 +00:00
Chris Lattner
ca65067ff8 New testcase. Unfortunately, native GCC gets this wrong. Someday we will have to figure out how to deal with this.
llvm-svn: 8162
2003-08-27 18:19:53 +00:00
Tanya Lattner
68f651356f *** empty log message ***
llvm-svn: 8161
2003-08-27 15:52:23 +00:00
Tanya Lattner
2c6c16288a Added/removed header file
llvm-svn: 8160
2003-08-27 15:12:24 +00:00
John Criswell
6031a463d3 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.

llvm-svn: 8159
2003-08-27 13:41:57 +00:00
Chris Lattner
acf9c4a442 New testcases, which WORK with LLVMG++ and the CBE.
llvm-svn: 8158
2003-08-27 04:57:33 +00:00
Chris Lattner
acfc68a7ff Fix several _killer_ bugs. This now actually WORKS for really complex testcases :)
llvm-svn: 8157
2003-08-27 04:51:26 +00:00
Chris Lattner
c0e4701fe1 C++ify, add new get_cxx_exception function to convert from generic llvm_exceptions to llvm_cxx_exception's
llvm-svn: 8156
2003-08-27 04:50:45 +00:00
Chris Lattner
a750427a2b Remove Cisms. We love C++
llvm-svn: 8155
2003-08-27 04:50:12 +00:00
Tanya Lattner
93162e16d6 Cleaned up the code (spacing, not needed headers) and changed ostream function. Also made some functions inline.
llvm-svn: 8154
2003-08-27 02:45:08 +00:00
Tanya Lattner
78d4730ae6 *** empty log message ***
llvm-svn: 8153
2003-08-27 02:42:58 +00:00
Chris Lattner
491ea39105 Fix bug: SCCP/2003-08-26-InvokeHandling.ll
llvm-svn: 8152
2003-08-27 01:08:35 +00:00
Chris Lattner
4b7b766053 New testcase
llvm-svn: 8151
2003-08-27 01:05:19 +00:00
Chris Lattner
6ad38aa175 Add new __llvm_cxxeh_begin_catch_if_isa function, change C -> C++ comments
llvm-svn: 8150
2003-08-26 23:46:53 +00:00
Tanya Lattner
9353c099ac SchedGraphCommon header file. Contains class definition for SchedGraphCommon which is used by SchedGraph and ModuloSchedGraph (coming soon).
llvm-svn: 8149
2003-08-25 23:12:23 +00:00
Tanya Lattner
f172cf418d First version of SchedGraph common class and refactoring of SchedGraph.
llvm-svn: 8148
2003-08-25 22:42:20 +00:00
Chris Lattner
51336798c8 Remove copy-and-paste gunk
llvm-svn: 8147
2003-08-25 22:37:04 +00:00
Chris Lattner
c79d3fbabf Initial checking of C++ exception handling library
llvm-svn: 8146
2003-08-25 22:35:36 +00:00
Chris Lattner
e7a3a51c77 As it turns out, things will be simpler than I first expected. We no longer
need any exception handling intrinsics beyond llvm.unwind. (yaay)

llvm-svn: 8145
2003-08-25 22:35:01 +00:00