summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Fix a bunch more layering of CodeGen headers that are in TargetDavid Blaikie2017-11-171-1/+1
| | | | | | | | All these headers already depend on CodeGen headers so moving them into CodeGen fixes the layering (since CodeGen depends on Target, not the other way around). llvm-svn: 318490
* [CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use ↵Eugene Zelenko2017-09-291-19/+24
| | | | | | warnings; other minor fixes (NFC). llvm-svn: 314559
* CodeGen: Use MachineInstr& in AntiDepBreaker API, NFCDuncan P. N. Exon Smith2016-02-271-6/+6
| | | | | | | | Take parameters as MachineInstr& instead of MachineInstr* in AntiDepBreaker API, since these are required to be non-null. No functionality change intended. Looking toward PR26753. llvm-svn: 262145
* [CodeGen] Reduce visibility of implementation detailsBenjamin Kramer2015-07-011-3/+3
| | | | | | NFC. llvm-svn: 241164
* Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko2015-06-231-1/+1
| | | | | | Apparently, the style needs to be agreed upon first. llvm-svn: 240390
* Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko2015-06-191-1/+1
| | | | | | | | | | | | | The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
* Test commit: fix typo in comment.Luqman Aden2015-04-221-2/+2
| | | | llvm-svn: 235526
* Use 'override/final' instead of 'virtual' for overridden methodsAlexander Kornienko2015-04-111-1/+1
| | | | | | | | | | | | | | The patch is generated using clang-tidy misc-use-override check. This command was used: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -checks='-*,misc-use-override' -header-filter='llvm|clang' \ -j=32 -fix -format http://reviews.llvm.org/D8925 llvm-svn: 234679
* mop up: "Don’t duplicate function or class name at the beginning of the ↵Sanjay Patel2014-09-211-34/+27
| | | | | | comment." llvm-svn: 218218
* Canonicalize header guards into a common format.Benjamin Kramer2014-08-131-2/+2
| | | | | | | | | | Add header guards to files that were missing guards. Remove #endif comments as they don't seem common in LLVM (we can easily add them back if we decide they're useful) Changes made by clang-tidy with minor tweaks. llvm-svn: 215558
* [C++11] More 'nullptr' conversion. In some cases just using a boolean check ↵Craig Topper2014-04-161-1/+2
| | | | | | instead of comparing to nullptr. llvm-svn: 206356
* [C++11] Add 'override' keyword to virtual methods that override their base ↵Craig Topper2014-03-071-4/+5
| | | | | | class. llvm-svn: 203220
* Revert "Give internal classes hidden visibility."Benjamin Kramer2013-09-111-3/+2
| | | | | | | It works with clang, but GCC has different rules so we can't make all of those hidden. This reverts commit r190534. llvm-svn: 190536
* Give internal classes hidden visibility.Benjamin Kramer2013-09-111-2/+3
| | | | | | Worth 100k on a linux/x86_64 Release+Asserts clang. llvm-svn: 190534
* Sort includes for all of the .h files under the 'lib' tree. These wereChandler Carruth2012-12-041-3/+3
| | | | | | | | | | missed in the first pass because the script didn't yet handle include guards. Note that the script is now able to handle all of these headers without manual edits. =] llvm-svn: 169224
* Rename TargetSubtarget to TargetSubtargetInfo for consistency.Evan Cheng2011-07-011-3/+3
| | | | llvm-svn: 134259
* Teach antidependency breakers to use RegisterClassInfo.Jakob Stoklund Olesen2011-06-161-7/+6
| | | | | | No functional change was intended. llvm-svn: 133202
* Update DBG_VALUEs while breaking anti dependencies.Devang Patel2011-06-021-1/+2
| | | | llvm-svn: 132487
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.Bill Wendling2010-07-151-4/+4
| | | | llvm-svn: 108440
* Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.Bill Wendling2010-07-151-1/+1
| | | | llvm-svn: 108438
* revert bill's patches in an attempt to fix the buildbot.Chris Lattner2010-07-151-7/+6
| | | | llvm-svn: 108419
* Fix headers.Bill Wendling2010-07-151-1/+0
| | | | llvm-svn: 108413
* Use std::vector instead of a hard-coded array. The length of that array couldBill Wendling2010-07-151-6/+8
| | | | | | get *very* large, but we only need it to be the size of the number of pregs. llvm-svn: 108412
* Make post-ra scheduling, anti-dep breaking, and register scavenger ↵Evan Cheng2010-06-161-0/+1
| | | | | | (conservatively) aware of predicated instructions. This enables ARM to move if-conversion before post-ra scheduler. llvm-svn: 106091
* Make BreakAntiDependencies' SUnits argument const, and make the BeginDan Gohman2010-04-191-3/+3
| | | | | | and End arguments by-value rather than by-reference. llvm-svn: 101830
* 80 column and whitespace cleanupJim Grosbach2010-01-061-13/+15
| | | | llvm-svn: 92837
* <rdar://problem/7453528>. Track only physical registers that are valid for ↵David Goodwin2009-12-091-1/+5
| | | | | | the target. llvm-svn: 90970
* Remove some old experimental code that is no longer needed. Remove ↵David Goodwin2009-11-201-16/+2
| | | | | | additional, speculative scheduling pass as its cost did not translate into significant performance improvement. Minor tweaks. llvm-svn: 89471
* Fix a couple of problems with maintaining liveness information for antidep ↵David Goodwin2009-11-191-1/+3
| | | | | | breaking. llvm-svn: 89404
* Allow target to specify regclass for which antideps will only be broken ↵David Goodwin2009-11-131-4/+11
| | | | | | along the critical path. llvm-svn: 88682
* Allow targets to specify register classes whose member registers should not ↵David Goodwin2009-11-101-2/+4
| | | | | | be renamed to break anti-dependencies. llvm-svn: 86628
* Break anti-dependencies using free registers in a round-robin manner to ↵David Goodwin2009-11-051-0/+4
| | | | | | avoid introducing new anti-dependencies. llvm-svn: 86098
* Do a scheduling pass ignoring anti-dependencies to identify candidate ↵David Goodwin2009-11-031-0/+4
| | | | | | registers that should be renamed. llvm-svn: 85939
* Fix a couple of bugs in aggressive anti-dep breaking.David Goodwin2009-10-291-0/+1
| | | | llvm-svn: 85522
* Make AntiDepReg.h internal.David Goodwin2009-10-281-1/+1
| | | | llvm-svn: 85412
* Allow the aggressive anti-dep breaker to process the same region multiple ↵David Goodwin2009-10-261-34/+69
| | | | | | times. This is necessary because new anti-dependencies are exposed when "current" ones are broken. llvm-svn: 85166
* Add aggressive anti-dependence breaker. Currently it is not the default for ↵David Goodwin2009-10-261-0/+136
any target. Enable with -break-anti-dependencies=all. llvm-svn: 85145
OpenPOWER on IntegriCloud