59bbc545e0 
								
							 
						 
						
							
							
								
								Shifter ops are not always free. Do not fold them (especially to form  
							
							... 
							
							
							
							complex load / store addressing mode) when they have higher cost and
when they have more than one use.
llvm-svn: 117509 
							
						 
						
							2010-10-27 23:41:30 +00:00  
				
					
						
							
							
								 
						
							
								fadb951e5b 
								
							 
						 
						
							
							
								
								Provide correct encodings for NEON vcvt, which has its own special immediate encoding  
							
							... 
							
							
							
							for specifying fractional bits for fixed point conversions.
llvm-svn: 117501 
							
						 
						
							2010-10-27 22:49:00 +00:00  
				
					
						
							
							
								 
						
							
								5e7cb5fc27 
								
							 
						 
						
							
							
								
								Added the x86 instruction ud2b (2nd official undefined instruction).  
							
							... 
							
							
							
							llvm-svn: 117485 
							
						 
						
							2010-10-27 20:46:49 +00:00  
				
					
						
							
							
								 
						
							
								5faac39061 
								
							 
						 
						
							
							
								
								Enable clang autocompletion by default.  
							
							... 
							
							
							
							llvm-svn: 117415 
							
						 
						
							2010-10-26 23:24:54 +00:00  
				
					
						
							
							
								 
						
							
								1e4d9a17c2 
								
							 
						 
						
							
							
								
								First part of refactoring ARM addrmode2 (load/store) instructions to be more  
							
							... 
							
							
							
							explicit about the operands. Split out the different variants into separate
instructions. This gives us the ability to, among other things, assign
different scheduling itineraries to the variants. rdar://8477752.
llvm-svn: 117409 
							
						 
						
							2010-10-26 22:37:02 +00:00  
				
					
						
							
							
								 
						
							
								34402c4fe4 
								
							 
						 
						
							
							
								
								Constify another 2 disassembler tables.  
							
							... 
							
							
							
							llvm-svn: 117208 
							
						 
						
							2010-10-23 09:28:42 +00:00  
				
					
						
							
							
								 
						
							
								de0a4fbf3b 
								
							 
						 
						
							
							
								
								Make the disassembler tables const so they end up in read-only memory.  
							
							... 
							
							
							
							llvm-svn: 117206 
							
						 
						
							2010-10-23 09:10:44 +00:00  
				
					
						
							
							
								 
						
							
								f4a6809231 
								
							 
						 
						
							
							
								
								Remove -llvmc-temp-hack from tblgen.  
							
							... 
							
							
							
							llvm-svn: 117197 
							
						 
						
							2010-10-23 07:32:53 +00:00  
				
					
						
							
							
								 
						
							
								e9b78186d4 
								
							 
						 
						
							
							
								
								Syntax tweak in llvmc: (something [a,b,c]) -> (something a, b, c).  
							
							... 
							
							
							
							llvm-svn: 117196 
							
						 
						
							2010-10-23 07:32:46 +00:00  
				
					
						
							
							
								 
						
							
								de68389cd3 
								
							 
						 
						
							
							
								
								Trailing whitespace.  
							
							... 
							
							
							
							llvm-svn: 117195 
							
						 
						
							2010-10-23 07:32:37 +00:00  
				
					
						
							
							
								 
						
							
								dbb77154dc 
								
							 
						 
						
							
							
								
								Do not install libBugpointPasses.dylib for Apple builds.  Radar 8585383.  
							
							... 
							
							
							
							llvm-svn: 117172 
							
						 
						
							2010-10-22 23:04:17 +00:00  
				
					
						
							
							
								 
						
							
								1eaa381789 
								
							 
						 
						
							
							
								
								Fix the name of libLLVMHello.dylib so that it does not get installed for  
							
							... 
							
							
							
							Apple builds.  Radar 8585383.
llvm-svn: 117164 
							
						 
						
							2010-10-22 22:10:57 +00:00  
				
					
						
							
							
								 
						
							
								9192e7ab12 
								
							 
						 
						
							
							
								
								Make some symbols static, move classes into anonymous namespaces.  
							
							... 
							
							
							
							llvm-svn: 117111 
							
						 
						
							2010-10-22 17:35:07 +00:00  
				
					
						
							
							
								 
						
							
								83123a47ce 
								
							 
						 
						
							
							
								
								Add a way to emit StringSwitch of clang attribute spellings.  
							
							... 
							
							
							
							llvm-svn: 116899 
							
						 
						
							2010-10-20 01:21:53 +00:00  
				
					
						
							
							
								 
						
							
								713460114d 
								
							 
						 
						
							
							
								
								Fix VC2010 build.  
							
							... 
							
							
							
							llvm-svn: 116833 
							
						 
						
							2010-10-19 18:04:06 +00:00  
				
					
						
							
							
								 
						
							
								889c1e7d80 
								
							 
						 
						
							
							
								
								Build with RTTI and exceptions disabled. Only in GCC for now.  
							
							... 
							
							
							
							llvm-svn: 116682 
							
						 
						
							2010-10-17 02:26:16 +00:00  
				
					
						
							
							
								 
						
							
								c46e8cb258 
								
							 
						 
						
							
							
								
								KillTheDoctor: Fix 2008 build. I'm actually surprised 2010 defines all of these, many are non-standard posix/unix extensions.  
							
							... 
							
							
							
							llvm-svn: 116597 
							
						 
						
							2010-10-15 18:13:02 +00:00  
				
					
						
							
							
								 
						
							
								eba55822d7 
								
							 
						 
						
							
							
								
								Teach FileCheck to handle trailing CHECK-NOT patterns.  
							
							... 
							
							
							
							A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.
You can even have only CHECK-NOT patterns to check that strings appear nowhere
in the input file.
llvm-svn: 116592 
							
						 
						
							2010-10-15 17:47:12 +00:00  
				
					
						
							
							
								 
						
							
								68a335e185 
								
							 
						 
						
							
							
								
								ARM mode encoding information for UBFX and SBFX instructions.  
							
							... 
							
							
							
							llvm-svn: 116588 
							
						 
						
							2010-10-15 17:15:16 +00:00  
				
					
						
							
							
								 
						
							
								dba47755a0 
								
							 
						 
						
							
							
								
								Teach PerfectShuffle to not generate files with embedded tab characters.  
							
							... 
							
							
							
							llvm-svn: 116458 
							
						 
						
							2010-10-14 00:12:49 +00:00  
				
					
						
							
							
								 
						
							
								7e72ec6626 
								
							 
						 
						
							
							
								
								Refactor the ARM 'setend' instruction pattern. Use a single instruction pattern  
							
							... 
							
							
							
							and handle the operand explicitly. Flesh out encoding information. Add an
explicit disassembler testcase for the instruction.
llvm-svn: 116432 
							
						 
						
							2010-10-13 21:00:04 +00:00  
				
					
						
							
							
								 
						
							
								1e7db68774 
								
							 
						 
						
							
							
								
								Add ARM mode encoding for [SU]XT[BH] and [SU]XTA[BH] instructions.  
							
							... 
							
							
							
							llvm-svn: 116421 
							
						 
						
							2010-10-13 19:56:10 +00:00  
				
					
						
							
							
								 
						
							
								51a12eb11d 
								
							 
						 
						
							
							
								
								Allow targets to optionally specify custom binary encoder functions for  
							
							... 
							
							
							
							operand values. This is useful for operands which require additional trickery
to encode into the instruction. For example, the ARM shifted immediate and
shifted register operands.
llvm-svn: 116353 
							
						 
						
							2010-10-12 22:21:57 +00:00  
				
					
						
							
							
								 
						
							
								65c1c43c13 
								
							 
						 
						
							
							
								
								KillTheDoctor: Fix VS2008 build.  
							
							... 
							
							
							
							llvm-svn: 116330 
							
						 
						
							2010-10-12 19:27:44 +00:00  
				
					
						
							
							
								 
						
							
								a48349f596 
								
							 
						 
						
							
							
								
								Fix spelling error.  
							
							... 
							
							
							
							llvm-svn: 116282 
							
						 
						
							2010-10-12 00:21:05 +00:00  
				
					
						
							
							
								 
						
							
								e61de930bc 
								
							 
						 
						
							
							
								
								The assert() should reference to machine instr operand number, too.  
							
							... 
							
							
							
							llvm-svn: 116243 
							
						 
						
							2010-10-11 21:41:31 +00:00  
				
					
						
							
							
								 
						
							
								11ced671be 
								
							 
						 
						
							
							
								
								Make sure to use the machine instruction operand number. It doesn't always  
							
							... 
							
							
							
							map one-to-one with the CodeGenInstruction operand number.
llvm-svn: 116238 
							
						 
						
							2010-10-11 21:31:22 +00:00  
				
					
						
							
							
								 
						
							
								279362dd5a 
								
							 
						 
						
							
							
								
								Add KillTheDoctor.  
							
							... 
							
							
							
							llvm-svn: 116216 
							
						 
						
							2010-10-11 19:55:38 +00:00  
				
					
						
							
							
								 
						
							
								806b139bbc 
								
							 
						 
						
							
							
								
								trailing whitespace cleanup  
							
							... 
							
							
							
							llvm-svn: 116215 
							
						 
						
							2010-10-11 19:38:01 +00:00  
				
					
						
							
							
								 
						
							
								191ad7c473 
								
							 
						 
						
							
							
								
								When figuring out which operands match which encoding fields in an instruction,  
							
							... 
							
							
							
							try to match them by name first. If there is no by-name match, fall back to
assuming they are in order (this was the previous behavior).
llvm-svn: 116211 
							
						 
						
							2010-10-11 18:25:51 +00:00  
				
					
						
							
							
								 
						
							
								1ef5e84c31 
								
							 
						 
						
							
							
								
								Per discussion with Sanjiv, remove the PIC16 target from mainline.  When/if  
							
							... 
							
							
							
							it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116190 
							
						 
						
							2010-10-11 05:44:40 +00:00  
				
					
						
							
							
								 
						
							
								9cc3fcc8ec 
								
							 
						 
						
							
							
								
								syntax-highlighting: Fix module asm keyword.  
							
							... 
							
							
							
							llvm-svn: 116152 
							
						 
						
							2010-10-09 15:44:36 +00:00  
				
					
						
							
							
								 
						
							
								3431778a2b 
								
							 
						 
						
							
							
								
								Add Kate syntax highlighting files.  
							
							... 
							
							
							
							llvm-svn: 116146 
							
						 
						
							2010-10-09 07:11:04 +00:00  
				
					
						
							
							
								 
						
							
								b75d0ca38e 
								
							 
						 
						
							
							
								
								A few 80 column cleanups  
							
							... 
							
							
							
							llvm-svn: 116069 
							
						 
						
							2010-10-08 18:13:57 +00:00  
				
					
						
							
							
								 
						
							
								2f0be8f404 
								
							 
						 
						
							
							
								
								trailing whitespace  
							
							... 
							
							
							
							llvm-svn: 116068 
							
						 
						
							2010-10-08 18:09:59 +00:00  
				
					
						
							
							
								 
						
							
								ba66a81017 
								
							 
						 
						
							
							
								
								Fix -Asserts warning.  
							
							... 
							
							
							
							llvm-svn: 116030 
							
						 
						
							2010-10-08 02:07:22 +00:00  
				
					
						
							
							
								 
						
							
								a7b6d58f45 
								
							 
						 
						
							
							
								
								Make <target>CodeEmitter::getBinaryCodeForInstr() a const method.  
							
							... 
							
							
							
							llvm-svn: 116018 
							
						 
						
							2010-10-08 00:21:28 +00:00  
				
					
						
							
							
								 
						
							
								33c1eb16e8 
								
							 
						 
						
							
							
								
								Move checking for t2MOVCCi16 to the right place.  
							
							... 
							
							
							
							llvm-svn: 115994 
							
						 
						
							2010-10-07 22:14:01 +00:00  
				
					
						
							
							
								 
						
							
								1e00173d20 
								
							 
						 
						
							
							
								
								Fix typo in comment.  
							
							... 
							
							
							
							llvm-svn: 115986 
							
						 
						
							2010-10-07 21:55:16 +00:00  
				
					
						
							
							
								 
						
							
								0df7ea4c24 
								
							 
						 
						
							
							
								
								Move tool_output_file into its own file.  
							
							... 
							
							
							
							llvm-svn: 115973 
							
						 
						
							2010-10-07 20:32:40 +00:00  
				
					
						
							
							
								 
						
							
								d4b62765a7 
								
							 
						 
						
							
							
								
								gtest: Fix warnings on MinGW.  
							
							... 
							
							
							
							llvm-svn: 115945 
							
						 
						
							2010-10-07 18:29:44 +00:00  
				
					
						
							
							
								 
						
							
								33a390e2ca 
								
							 
						 
						
							
							
								
								CMake: Fix warning in gtest.  
							
							... 
							
							
							
							llvm-svn: 115935 
							
						 
						
							2010-10-07 18:12:54 +00:00  
				
					
						
							
							
								 
						
							
								daab660fb1 
								
							 
						 
						
							
							
								
								trailing whitespace  
							
							... 
							
							
							
							llvm-svn: 115923 
							
						 
						
							2010-10-07 16:56:28 +00:00  
				
					
						
							
							
								 
						
							
								5b255c2dd6 
								
							 
						 
						
							
							
								
								Allow use of the 16-bit literal move instruction in CMOVs for Thumb2 mode.  
							
							... 
							
							
							
							llvm-svn: 115890 
							
						 
						
							2010-10-07 00:53:56 +00:00  
				
					
						
							
							
								 
						
							
								742adc328a 
								
							 
						 
						
							
							
								
								Allow use of the 16-bit literal move instruction in CMOVs for ARM mode.  
							
							... 
							
							
							
							llvm-svn: 115884 
							
						 
						
							2010-10-07 00:42:42 +00:00  
				
					
						
							
							
								 
						
							
								b270f28c1a 
								
							 
						 
						
							
							
								
								Now that VDUPfqf and VDUPfdfare properly pseudos, nuke the special handling.  
							
							... 
							
							
							
							llvm-svn: 115841 
							
						 
						
							2010-10-06 21:17:07 +00:00  
				
					
						
							
							
								 
						
							
								28f034c21a 
								
							 
						 
						
							
							
								
								Generalize tblgen's dag parsing logic to handle arbitrary expressions  
							
							... 
							
							
							
							as the operator of the dag.  Specifically, this allows parsing things
like (F.x 4) in addition to just (a 4).
Unfortunately, this runs afoul of an idiom being used by llvmc.  It
is using dags like (foo [1,2,3]) to represent a list of stuff being
passed into foo.  With this change, this is parsed as a [1,2,3] 
subscript on foo instead of being the first argument to the dag.
Cope with this in the short term by requiring a "-llvmc-temp-hack"
argument to tblgen to get the old parsing behavior.
llvm-svn: 115742 
							
						 
						
							2010-10-06 04:55:48 +00:00  
				
					
						
							
							
								 
						
							
								e76cfcf8a8 
								
							 
						 
						
							
							
								
								cleanups  
							
							... 
							
							
							
							llvm-svn: 115739 
							
						 
						
							2010-10-06 04:31:40 +00:00  
				
					
						
							
							
								 
						
							
								9402633637 
								
							 
						 
						
							
							
								
								remove the !nameconcat tblgen feature.  It "shorthand" and only used in 4 places  
							
							... 
							
							
							
							where !cast is just as short.
llvm-svn: 115722 
							
						 
						
							2010-10-06 00:19:21 +00:00  
				
					
						
							
							
								 
						
							
								61ea00b494 
								
							 
						 
						
							
							
								
								allow !strconcat to take more than two operands to eliminate  
							
							... 
							
							
							
							!strconcat(!strconcat(!strconcat(!strconcat
Simplify some x86 td files to use it.
llvm-svn: 115719 
							
						 
						
							2010-10-05 23:58:18 +00:00