Chris Lattner
59db72924e
New testcase
...
llvm-svn: 8275
2003-08-31 21:05:39 +00:00
Chris Lattner
0620f3d2fa
Replace M with F when refering to functions
...
llvm-svn: 8274
2003-08-31 20:36:52 +00:00
Chris Lattner
f72da72785
Rename TarjanSCCIterator -> scc_iterator
...
* Increases consistency with other iterators (e.g. df_iterator, po_iterator...)
* It's shorter
* We don't name classes by the implementation, we name it for the interface!
llvm-svn: 8273
2003-08-31 20:01:57 +00:00
Chris Lattner
076533d11b
ELIMINATE the SCC class completely. One less thing deriving from std::vector
...
llvm-svn: 8272
2003-08-31 19:55:31 +00:00
Chris Lattner
b16810e6ee
Don't explicitly use the SCC class
...
llvm-svn: 8271
2003-08-31 19:55:06 +00:00
Chris Lattner
1b262a5395
Remove dead var
...
llvm-svn: 8270
2003-08-31 19:54:57 +00:00
Chris Lattner
acd5eb1663
The SCC::HasLoop method is now in the main iterator
...
llvm-svn: 8269
2003-08-31 19:51:38 +00:00
Chris Lattner
44378dc381
Move the HasLoop method from the SCC class to the iterator class
...
llvm-svn: 8268
2003-08-31 19:51:22 +00:00
Chris Lattner
05498bc768
Remove explicit passing of SCC's around as objects.
...
llvm-svn: 8267
2003-08-31 19:46:48 +00:00
Chris Lattner
d96c9204b6
This should use Support/iterator, not <iterator>
...
llvm-svn: 8266
2003-08-31 19:46:22 +00:00
Chris Lattner
0295b0692d
Cleanups, move the getAnalysisUsage method to the .cpp file
...
llvm-svn: 8265
2003-08-31 19:41:17 +00:00
Chris Lattner
8314d710a6
Move the getAnalysisUsage method from the header file
...
llvm-svn: 8264
2003-08-31 19:40:57 +00:00
Chris Lattner
dbde8ba630
Fix an FLAT OUT WRONG comment
...
llvm-svn: 8263
2003-08-31 19:37:29 +00:00
Chris Lattner
87aba3e3d5
The tarjan iterator now returns a reference to the current SCC, not a possibly null pointer!
...
llvm-svn: 8262
2003-08-31 19:35:16 +00:00
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