Eric Christopher 
							
						 
					 
					
						
						
							
						
						e02c34ba2a 
					 
					
						
						
							
							Make the split function use StringRef::split.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208723  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-13 19:55:17 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						887ab99a6e 
					 
					
						
						
							
							Use a range based for loop for the SubtargetFeatures print function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208132  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 21:20:29 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						d2ba53bdaa 
					 
					
						
						
							
							Fix odd formatting that snuck into last patch.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208130  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 21:04:27 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						d474181920 
					 
					
						
						
							
							ArrayRef-ize the Feature and Processor tables for SubtargetFeatures.  
						
						... 
						
						
						
						This removes arguments passed everywhere and allows the use of
standard iteration over lists.
Should be no functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208127  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 20:23:04 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						bfc3f301b6 
					 
					
						
						
							
							Have the SubtargetFeature help routine just not return a number and  
						
						... 
						
						
						
						fall back to the normal path without a cpu. While doing this fix
llc to just exit when we don't have a module to process instead of
asserting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208102  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 16:29:50 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						5c34f99911 
					 
					
						
						
							
							Revert "Walk back commits for unused function parameters - they're still being"  
						
						... 
						
						
						
						this reapplies 208012 and 208002.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208037  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-06 02:37:26 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						59c397de1a 
					 
					
						
						
							
							Walk back commits for unused function parameters - they're still being  
						
						... 
						
						
						
						used via dragonegg for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208016  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-05 23:26:59 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						bb95032999 
					 
					
						
						
							
							Remove a now unnecessary function since all calls have one version  
						
						... 
						
						
						
						and inline it into its caller.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208012  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-05 22:36:07 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						9edfca83f4 
					 
					
						
						
							
							Remove a call to std::exit in a library. Make "Help" return  
						
						... 
						
						
						
						a 0 as a default answer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208009  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-05 22:01:47 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						33a4854fcb 
					 
					
						
						
							
							Remove unused argument from AddFeature.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208002  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-05-05 21:40:44 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						4266ae8067 
					 
					
						
						
							
							[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206129  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-04-13 04:57:38 +00:00 
						 
				 
			
				
					
						
							
							
								Artyom Skrobov 
							
						 
					 
					
						
						
							
						
						85ae0340ba 
					 
					
						
						
							
							Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200083  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-01-25 16:56:18 +00:00 
						 
				 
			
				
					
						
							
							
								Artyom Skrobov 
							
						 
					 
					
						
						
							
						
						93681fa6c6 
					 
					
						
						
							
							Prevent repetitive warnings for unrecognized processors and features  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199886  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2014-01-23 11:31:38 +00:00 
						 
				 
			
				
					
						
							
							
								Will Dietz 
							
						 
					 
					
						
						
							
						
						4df7c5baa1 
					 
					
						
						
							
							MC: Don't assume incoming StringRef's are null terminated.  
						
						... 
						
						
						
						This can happen when processing command line arguments, which
are often stored as std::string's and later turned into
StringRef's via std::string::data().  Unfortunately this
is not guaranteed to return a null-terminated string
until C++11, causing breakage on platforms that don't do this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192558  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-10-13 22:09:26 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						c697f8b288 
					 
					
						
						
							
							Fix the documentation of getDefaultSubtargetFeatures.  
						
						... 
						
						
						
						Patch by David Nadlinger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192098  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-10-07 13:34:05 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						63a4c24616 
					 
					
						
						
							
							Symbol hygiene: Make sure declarations and definitions match, make helper functions static.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166376  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-20 12:53:26 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						266eff8539 
					 
					
						
						
							
							Remove template from function that is only used with one type after r165092.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165203  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-04 05:18:31 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						3138659646 
					 
					
						
						
							
							Remove unused function that used to get itineraries from SubTargetFeatures. This is done from MCSubTargetInfo these days.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165092  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-03 06:26:11 +00:00 
						 
				 
			
				
					
						
							
							
								Manman Ren 
							
						 
					 
					
						
						
							
						
						286c4dc355 
					 
					
						
						
							
							Release build: guard dump functions with  
						
						... 
						
						
						
						"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)"
No functional change. Update r163344.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163679  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-12 05:06:18 +00:00 
						 
				 
			
				
					
						
							
							
								Manman Ren 
							
						 
					 
					
						
						
							
						
						cc77eece74 
					 
					
						
						
							
							Release build: guard dump functions with "ifndef NDEBUG"  
						
						... 
						
						
						
						No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163344  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-06 19:55:56 +00:00 
						 
				 
			
				
					
						
							
							
								Roman Divacky 
							
						 
					 
					
						
						
							
						
						98eb98b0f2 
					 
					
						
						
							
							Constify subtarget info properly so that we dont cast away the const in  
						
						... 
						
						
						
						the SubtargetInfoKV tables. Found by gcc48 -Wcast-qual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163251  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-05 21:43:57 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						2684d9e3c7 
					 
					
						
						
							
							Tidy up. Trailing whitespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156602  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-11 01:41:30 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						5908536673 
					 
					
						
						
							
							Replace (Lower|Upper)caseString in favor of StringRef's newest methods.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143891  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-11-06 20:37:06 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						962bad70f4 
					 
					
						
						
							
							Let printf do the formatting instead aligning strings ourselves.  
						
						... 
						
						
						
						While at it, merge some format strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142140  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-16 16:30:34 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						ffc0e73046 
					 
					
						
						
							
							Change createAsmParser to take a MCSubtargetInfo instead of triple,  
						
						... 
						
						
						
						CPU, and feature string. Parsing some asm directives can change
subtarget state (e.g. .code 16) and it must be reflected in other
modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance
must be shared.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134795  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-09 05:47:46 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						0ddff1b535 
					 
					
						
						
							
							Compute feature bits at time of MCSubtargetInfo initialization.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134606  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-07 07:07:08 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						4d9af61a48 
					 
					
						
						
							
							Eliminate one extra conversion.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134240  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-01 16:59:30 +00:00 
						 
				 
			
				
					
						
							
							
								Francois Pichet 
							
						 
					 
					
						
						
							
						
						24e11afad2 
					 
					
						
						
							
							Another misuse of StringRef. MSVC is very sensitive to that kind of error.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134236  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-01 09:23:41 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						3f9b9eb57d 
					 
					
						
						
							
							Fix use after free.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134234  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-01 04:40:50 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						e1bff38386 
					 
					
						
						
							
							Switch SubtargetFeatures from std::string to StringRef.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134219  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-01 00:23:10 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						276365dd4b 
					 
					
						
						
							
							Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to  
						
						... 
						
						
						
						be the first encoded as the first feature. It then uses the CPU name to look up
features / scheduling itineray even though clients know full well the CPU name
being used to query these properties.
The fix is to just have the clients explictly pass the CPU name!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134127  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 01:53:36 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						ab8be96fd3 
					 
					
						
						
							
							Sink SubtargetFeature and TargetInstrItineraries (renamed MCInstrItineraries) into MC.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134049  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-29 01:14:12 +00:00