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

8070 Commits

Author SHA1 Message Date
Chris Lattner
a8dc1ecf58 * Cleanups
* operator* now returns a reference to the current SCC, instead of a possibly
  null pointer

llvm-svn: 8261
2003-08-31 19:34:27 +00:00
Chris Lattner
9e2279bd9d Minor cleanups
Iterate from tarj_begin -> tarj_end, not from tarj_begin -> NULL

llvm-svn: 8260
2003-08-31 19:29:52 +00:00
Chris Lattner
e4682822fb Indent classes correctly in the namespace
move bodies out-of-line
Add getAnalysisUsage method for SFGSCC

llvm-svn: 8259
2003-08-31 19:27:11 +00:00
Chris Lattner
f8dfcdadf3 * Cleanups
* Iterate from tarj_begin -> tarj_end, not from tarj_begin -> NULL

llvm-svn: 8258
2003-08-31 19:23:41 +00:00
Chris Lattner
a37b6a09d3 Heavily refactor code:
* Separate the policy decisions into a derived class [InlineSimple]
  * Move the inlining mechanics into a base class [Inliner]
  * Change the inliner to be an SCCPass, making it more structured and
    eventually pipelinable with other SCC passes

llvm-svn: 8257
2003-08-31 19:10:30 +00:00
Chris Lattner
7dac86e5f5 Add accessor function for the PruneEH pass
llvm-svn: 8254
2003-08-31 16:30:25 +00:00
Chris Lattner
212039c1c8 Add accessor function
llvm-svn: 8253
2003-08-31 16:30:07 +00:00
Chris Lattner
488e273422 New testcase for annoying structure layout stuff!
llvm-svn: 8252
2003-08-31 06:53:05 +00:00
Chris Lattner
7407775435 Minor simplification
llvm-svn: 8251
2003-08-31 02:50:07 +00:00
Chris Lattner
d024e5ea75 Initial checkin of the -prune-eh pass, a very simple exception handling removal pass
llvm-svn: 8250
2003-08-31 02:47:32 +00:00
Chris Lattner
dde725a332 new tests
llvm-svn: 8249
2003-08-31 02:38:46 +00:00
Chris Lattner
3524915b94 Add tests for the pruneeh pass
llvm-svn: 8248
2003-08-31 02:36:10 +00:00
Chris Lattner
0fd60ef271 Initial checkin of the CallGraphSCCPass class
llvm-svn: 8247
2003-08-31 01:54:59 +00:00
Chris Lattner
7250c86571 Remove usage of unsigned long: unsigned should be enough!
Remove explicit use of a stack<>, use a vector instead

llvm-svn: 8246
2003-08-31 01:48:21 +00:00
Chris Lattner
31b633bf65 This file uses cerr without including <iostream>. Since it's just for debugging, comment it out
llvm-svn: 8245
2003-08-31 01:45:00 +00:00
Chris Lattner
b860fafea2 s/Meth/F
llvm-svn: 8244
2003-08-31 01:38:00 +00:00
Chris Lattner
09777aa277 ScalarRepl does not modify the CFG. Say so!
llvm-svn: 8243
2003-08-31 00:45:13 +00:00
Chris Lattner
663f967b7b Use new interface, simplifies code
llvm-svn: 8242
2003-08-31 00:22:27 +00:00
Chris Lattner
8378e59323 Use the new interface, simplifies code
NOTE that these two files are _BUGGY_ and need to be fixed, just not by me  :)

llvm-svn: 8241
2003-08-31 00:21:59 +00:00
Chris Lattner
fa80983a82 Use the new interface, simplifies code
Delete a bunch of commented out code

llvm-svn: 8240
2003-08-31 00:21:05 +00:00
Chris Lattner
ad1253a44f Use the new interface, simplifies code
llvm-svn: 8239
2003-08-31 00:20:36 +00:00
Chris Lattner
d7b6cc98db Implement new method
llvm-svn: 8238
2003-08-31 00:19:28 +00:00
Chris Lattner
84474d02d0 Add new helper function which makes it even easier to do this sort of thing
llvm-svn: 8237
2003-08-31 00:19:18 +00:00
Chris Lattner
114046d270 Urg, forgot to add a file header somehow.
Add missing function comments

llvm-svn: 8236
2003-08-30 23:31:08 +00:00
Chris Lattner
be8e6ccec2 initial checkin of SJLJ exception handling runtime
llvm-svn: 8235
2003-08-30 23:29:22 +00:00
Chris Lattner
b1af6c0f6e Rename LongJmpException -> SJLJException
llvm-svn: 8234
2003-08-30 23:29:08 +00:00
Chris Lattner
3779c373ca we don't need this here
llvm-svn: 8233
2003-08-30 23:18:07 +00:00
Chris Lattner
7ad1509544 Move language independent exception handling routines OUT of C++Exception.cpp
llvm-svn: 8232
2003-08-30 23:17:51 +00:00
Chris Lattner
b8e5e8d0cb File was renamed
llvm-svn: 8231
2003-08-30 22:48:16 +00:00
Chris Lattner
31c73f0155 Rename files to be capitalized now that they are C++
llvm-svn: 8230
2003-08-30 22:47:59 +00:00
Chris Lattner
53dc86cf3f Initial checkin of the SJLJ EH interface
llvm-svn: 8229
2003-08-30 22:36:52 +00:00
Chris Lattner
71637785d6 New testcase *sigh*
llvm-svn: 8228
2003-08-30 21:00:36 +00:00
Chris Lattner
1be1c179fc New, HARD, bitfield testcase
llvm-svn: 8227
2003-08-30 20:57:49 +00:00
Chris Lattner
fbbf4db004 Yet another bit-field bug
llvm-svn: 8226
2003-08-29 22:46:34 +00:00
Chris Lattner
be7a6d2c43 minor simplification
llvm-svn: 8225
2003-08-29 21:57:18 +00:00
Misha Brukman
869f25ff98 Test case distilled from sed.
llvm-svn: 8224
2003-08-29 21:49:51 +00:00
Misha Brukman
49f833dd83 Testcase distilled from xemacs.
llvm-svn: 8223
2003-08-29 21:28:47 +00:00
Misha Brukman
3a2120f3c3 Added a dummy version of libcurses.
llvm-svn: 8222
2003-08-29 18:13:52 +00:00
Misha Brukman
2149ea7e72 Added dummy termcap library.
llvm-svn: 8221
2003-08-29 18:09:46 +00:00
Chris Lattner
3d0e4a99ec New testcase
llvm-svn: 8218
2003-08-29 16:00:19 +00:00
Misha Brukman
0ebfe99b0c Use llvm-dis' instead of simply dis'.
llvm-svn: 8217
2003-08-29 15:26:31 +00:00
Chris Lattner
3521199bc1 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
llvm-svn: 8216
2003-08-29 14:48:21 +00:00
John Criswell
9047331cc7 "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.

llvm-svn: 8215
2003-08-29 14:46:12 +00:00
Chris Lattner
6f0cabcb53 There is no reason for this to be a pass!
llvm-svn: 8214
2003-08-29 14:43:17 +00:00
Chris Lattner
5ec6f80964 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.

llvm-svn: 8213
2003-08-29 14:26:51 +00:00
Chris Lattner
926a2197ec Fix compilation problems with G++ 3.4
llvm-svn: 8212
2003-08-29 14:22:29 +00:00
Chris Lattner
32a2f9698f Slightly simplify make logic
llvm-svn: 8211
2003-08-29 14:07:02 +00:00
Chris Lattner
b60bfd904c 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

llvm-svn: 8210
2003-08-29 05:37:22 +00:00
Chris Lattner
286e92a9ef Implement "unsafe" replaceAllUsesWWith stuff for use during type resolution.
llvm-svn: 8209
2003-08-29 05:36:46 +00:00
Chris Lattner
51f4550b50 Allow for "unsafe" replaceAllUsesWith operatations, for use during type resolution
llvm-svn: 8208
2003-08-29 05:36:05 +00:00