Chris Lattner 
							
						 
					 
					
						
						
							
						
						29874e0dc6 
					 
					
						
						
							
							Factor some code into a new FoldSingleEntryPHINodes method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60501  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-12-03 19:44:02 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4f02c74a8e 
					 
					
						
						
							
							Enhance RecursivelyDeleteTriviallyDeadInstructions to optionally  
						
						... 
						
						
						
						return a list of deleted instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60193  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-11-27 23:14:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3481f24c06 
					 
					
						
						
							
							remove doConstantPropagation and dceInstruction, they are just  
						
						... 
						
						
						
						wrappers around the interesting code and use an obscure iterator
abstraction that dates back many many years.
Move EraseDeadInstructions to Transforms/Utils and name it
RecursivelyDeleteTriviallyDeadInstructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60191  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-11-27 22:57:53 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b29714a10a 
					 
					
						
						
							
							move MergeBasicBlockIntoOnlyPred to Transforms/Utils.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60162  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-11-27 07:43:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7ed47a1335 
					 
					
						
						
							
							Don't attribute in file headers anymore.  See llvmdev for the  
						
						... 
						
						
						
						discussion of this change.  Boy are my fingers tired. ;-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-29 19:59:42 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						a024e8ceda 
					 
					
						
						
							
							Reg2Mem cleanup and optimizations:  
						
						... 
						
						
						
						- enable phi instructions demotion to stack
 - create alloca instructions in the entry block
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43208  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-10-21 23:05:16 +00:00 
						 
				 
			
				
					
						
							
							
								Tanya Lattner 
							
						 
					 
					
						
						
							
						
						08d14d2469 
					 
					
						
						
							
							Adding ability to demote phi to stack.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39744  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-11 18:41:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						997c74ce35 
					 
					
						
						
							
							move constant folding code out of Utils/Local into libanalysis  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33681  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-01-30 23:46:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						73259caa44 
					 
					
						
						
							
							Change constant folding APIs to take an optional TargetData, and change  
						
						... 
						
						
						
						ConstantFoldInstOperands/ConstantFoldCall to take a pointer to an array
of operands + size, instead of an std::vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33669  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-01-30 23:12:47 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						e4d87aa2de 
					 
					
						
						
							
							For PR950:  
						
						... 
						
						
						
						This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32751  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-23 06:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b5a554ec80 
					 
					
						
						
							
							Add an interface to constant fold and instruction given it's opcode, type  
						
						... 
						
						
						
						and operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28516  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-05-27 01:17:40 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						bd9d37026a 
					 
					
						
						
							
							Move some constant folding functions into LLVMAnalysis since they are used  
						
						... 
						
						
						
						by Analysis and Transformation passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24038  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-10-27 16:00:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						cc0f703f42 
					 
					
						
						
							
							allow demotion to volatile values  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23472  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-09-27 19:38:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c5406b55d5 
					 
					
						
						
							
							add a new function  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23443  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-09-26 05:26:32 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						a83ba0f5c9 
					 
					
						
						
							
							Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization into  
						
						... 
						
						
						
						BasicBlock's removePredecessor routine.  This requires shuffling around
the definition and implementation of hasContantValue from Utils.h,cpp into
Instructions.h,cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22664  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-08-04 23:24:19 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						34695381d6 
					 
					
						
						
							
							Remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21412  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-21 20:59:05 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a2631b0225 
					 
					
						
						
							
							Add new interfaces  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12918  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-13 19:28:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8f71b63bea 
					 
					
						
						
							
							cleanup comment  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12463  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-17 01:29:36 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						cbf99ee973 
					 
					
						
						
							
							Move DemoteRegToStack prototype out of DemoteRegToStack.h to this file.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12367  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-14 02:13:07 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						77ab3f1c89 
					 
					
						
						
							
							llvm::ConstantFoldInstruction  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10787  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-01-12 18:25:56 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						abbc2dd779 
					 
					
						
						
							
							Add new function  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10529  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-19 05:56:28 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						d0fde30ce8 
					 
					
						
						
							
							Put all LLVM code into the llvm namespace, as per bug 109.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-11-11 22:41:34 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						6fbcc26f14 
					 
					
						
						
							
							Added LLVM copyright header (for lack of a better term).  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9304  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 20:19:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						48486893f4 
					 
					
						
						
							
							Standardize header file comments  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-30 18:37:50 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						82c89b9f3a 
					 
					
						
						
							
							Hopefully, the final fix for `[Pp]ropogate'.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-05-20 21:01:22 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						04d8dc31f6 
					 
					
						
						
							
							- Do not expose Critical Edge breaking mechanics outside the BCE pass, thus  
						
						... 
						
						
						
						removing it from Transforms/Local.h and from Transforms/Utils/*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3909  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-24 15:51:54 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ca8474e7f2 
					 
					
						
						
							
							- Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdge  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3587  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-06 02:35:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3e57cb98bd 
					 
					
						
						
							
							* Doxygenize API  
						
						... 
						
						
						
						* Add new functions for identifying and breaking critical edges
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3586  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-06 02:19:25 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b041eb5dd4 
					 
					
						
						
							
							Remove duplicate #include  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3567  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-02 04:04:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						18961504fc 
					 
					
						
						
							
							*** empty log message ***  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2777  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-06-25 16:12:52 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a338016c7c 
					 
					
						
						
							
							Simplify the interface to local dce and constprop  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2750  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-05-26 20:18:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						76ae3445f8 
					 
					
						
						
							
							Simplify interface to ConstantFoldTerminator  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2697  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-05-21 20:04:50 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						148a0bfcea 
					 
					
						
						
							
							Checkin headers for Utils library  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2528  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-05-07 18:52:48 +00:00