Chris Lattner 
							
						 
					 
					
						
						
							
						
						190a418bf6 
					 
					
						
						
							
							Make SelectionDAG::RemoveDeadNodes iterative instead of recursive, which  
						
						... 
						
						
						
						also make it simpler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29524  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-08-04 17:45:20 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						c384d6c398 
					 
					
						
						
							
							- Change AssignTopologicalOrder to return vector of SDNode* by reference.  
						
						... 
						
						
						
						- Tweak implementation to avoid using std::map.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29479  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-08-02 22:00:34 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						e6f35d8a5c 
					 
					
						
						
							
							Added AssignTopologicalOrder() to assign each node an unique id based on their topological order.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29431  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-08-01 08:20:41 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						2641cad180 
					 
					
						
						
							
							Remove InFlightSet hack. No longer needed.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29373  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-07-28 00:47:19 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						7c16d776cb 
					 
					
						
						
							
							AssignNodeIds should return unsigned.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29343  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-07-27 07:36:47 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						091cba1b91 
					 
					
						
						
							
							AssignNodeIds assign each node in the DAG an unique id.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29337  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-07-27 06:39:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						917d2c9dc2 
					 
					
						
						
							
							Add an out-of-line virtual method for the sdnode class to give it a home.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29192  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-07-19 00:00:37 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						322812e603 
					 
					
						
						
							
							Ugly hack! Add helper functions InsertInFlightSetEntry and  
						
						... 
						
						
						
						RemoveInFlightSetEntry. They are used in place of direct set operators to
reduce instruction selection function stack size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28987  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-06-29 23:57:05 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						883a52de66 
					 
					
						
						
							
							Fix CodeGen/Generic/2006-06-28-SimplifySetCCCrash.ll  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28965  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-06-28 18:29:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f4ec817299 
					 
					
						
						
							
							Add a new ISD::CALL node, make the default impl of TargetLowering::LowerCallTo  
						
						... 
						
						
						
						produce it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28338  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-05-16 22:53:20 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f1343c1b79 
					 
					
						
						
							
							remove dead vars  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28254  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-05-12 18:04:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e41102bb61 
					 
					
						
						
							
							Compile:  
						
						... 
						
						
						
						%tmp152 = setgt uint %tmp144, %tmp149           ; <bool> [#uses=1]
        %tmp159 = setlt uint %tmp144, %tmp149           ; <bool> [#uses=1]
        %bothcond2 = or bool %tmp152, %tmp159           ; <bool> [#uses=1]
To setne, not setune, which causes an assertion fault.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28244  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-05-12 17:03:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2cfd6746ae 
					 
					
						
						
							
							Fold shifts with undef operands.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28167  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-05-08 17:29:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b9ebacdb4d 
					 
					
						
						
							
							constant fold sign_extend_inreg  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28151  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-05-06 23:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a83385fb7b 
					 
					
						
						
							
							Fix Regression/CodeGen/Generic/2006-04-26-SetCCAnd.ll and  
						
						... 
						
						
						
						PR748.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27987  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-27 05:01:07 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						37efe67645 
					 
					
						
						
							
							JumpTable support!  What this represents is working asm and jit support for  
						
						... 
						
						
						
						x86 and ppc for 100% dense switch statements when relocations are non-PIC.
This support will be extended and enhanced in the coming days to support
PIC, and less dense forms of jump tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27947  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-22 18:53:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						62b5772959 
					 
					
						
						
							
							Implement folding of a bunch of binops with undef  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27863  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-20 05:39:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						547a16f273 
					 
					
						
						
							
							Make these predicates return true for bit_convert(buildvector)'s as well as  
						
						... 
						
						
						
						buildvectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27723  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-15 23:38:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fdfded5588 
					 
					
						
						
							
							Implement support for the formal_arguments node.  To get this, targets shouldcustom legalize it and remove their XXXTargetLowering::LowerArguments overload  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27604  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-12 16:20:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9d956250f5 
					 
					
						
						
							
							Don't memoize vloads in the load map!  Don't memoize them anywhere here, let  
						
						... 
						
						
						
						getNode do it.  This fixes CodeGen/Generic/2006-04-11-vecload.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27602  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-12 03:25:41 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b22e35a3c3 
					 
					
						
						
							
							Add code generator support for VSELECT  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27542  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-08 22:22:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						08da55eeff 
					 
					
						
						
							
							Constant fold bitconvert(undef)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27391  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-04 01:02:22 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5e08a11039 
					 
					
						
						
							
							These entries already exist  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27340  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-02 02:51:27 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						97d23335ad 
					 
					
						
						
							
							Add some missing node names  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27339  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-04-02 02:41:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						70c2a61e0a 
					 
					
						
						
							
							Significantly improve handling of vectors that are live across basic blocks,  
						
						... 
						
						
						
						handling cases where the vector elements need promotion, expansion, and when
the vector type itself needs to be decimated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27278  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-31 02:06:56 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						354cde9a7e 
					 
					
						
						
							
							new node  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27231  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-28 19:54:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f35b29765b 
					 
					
						
						
							
							Add an assertion  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27228  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-28 19:04:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						48b61a729d 
					 
					
						
						
							
							Tblgen doesn't like multiple SDNode<> definitions that map to the sameenum value.  Split them into separate enums.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27201  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-28 00:40:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						401ec7f6a9 
					 
					
						
						
							
							Unbreak the build on non-apple compilers :-(  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27173  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 16:10:59 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						23cc8708c3 
					 
					
						
						
							
							Try again  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27171  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 08:10:26 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						f48b50a7ef 
					 
					
						
						
							
							Incorrect check for FP all one's  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27169  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 07:26:17 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						a8df166fbe 
					 
					
						
						
							
							Change isBuildVectorAllOnesInteger to isBuildVectorAllOnes. Also check for  
						
						... 
						
						
						
						floating point cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27165  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 06:58:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						70a248d284 
					 
					
						
						
							
							Instead of printing "INTRINSIC" on intrinsic node, print the intrinsic name.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27164  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 06:45:25 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						4a147842eb 
					 
					
						
						
							
							Add ISD::isBuildVectorAllZeros predicate  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27147  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-26 09:50:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						452e8354d5 
					 
					
						
						
							
							Fix a bug in ISD::isBuildVectorAllOnesInteger that  caused it to always return  
						
						... 
						
						
						
						false
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27131  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-25 22:59:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						61d4399dfc 
					 
					
						
						
							
							Implement the ISD::isBuildVectorAllOnesInteger predicate  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27130  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-25 22:57:01 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e8a30fdf51 
					 
					
						
						
							
							fix some bogus assertions: noop bitconverts are legal  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27032  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 02:20:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3e8f3ce8f6 
					 
					
						
						
							
							Identify the INTRINSIC node  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27020  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 01:04:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e25ca692c0 
					 
					
						
						
							
							Implement simple support for vector casting.  This can currently only handle  
						
						... 
						
						
						
						casts between legal vector types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26961  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-22 20:09:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						384504cea6 
					 
					
						
						
							
							add some trivial support for extractelement.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26928  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-21 20:44:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1c6191ffe7 
					 
					
						
						
							
							Add a hacky workaround for crashes due to vectors live across blocks.  
						
						... 
						
						
						
						Note that this code won't work for vectors that aren't legal on the
target.  Improvements coming.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26925  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-21 19:20:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fb194b9e73 
					 
					
						
						
							
							Add very basic support for VECTOR_SHUFFLE  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26880  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 23:56:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ce87215131 
					 
					
						
						
							
							Add SCALAR_TO_VECTOR support  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26866  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 06:31:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b2827b0901 
					 
					
						
						
							
							Rename ConstantVec -> BUILD_VECTOR and VConstant -> VBUILD_VECTOR.  Allow*BUILD_VECTOR to take variable inputs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26847  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 00:52:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c7029805ef 
					 
					
						
						
							
							Change the structure of lowering vector stuff.  Note: This breaks some  
						
						... 
						
						
						
						things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26840  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-18 01:44:44 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0c486bdc22 
					 
					
						
						
							
							add a couple enum values  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26830  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-17 19:53:59 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						81e8097377 
					 
					
						
						
							
							Remove BRTWOWAY*  
						
						... 
						
						
						
						Make the PPC backend not dependent on BRTWOWAY_CC and make the branch
selector smarter about the code it generates, fixing a case in the
readme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26814  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-17 01:40:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						28b5b1c7b5 
					 
					
						
						
							
							add support for vector->vector casts  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26788  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-15 22:19:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3c232c83be 
					 
					
						
						
							
							Don't depend on the C99 copysign function, implement it ourselves.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26566  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-05 23:57:58 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Cohen 
							
						 
					 
					
						
						
							
						
						3d68e15c20 
					 
					
						
						
							
							Fix VC++ compilation error.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26554  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-05 21:43:37 +00:00