Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
7596bcf726ab348d1e621873d6f79255d34e8ad5
/
llvm
/
lib
/
CodeGen
/
MachineBlockPlacement.cpp
ec10587
Revert r244154 which causes some build failure. See https://llvm.org/bugs/show_bug.cgi?id=24377.
by Cong Hou
· 10 years ago
36e7e52
Record whether the weights on out-edges from a MBB are normalized.
by Cong Hou
· 10 years ago
924879a
wrap OptSize and MinSize attributes for easier and consistent access (NFCI)
by Sanjay Patel
· 10 years ago
0881fc1
Test commit.
by Cong Hou
· 10 years ago
f00654e
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
by Alexander Kornienko
· 10 years ago
70bc5f1
Fixed/added namespace ending comments using clang-tidy. NFC
by Alexander Kornienko
· 10 years ago
26d3017
[MBP] Spell the conditions the same way through out this if statement. NFC.
by Chandler Carruth
· 11 years ago
cfb2b9d
[MBP] Sink a comment into the if block to which it pertains. This makes
by Chandler Carruth
· 11 years ago
9a512a4
[MBP] Fix a really misleading typo in a comment.
by Chandler Carruth
· 11 years ago
799003b
Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used.
by Benjamin Kramer
· 11 years ago
214997c
[MBP] Don't outline short optional branches
by Daniel Jasper
· 11 years ago
7a715da
[MBP] Use range based for-loops throughout this code. Several had
by Chandler Carruth
· 11 years ago
2fc3fe1
[MBP] NFC, run clang-format over this code and tweak things to make the
by Chandler Carruth
· 11 years ago
d0dced5
[MBP] This is no longer 'block-placement2'. ;] The old variants are long
by Chandler Carruth
· 11 years ago
af7e99f
[MBP] Revert r231238 which attempted to fix a nasty bug where MBP is
by Chandler Carruth
· 11 years ago
9a53fbe
[MBP] Fix a really horrible bug in MachineBlockPlacement, but behind
by Chandler Carruth
· 11 years ago
471e856
Add a flag to experiment with outlining optional branches.
by Daniel Jasper
· 11 years ago
ed9eb72
NFC: Use range-based for loops and more consistent naming.
by Daniel Jasper
· 11 years ago
4d7b043
Remove experimental options to control machine block placement.
by Daniel Jasper
· 11 years ago
70eb9c5
CodeGen: Canonicalize access to function attributes, NFC
by Duncan P. N. Exon Smith
· 11 years ago
e328814
[MBP] Add flags to disable the BadCFGConflict check in MachineBlockPlacement.
by Chandler Carruth
· 11 years ago
5772566
[PowerPC/BlockPlacement] Allow target to provide a per-loop alignment preference
by Hal Finkel
· 11 years ago
70573dc
Update SetVector to rely on the underlying set's insert to return a pair<iterator, bool>
by David Blaikie
· 11 years ago
fc6de42
Have MachineFunction cache a pointer to the subtarget to make lookups
by Eric Christopher
· 11 years ago
d913448
Remove the TargetMachine forwards for TargetSubtargetInfo based
by Eric Christopher
· 11 years ago
e69170a
Revert "Introduce a string_ostream string builder facilty"
by Alp Toker
· 11 years ago
6147173
Introduce a string_ostream string builder facilty
by Alp Toker
· 11 years ago
1b9dde0
[Modules] Remove potential ODR violations by sinking the DEBUG_TYPE
by Chandler Carruth
· 12 years ago
c0196b1
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
by Craig Topper
· 12 years ago
7c99ec5
Disable each MachineFunctionPass for 'optnone' functions, unless that
by Paul Robinson
· 12 years ago
4584cd5
[C++11] Add 'override' keyword to virtual methods that override their base class.
by Craig Topper
· 12 years ago
b6d0bd4
[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.
by Benjamin Kramer
· 12 years ago
3a377bc
Now that we have C++11, turn simple functors into lambdas and remove a ton of boilerplate.
by Benjamin Kramer
· 12 years ago
7408c70
Add a LLVM_DUMP_METHOD macro.
by Nico Weber
· 12 years ago
b78dec8
[block-freq] Update MachineBlockPlacement and RegAllocGreedy to use the new MachineBlockFrequencyInfo methods.
by Michael Gottesman
· 12 years ago
0f5f015
Fix gcc warnings.
by Matt Arsenault
· 12 years ago
79d55f5
Revert part of GCC warning fix to fix debug build.
by Matt Arsenault
· 12 years ago
c44a3ff
Fix minor GCC warnings.
by Matt Arsenault
· 12 years ago
260258b
Output a bit more information in the debug printing for MBP. This was
by Chandler Carruth
· 12 years ago
c8160d6
MachineBlockPlacement: Strengthen the source order bias when picking an exit block.
by Benjamin Kramer
· 12 years ago
8b8fd21
Fix a defect in code-layout pass, improving Benchmarks/Olden/em3d/em3d by about 30%
by Shuxin Yang
· 12 years ago
c0adc9f
Don't disable block layout when forcing block alignment.
by Nadav Rotem
· 13 years ago
c3b0f50
Add a flag to align all basic blocks in the function.
by Nadav Rotem
· 13 years ago
6036f58
Fix a typo
by Nadav Rotem
· 13 years ago
56b31bd
Split TargetLowering into a CodeGen and a SelectionDAG part.
by Benjamin Kramer
· 13 years ago
698e84f
Remove the Function::getFnAttributes method in favor of using the AttributeSet
by Bill Wendling
· 13 years ago
3d7b0b8
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
by Bill Wendling
· 13 years ago
ed0881b
Use the new script to sort the includes of every file under lib.
by Chandler Carruth
· 13 years ago
c9b22d7
Create enums for the different attributes.
by Bill Wendling
· 13 years ago
863bab6
Remove the `hasFnAttr' method from Function.
by Bill Wendling
· 13 years ago
291d47e
Remove silly dead store. Patch by Ettl Martin.
by Duncan Sands
· 13 years ago
881d0a7
Add a much more conservative strategy for aligning branch targets.
by Chandler Carruth
· 13 years ago
2b6a0df
Reverse order of the two branches at end of a basic block if it is profitable.
by Manman Ren
· 13 years ago
9139f44
Update a bunch of stale comments that dated from when this folled the
by Chandler Carruth
· 13 years ago
bde9176
Fix typos found by http://github.com/lyda/misspell-check
by Benjamin Kramer
· 13 years ago
8c0b41d
Add a somewhat hacky heuristic to do something different from whole-loop
by Chandler Carruth
· 14 years ago
8c74c7b
Tweak the loop rotation logic to check whether the loop is naturally
by Chandler Carruth
· 14 years ago
ccc7e42
Rewrite how machine block placement handles loop rotation.
by Chandler Carruth
· 14 years ago
6806261
Make a somewhat subtle change in the logic of block placement. Sometimes
by Chandler Carruth
· 14 years ago
bed1abf
Remove an over zealous assert. The assert was trying to catch places
by Chandler Carruth
· 14 years ago
4915890
Add a debug-only 'dump' method to the BlockChain structure to ease debugging.
by Chandler Carruth
· 14 years ago
1fa5bcb
Codegen pass definition cleanup. No functionality.
by Andrew Trick
· 14 years ago
9061616
Revert patch from 147090. There is not point to make code less readable if we
by Jakub Staszak
· 14 years ago
df51334
- Change a few operator[] to lookup which is cheaper. - Add some constantness.
by Jakub Staszak
· 14 years ago
190c712
Remove unneeded semicolon. Skip two looking up at BlockChain.
by Jakub Staszak
· 14 years ago
c007ab8
Remove unneeded type.
by Jakub Staszak
· 14 years ago
d4d2b05
- Remove unneeded #includes.
by Jakub Staszak
· 14 years ago
4f56720
Prevent rotating the blocks of a loop (and thus getting a backedge to be
by Chandler Carruth
· 14 years ago
03adbd4
Take two on rotating the block ordering of loops. My previous attempt
by Chandler Carruth
· 14 years ago
9e46684
Fix an impressive type-o / spell-o Duncan noticed.
by Chandler Carruth
· 14 years ago
a054580
Rework a bit of the implementation of loop block rotation to not rely so
by Chandler Carruth
· 14 years ago
9ffb97e
Introduce a loop block rotation optimization to the new block placement
by Chandler Carruth
· 14 years ago
7adee1a
Fix a silly use-after-free issue. A much earlier version of this code
by Chandler Carruth
· 14 years ago
d394baf
When adding blocks to the list of those which no longer have any CFG
by Chandler Carruth
· 14 years ago
99fe42f
Relax an invariant that block placement was trying to assert a bit
by Chandler Carruth
· 14 years ago
4a87aa0
Fix a crash in block placement due to an inner loop that happened to be
by Chandler Carruth
· 14 years ago
18dfac3
The logic for breaking the CFG in the presence of hot successors didn't
by Chandler Carruth
· 14 years ago
f3dc9ef
Move the handling of unanalyzable branches out of the loop-driven chain
by Chandler Carruth
· 14 years ago
9b548a7f
Rather than trying to use the loop block sequence *or* the function
by Chandler Carruth
· 14 years ago
fd9b4d9
It helps to deallocate memory as well as allocate it. =] This actually
by Chandler Carruth
· 14 years ago
0a31d14
Remove an over-eager assert that was firing on one of the ARM regression
by Chandler Carruth
· 14 years ago
0af6a0b
Begin chipping away at one of the biggest quadratic-ish behaviors in
by Chandler Carruth
· 14 years ago
84cd44c
Under the hood, MBPI is doing a linear scan of every successor every
by Chandler Carruth
· 14 years ago
1071cfa
Teach machine block placement to cope with unnatural loops. These don't
by Chandler Carruth
· 14 years ago
c4a2cb3
Cleanup some 80-columns violations and poor formatting. These snuck by
by Chandler Carruth
· 14 years ago
8e1d906
Enhance the assertion mechanisms in place to make it easier to catch
by Chandler Carruth
· 14 years ago
0bb42c0
Teach MBP to force-merge layout successors for blocks with unanalyzable
by Chandler Carruth
· 14 years ago
f9213fe
Hoist another gross nested loop into a helper method.
by Chandler Carruth
· 14 years ago
eb4ec3a
Add a missing doxygen comment for a helper method.
by Chandler Carruth
· 14 years ago
b336172
Hoist a nested loop into its own method.
by Chandler Carruth
· 14 years ago
8d15078
Rewrite #3 of machine block placement. This is based somewhat on the
by Chandler Carruth
· 14 years ago
ae4e800
Begin collecting some of the statistics for block placement discussed on
by Chandler Carruth
· 14 years ago
30b63c6
Sink an otherwise unused variable's initializer into the asserts that
by Chandler Carruth
· 14 years ago
fd7475e
Now that we have comparison on probabilities, add some static functions
by Chandler Carruth
· 14 years ago
446210b
Remove a commented out line of code that snuck by my auditing.
by Chandler Carruth
· 14 years ago
bd1be4d
Completely re-write the algorithm behind MachineBlockPlacement based on
by Chandler Carruth
· 14 years ago
8b9737c
Add loop aligning to MachineBlockPlacement based on review discussion so
by Chandler Carruth
· 14 years ago
1028142
Implement a block placement pass based on the branch probability and
by Chandler Carruth
· 14 years ago