f4e35dc672 
								
							 
						 
						
							
							
								
								[ms-inline asm] Add the convertToMapAndConstraints() function that is used to  
							
							... 
							
							
							
							map constraints and MCInst operands to inline asm operands.  This replaces the
getMCInstOperandNum() function.
The logic to determine the constraints are not in place, so we still default to
a register constraint (i.e., "r"). Also, we no longer build the MCInst but
rather return just the opcode to get the MCInstrDesc.
llvm-svn: 164979 
							
						 
						
							2012-10-01 23:45:51 +00:00  
				
					
						
							
							
								 
						
							
								c4734c8950 
								
							 
						 
						
							
							
								
								Rather then have a wrapper function, have tblgen instantiate the implementation.  
							
							... 
							
							
							
							Also remove an unused argument.
llvm-svn: 164567 
							
						 
						
							2012-09-24 22:57:55 +00:00  
				
					
						
							
							
								 
						
							
								3cb355d11f 
								
							 
						 
						
							
							
								
								Rather then have a wrapper function, have tblgen instantiate the implementation.  
							
							... 
							
							
							
							llvm-svn: 164548 
							
						 
						
							2012-09-24 19:32:29 +00:00  
				
					
						
							
							
								 
						
							
								17ede627f0 
								
							 
						 
						
							
							
								
								[ms-inline asm] Expose the mnemonicIsValid() function in the AsmParser.  
							
							... 
							
							
							
							llvm-svn: 164420 
							
						 
						
							2012-09-21 22:21:26 +00:00  
				
					
						
							
							
								 
						
							
								47b5c5713b 
								
							 
						 
						
							
							
								
								Make helper function static.  
							
							... 
							
							
							
							llvm-svn: 163504 
							
						 
						
							2012-09-10 11:52:14 +00:00  
				
					
						
							
							
								 
						
							
								fa530570db 
								
							 
						 
						
							
							
								
								MipsAsmParser: Fix a couple of string use-after-frees and misuses of classof.  
							
							... 
							
							
							
							llvm-svn: 163383 
							
						 
						
							2012-09-07 09:47:42 +00:00  
				
					
						
							
							
								 
						
							
								be33217bb8 
								
							 
						 
						
							
							
								
								The Mips standalone assembler intial directive support.  
							
							... 
							
							
							
							Actually these are just stubs for parsing the directives.
Semantic support will come later.
Test cases included
Contributer: Vladimir Medic
llvm-svn: 163364 
							
						 
						
							2012-09-07 00:48:02 +00:00  
				
					
						
							
							
								 
						
							
								a63b16ac1e 
								
							 
						 
						
							
							
								
								The Mips standalone assembler fpu instruction support.  
							
							... 
							
							
							
							Test cases included
Contributer: Vladimir Medic
llvm-svn: 163363 
							
						 
						
							2012-09-07 00:23:42 +00:00  
				
					
						
							
							
								 
						
							
								4fc4775561 
								
							 
						 
						
							
							
								
								Remove unused variable introduced by r163346.  
							
							... 
							
							
							
							llvm-svn: 163359 
							
						 
						
							2012-09-06 23:31:29 +00:00  
				
					
						
							
							
								 
						
							
								dc1e35d418 
								
							 
						 
						
							
							
								
								The Mips standalone assembler memory instruction support.  
							
							... 
							
							
							
							This includes sb,sc,sh,sw,lb,lw,lbu,lh,lhu,ll,lw
Test case included
Contributer: Vladimir Medic
llvm-svn: 163346 
							
						 
						
							2012-09-06 20:00:02 +00:00  
				
					
						
							
							
								 
						
							
								b4dbc17acd 
								
							 
						 
						
							
							
								
								Mips specific llvm assembler support for ALU instructions. This includes  
							
							... 
							
							
							
							register support. Test case included.
Contributer: Vladimir Medic
llvm-svn: 163268 
							
						 
						
							2012-09-05 23:34:03 +00:00  
				
					
						
							
							
								 
						
							
								a05ea0f3e3 
								
							 
						 
						
							
							
								
								Fix function name per coding standard.  
							
							... 
							
							
							
							llvm-svn: 163187 
							
						 
						
							2012-09-05 01:15:43 +00:00  
				
					
						
							
							
								 
						
							
								9e2aff8b6d 
								
							 
						 
						
							
							
								
								[ms-inline asm] Asm operands can map to one or more MCOperands.  Therefore, add  
							
							... 
							
							
							
							the NumMCOperands argument to the GetMCInstOperandNum() function that is set
to the number of MCOperands this asm operand mapped to.
llvm-svn: 163124 
							
						 
						
							2012-09-03 20:31:23 +00:00  
				
					
						
							
							
								 
						
							
								0f13c3ccf8 
								
							 
						 
						
							
							
								
								[ms-inline asm] Add a comment.  
							
							... 
							
							
							
							llvm-svn: 163123 
							
						 
						
							2012-09-03 19:04:35 +00:00  
				
					
						
							
							
								 
						
							
								391d299737 
								
							 
						 
						
							
							
								
								[ms-inline asm] Add an interface to the GetMCInstOperandNum() function in the  
							
							... 
							
							
							
							MCTargetAsmParser class.
llvm-svn: 163122 
							
						 
						
							2012-09-03 18:47:45 +00:00  
				
					
						
							
							
								 
						
							
								7605630c48 
								
							 
						 
						
							
							
								
								Add stub methods for mips assembly matcher.  
							
							... 
							
							
							
							Patch by Vladimir Medic.
llvm-svn: 162124 
							
						 
						
							2012-08-17 20:16:42 +00:00  
				
					
						
							
							
								 
						
							
								9f6101191b 
								
							 
						 
						
							
							
								
								remove Emacs-tag form .cpp files in Mips Backend, and fix some typo.  
							
							... 
							
							
							
							llvm-svn: 150805 
							
						 
						
							2012-02-17 08:55:11 +00:00  
				
					
						
							
							
								 
						
							
								dd6c1cd4e8 
								
							 
						 
						
							
							
								
								add Emacs tag and fix some comment error in file headers  
							
							... 
							
							
							
							llvm-svn: 150775 
							
						 
						
							2012-02-17 01:23:50 +00:00  
				
					
						
							
							
								 
						
							
								870c4e92b9 
								
							 
						 
						
							
							
								
								Add the skeleton of an asm parser for mips.  
							
							... 
							
							
							
							llvm-svn: 147923 
							
						 
						
							2012-01-11 03:56:41 +00:00