2946cd7010 
								
							 
						 
						
							
							
								
								Update the file headers across all of the LLVM projects in the monorepo  
							
							... 
							
							
							
							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 
							
						 
						
							2019-01-19 08:50:56 +00:00  
				
					
						
							
							
								 
						
							
								b3bde2ea50 
								
							 
						 
						
							
							
								
								Fix a bunch more layering of CodeGen headers that are in Target  
							
							... 
							
							
							
							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 
							
						 
						
							2017-11-17 01:07:10 +00:00  
				
					
						
							
							
								 
						
							
								4f81cdd818 
								
							 
						 
						
							
							
								
								[CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).  
							
							... 
							
							
							
							llvm-svn: 314559 
							
						 
						
							2017-09-29 21:55:49 +00:00  
				
					
						
							
							
								 
						
							
								5e6e8c7a0a 
								
							 
						 
						
							
							
								
								CodeGen: Use MachineInstr& in AntiDepBreaker API, NFC  
							
							... 
							
							
							
							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 
							
						 
						
							2016-02-27 19:33:37 +00:00  
				
					
						
							
							
								 
						
							
								f4c2025357 
								
							 
						 
						
							
							
								
								[CodeGen] Reduce visibility of implementation details  
							
							... 
							
							
							
							NFC.
llvm-svn: 241164 
							
						 
						
							2015-07-01 14:47:39 +00:00  
				
					
						
							
							
								 
						
							
								f00654e31b 
								
							 
						 
						
							
							
								
								Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)  
							
							... 
							
							
							
							Apparently, the style needs to be agreed upon first.
llvm-svn: 240390 
							
						 
						
							2015-06-23 09:49:53 +00:00  
				
					
						
							
							
								 
						
							
								70bc5f1398 
								
							 
						 
						
							
							
								
								Fixed/added namespace ending comments using clang-tidy. NFC  
							
							... 
							
							
							
							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 
							
						 
						
							2015-06-19 15:57:42 +00:00  
				
					
						
							
							
								 
						
							
								c76f470c2d 
								
							 
						 
						
							
							
								
								Test commit: fix typo in comment.  
							
							... 
							
							
							
							llvm-svn: 235526 
							
						 
						
							2015-04-22 17:42:37 +00:00  
				
					
						
							
							
								 
						
							
								f817c1cb9a 
								
							 
						 
						
							
							
								
								Use 'override/final' instead of 'virtual' for overridden methods  
							
							... 
							
							
							
							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 
							
						 
						
							2015-04-11 02:11:45 +00:00  
				
					
						
							
							
								 
						
							
								d649235fc3 
								
							 
						 
						
							
							
								
								mop up: "Don’t duplicate function or class name at the beginning of the comment."  
							
							... 
							
							
							
							llvm-svn: 218218 
							
						 
						
							2014-09-21 14:48:16 +00:00  
				
					
						
							
							
								 
						
							
								a7c40ef022 
								
							 
						 
						
							
							
								
								Canonicalize header guards into a common format.  
							
							... 
							
							
							
							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 
							
						 
						
							2014-08-13 16:26:38 +00:00  
				
					
						
							
							
								 
						
							
								ada0857679 
								
							 
						 
						
							
							
								
								[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.  
							
							... 
							
							
							
							llvm-svn: 206356 
							
						 
						
							2014-04-16 04:21:27 +00:00  
				
					
						
							
							
								 
						
							
								4584cd54e3 
								
							 
						 
						
							
							
								
								[C++11] Add 'override' keyword to virtual methods that override their base class.  
							
							... 
							
							
							
							llvm-svn: 203220 
							
						 
						
							2014-03-07 09:26:03 +00:00  
				
					
						
							
							
								 
						
							
								079b96e6f7 
								
							 
						 
						
							
							
								
								Revert "Give internal classes hidden visibility."  
							
							... 
							
							
							
							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 
							
						 
						
							2013-09-11 18:05:11 +00:00  
				
					
						
							
							
								 
						
							
								6a44af3629 
								
							 
						 
						
							
							
								
								Give internal classes hidden visibility.  
							
							... 
							
							
							
							Worth 100k on a linux/x86_64 Release+Asserts clang.
llvm-svn: 190534 
							
						 
						
							2013-09-11 17:42:27 +00:00  
				
					
						
							
							
								 
						
							
								802d755533 
								
							 
						 
						
							
							
								
								Sort includes for all of the .h files under the 'lib' tree. These were  
							
							... 
							
							
							
							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 
							
						 
						
							2012-12-04 07:12:27 +00:00  
				
					
						
							
							
								 
						
							
								0d639a28aa 
								
							 
						 
						
							
							
								
								Rename TargetSubtarget to TargetSubtargetInfo for consistency.  
							
							... 
							
							
							
							llvm-svn: 134259 
							
						 
						
							2011-07-01 21:01:15 +00:00  
				
					
						
							
							
								 
						
							
								4f5f84c7e7 
								
							 
						 
						
							
							
								
								Teach antidependency breakers to use RegisterClassInfo.  
							
							... 
							
							
							
							No functional change was intended.
llvm-svn: 133202 
							
						 
						
							2011-06-16 21:56:21 +00:00  
				
					
						
							
							
								 
						
							
								f02a376fbc 
								
							 
						 
						
							
							
								
								Update DBG_VALUEs while breaking anti dependencies.  
							
							... 
							
							
							
							llvm-svn: 132487 
							
						 
						
							2011-06-02 21:26:52 +00:00  
				
					
						
							
							
								 
						
							
								030b0286ec 
								
							 
						 
						
							
							
								
								Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.  
							
							... 
							
							
							
							llvm-svn: 108440 
							
						 
						
							2010-07-15 18:43:09 +00:00  
				
					
						
							
							
								 
						
							
								57681404b0 
								
							 
						 
						
							
							
								
								Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.  
							
							... 
							
							
							
							llvm-svn: 108438 
							
						 
						
							2010-07-15 18:40:50 +00:00  
				
					
						
							
							
								 
						
							
								c48adb60ca 
								
							 
						 
						
							
							
								
								revert bill's patches in an attempt to fix the buildbot.  
							
							... 
							
							
							
							llvm-svn: 108419 
							
						 
						
							2010-07-15 06:51:46 +00:00  
				
					
						
							
							
								 
						
							
								1f7071a3e4 
								
							 
						 
						
							
							
								
								Fix headers.  
							
							... 
							
							
							
							llvm-svn: 108413 
							
						 
						
							2010-07-15 06:05:18 +00:00  
				
					
						
							
							
								 
						
							
								e7e6ca5c57 
								
							 
						 
						
							
							
								
								Use std::vector instead of a hard-coded array. The length of that array could  
							
							... 
							
							
							
							get *very* large, but we only need it to be the size of the number of pregs.
llvm-svn: 108412 
							
						 
						
							2010-07-15 06:04:38 +00:00  
				
					
						
							
							
								 
						
							
								f128bdcb55 
								
							 
						 
						
							
							
								
								Make post-ra scheduling, anti-dep breaking, and register scavenger (conservatively) aware of predicated instructions. This enables ARM to move if-conversion before post-ra scheduler.  
							
							... 
							
							
							
							llvm-svn: 106091 
							
						 
						
							2010-06-16 07:35:02 +00:00  
				
					
						
							
							
								 
						
							
								35bc4d46cb 
								
							 
						 
						
							
							
								
								Make BreakAntiDependencies' SUnits argument const, and make the Begin  
							
							... 
							
							
							
							and End arguments by-value rather than by-reference.
llvm-svn: 101830 
							
						 
						
							2010-04-19 23:11:58 +00:00  
				
					
						
							
							
								 
						
							
								eb431da074 
								
							 
						 
						
							
							
								
								80 column and whitespace cleanup  
							
							... 
							
							
							
							llvm-svn: 92837 
							
						 
						
							2010-01-06 16:48:02 +00:00  
				
					
						
							
							
								 
						
							
								a45fe67667 
								
							 
						 
						
							
							
								
								<rdar://problem/7453528>. Track only physical registers that are valid for the target.  
							
							... 
							
							
							
							llvm-svn: 90970 
							
						 
						
							2009-12-09 17:18:22 +00:00  
				
					
						
							
							
								 
						
							
								80a03cc0b1 
								
							 
						 
						
							
							
								
								Remove some old experimental code that is no longer needed. Remove additional, speculative scheduling pass as its cost did not translate into significant performance improvement. Minor tweaks.  
							
							... 
							
							
							
							llvm-svn: 89471 
							
						 
						
							2009-11-20 19:32:48 +00:00  
				
					
						
							
							
								 
						
							
								dd1c6198d4 
								
							 
						 
						
							
							
								
								Fix a couple of problems with maintaining liveness information for antidep breaking.  
							
							... 
							
							
							
							llvm-svn: 89404 
							
						 
						
							2009-11-19 23:12:37 +00:00  
				
					
						
							
							
								 
						
							
								b9fe5d5d02 
								
							 
						 
						
							
							
								
								Allow target to specify regclass for which antideps will only be broken along the critical path.  
							
							... 
							
							
							
							llvm-svn: 88682 
							
						 
						
							2009-11-13 19:52:48 +00:00  
				
					
						
							
							
								 
						
							
								cf89db135e 
								
							 
						 
						
							
							
								
								Allow targets to specify register classes whose member registers should not be renamed to break anti-dependencies.  
							
							... 
							
							
							
							llvm-svn: 86628 
							
						 
						
							2009-11-10 00:15:47 +00:00  
				
					
						
							
							
								 
						
							
								7d8878add2 
								
							 
						 
						
							
							
								
								Break anti-dependencies using free registers in a round-robin manner to avoid introducing new anti-dependencies.  
							
							... 
							
							
							
							llvm-svn: 86098 
							
						 
						
							2009-11-05 01:19:35 +00:00  
				
					
						
							
							
								 
						
							
								8501dbbe10 
								
							 
						 
						
							
							
								
								Do a scheduling pass ignoring anti-dependencies to identify candidate registers that should be renamed.  
							
							... 
							
							
							
							llvm-svn: 85939 
							
						 
						
							2009-11-03 20:57:50 +00:00  
				
					
						
							
							
								 
						
							
								9f1b2d4619 
								
							 
						 
						
							
							
								
								Fix a couple of bugs in aggressive anti-dep breaking.  
							
							... 
							
							
							
							llvm-svn: 85522 
							
						 
						
							2009-10-29 19:17:04 +00:00  
				
					
						
							
							
								 
						
							
								e30ed53c05 
								
							 
						 
						
							
							
								
								Make AntiDepReg.h internal.  
							
							... 
							
							
							
							llvm-svn: 85412 
							
						 
						
							2009-10-28 18:29:54 +00:00  
				
					
						
							
							
								 
						
							
								e056d1077e 
								
							 
						 
						
							
							
								
								Allow the aggressive anti-dep breaker to process the same region multiple times. This is necessary because new anti-dependencies are exposed when "current" ones are broken.  
							
							... 
							
							
							
							llvm-svn: 85166 
							
						 
						
							2009-10-26 22:31:16 +00:00  
				
					
						
							
							
								 
						
							
								de11f36ab7 
								
							 
						 
						
							
							
								
								Add aggressive anti-dependence breaker. Currently it is not the default for any target. Enable with -break-anti-dependencies=all.  
							
							... 
							
							
							
							llvm-svn: 85145 
							
						 
						
							2009-10-26 19:32:42 +00:00