Chris Lattner 
							
						 
					 
					
						
						
							
						
						2fe6626ead 
					 
					
						
						
							
							Fix nasty bug in ::isNeg()  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4470  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-31 17:09:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6b1c4fcfb5 
					 
					
						
						
							
							Can simplify code now with the isCommutative() method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4461  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-31 04:24:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9a66d5109e 
					 
					
						
						
							
							Tighten up assertion checking for binary operators, not allowing invalid  
						
						... 
						
						
						
						instructions to _even be created_.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3661  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-10 19:57:53 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2aa831120c 
					 
					
						
						
							
							Add capability to insert an instruction into a basic block immediately after  
						
						... 
						
						
						
						it is created, as part of the ctor call.
Eliminate the GenericBinaryInst class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-10 15:45:53 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ea8b7b8bb5 
					 
					
						
						
							
							- Exposed SetCondInst::getInverseCondition & ::getSwappedCondition better  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3562  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-01 19:46:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e825bde125 
					 
					
						
						
							
							Add new SetCondInst::getInverseCondition() method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3405  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-20 18:17:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						96ad1ec876 
					 
					
						
						
							
							Simplify the code  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3348  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-15 16:15:36 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						1718337cf7 
					 
					
						
						
							
							Added more helper functions for binary instructions emulating  
						
						... 
						
						
						
						unary Neg and Not: isNeg, isNot, getNegArgument, and getNotArgument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3341  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-15 14:15:48 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9c16dba29f 
					 
					
						
						
							
							Remove support for unary operators.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3326  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-14 18:19:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a9261ff5b7 
					 
					
						
						
							
							Implement two constructor functions for "unary" instructions  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3317  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-14 17:52:27 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						dc1e020444 
					 
					
						
						
							
							UnaryOperator::create should take a name just like BinaryOperator::create  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3279  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-09 21:39:38 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						c105645c16 
					 
					
						
						
							
							Create a static version of Instruction::getOpcodeName(opCode) that  
						
						... 
						
						
						
						can be invoked with only an opcode (i.e., without an instruction).
Move all opCode->opCodeName translations there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2900  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-07-14 23:09:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						697954c15d 
					 
					
						
						
							
							Changes to build successfully with GCC 3.02  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-20 22:54:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9a49b210c1 
					 
					
						
						
							
							Swap operands now preserves the semantics of the binary operator by changing  
						
						... 
						
						
						
						the opcode of the instruction if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1444  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-12-13 00:43:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						71496b3b50 
					 
					
						
						
							
							Moved Cast from being a Unary instruction to being an "Other" instruction  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-07-08 19:03:27 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0908309e3c 
					 
					
						
						
							
							Neg instruction removed.  Cast instruction implemented.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-07-08 04:57:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9f3d27654a 
					 
					
						
						
							
							Convert BinaryOperand and UnaryOperator to only take instruction types of  
						
						... 
						
						
						
						the appropriate enum
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-07-07 20:17:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a41f50dea8 
					 
					
						
						
							
							Broad superficial changes:  
						
						... 
						
						
						
						* Renamed getOpcode to getOpcodeName
* Changed getOpcodeName to return a const char * instead of string
* Added a getOpcode method to replace getInstType
* Changed code to use getOpcode instead of getInstType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-07-07 19:24:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8a36b31e1a 
					 
					
						
						
							
							Change to use the new GenericBinaryInst class.  Support lots more operators.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-06-27 23:36:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						20554f11d0 
					 
					
						
						
							
							Moved UnaryOperator::create to InstrTypes.cpp until there is an iUnaryOps.cpp  
						
						... 
						
						
						
						Moved BinaryOperator::create to iBinaryOperators.cpp
Add getUniqueName to SymbolTable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-06-25 07:33:13 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						009505452b 
					 
					
						
						
							
							Initial revision  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-06-06 20:29:01 +00:00