Bill Wendling
|
034b94b170
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
|
12 years ago |
Chandler Carruth
|
d04a8d4b33
Use the new script to sort the includes of every file under lib.
|
12 years ago |
Bill Wendling
|
6765834754
Create enums for the different attributes.
|
13 years ago |
Bill Wendling
|
2c18906118
Remove the `hasFnAttr' method from Function.
|
13 years ago |
Duncan Sands
|
74b4762234
Remove silly dead store. Patch by Ettl Martin.
|
13 years ago |
Chandler Carruth
|
e6450dc2af
Add a much more conservative strategy for aligning branch targets.
|
13 years ago |
Manman Ren
|
1123614317
Reverse order of the two branches at end of a basic block if it is profitable.
|
13 years ago |
Chandler Carruth
|
c04f816afd
Update a bunch of stale comments that dated from when this folled the
|
13 years ago |
Benjamin Kramer
|
d9b0b02561
Fix typos found by http://github.com/lyda/misspell-check
|
13 years ago |
Chandler Carruth
|
e773e8c3e5
Add a somewhat hacky heuristic to do something different from whole-loop
|
13 years ago |
Chandler Carruth
|
16295fc20b
Tweak the loop rotation logic to check whether the loop is naturally
|
13 years ago |
Chandler Carruth
|
70daea90af
Rewrite how machine block placement handles loop rotation.
|
13 years ago |
Chandler Carruth
|
45fb79bc54
Make a somewhat subtle change in the logic of block placement. Sometimes
|
13 years ago |
Chandler Carruth
|
5e93a76722
Remove an over zealous assert. The assert was trying to catch places
|
13 years ago |
Chandler Carruth
|
6313d941d2
Add a debug-only 'dump' method to the BlockChain structure to ease
|
13 years ago |
Andrew Trick
|
1dd8c8560d
Codegen pass definition cleanup. No functionality.
|
13 years ago |
Jakub Staszak
|
d4895ded27
Revert patch from 147090. There is not point to make code less readable if we
|
13 years ago |
Jakub Staszak
|
73db975498
- Change a few operator[] to lookup which is cheaper.
|
13 years ago |
Jakub Staszak
|
feb468ab24
Remove unneeded semicolon.
|
13 years ago |
Jakub Staszak
|
c9040b3b13
Remove unneeded type.
|
13 years ago |
Jakub Staszak
|
e6d81ad6a5
- Remove unneeded #includes.
|
13 years ago |
Chandler Carruth
|
51901d85f7
Prevent rotating the blocks of a loop (and thus getting a backedge to be
|
13 years ago |
Chandler Carruth
|
fac1305da1
Take two on rotating the block ordering of loops. My previous attempt
|
13 years ago |
Chandler Carruth
|
7096692fd9
Fix an impressive type-o / spell-o Duncan noticed.
|
13 years ago |
Chandler Carruth
|
2eb5a744b1
Rework a bit of the implementation of loop block rotation to not rely so
|
13 years ago |
Chandler Carruth
|
2e38cf961d
Introduce a loop block rotation optimization to the new block placement
|
13 years ago |
Chandler Carruth
|
4aae4f9007
Fix a silly use-after-free issue. A much earlier version of this code
|
13 years ago |
Chandler Carruth
|
a2deea1dcf
When adding blocks to the list of those which no longer have any CFG
|
13 years ago |
Chandler Carruth
|
598894ff25
Relax an invariant that block placement was trying to assert a bit
|
13 years ago |
Chandler Carruth
|
47fb954f74
Fix a crash in block placement due to an inner loop that happened to be
|
13 years ago |