263b0a1669 
								
							 
						 
						
							
							
								
								Only cound if we actually made a change.  
							
							... 
							
							
							
							llvm-svn: 18800 
							
						 
						
							2004-12-11 17:00:14 +00:00  
				
					
						
							
							
								 
						
							
								5a8b003a09 
								
							 
						 
						
							
							
								
								Remove note to self  
							
							... 
							
							
							
							llvm-svn: 17734 
							
						 
						
							2004-11-14 06:57:47 +00:00  
				
					
						
							
							
								 
						
							
								af555adc15 
								
							 
						 
						
							
							
								
								If a function always returns a constant, replace all calls sites with that  
							
							... 
							
							
							
							constant value.  This makes the return value dead and allows for
simplification in the caller.
This implements IPConstantProp/return-constant.ll
This triggers several dozen times throughout SPEC.
llvm-svn: 17730 
							
						 
						
							2004-11-14 06:10:11 +00:00  
				
					
						
							
							
								 
						
							
								9621dfab3f 
								
							 
						 
						
							
							
								
								Actually, leave the check in.  This prevents us from counting dead arguments  
							
							... 
							
							
							
							as IPCP opportunities.
llvm-svn: 17680 
							
						 
						
							2004-11-11 07:47:54 +00:00  
				
					
						
							
							
								 
						
							
								5fa696f8e4 
								
							 
						 
						
							
							
								
								Fix bug: IPConstantProp/deadarg.ll  
							
							... 
							
							
							
							llvm-svn: 17679 
							
						 
						
							2004-11-11 07:46:29 +00:00  
				
					
						
							
							
								 
						
							
								c1d24cd859 
								
							 
						 
						
							
							
								
								Make IP Constant prop more aggressive about handling self recursive calls.  
							
							... 
							
							
							
							This implements IPConstantProp/recursion.ll
llvm-svn: 17666 
							
						 
						
							2004-11-10 19:43:59 +00:00  
				
					
						
							
							
								 
						
							
								0d3773d8b1 
								
							 
						 
						
							
							
								
								Do not let dead constant expressions hanging off of functions prevent IPCP.  
							
							... 
							
							
							
							This allows to elimination of a bunch of global pool descriptor args from
programs being pool allocated (and is also generally useful!)
llvm-svn: 17657 
							
						 
						
							2004-11-09 20:47:30 +00:00  
				
					
						
							
							
								 
						
							
								4f2cf030e8 
								
							 
						 
						
							
							
								
								'Pass' should now not be derived from by clients.  Instead, they should derive  
							
							... 
							
							
							
							from ModulePass.  Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.
llvm-svn: 16436 
							
						 
						
							2004-09-20 04:48:05 +00:00  
				
					
						
							
							
								 
						
							
								7c16caa336 
								
							 
						 
						
							
							
								
								Changes For Bug 352  
							
							... 
							
							
							
							Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 
							
						 
						
							2004-09-01 22:55:40 +00:00  
				
					
						
							
							
								 
						
							
								199aeb7f59 
								
							 
						 
						
							
							
								
								Avoid an unnecessary isa<Constant>.  
							
							... 
							
							
							
							llvm-svn: 14963 
							
						 
						
							2004-07-18 08:31:18 +00:00  
				
					
						
							
							
								 
						
							
								ef784f01dd 
								
							 
						 
						
							
							
								
								bug 122:  
							
							... 
							
							
							
							- Minimize redundant isa<GlobalValue> usage
llvm-svn: 14948 
							
						 
						
							2004-07-18 00:32:14 +00:00  
				
					
						
							
							
								 
						
							
								f52e03c79e 
								
							 
						 
						
							
							
								
								Finegrainify namespacification  
							
							... 
							
							
							
							llvm-svn: 10138 
							
						 
						
							2003-11-21 21:54:22 +00:00  
				
					
						
							
							
								 
						
							
								960707c335 
								
							 
						 
						
							
							
								
								Put all LLVM code into the llvm namespace, as per bug 109.  
							
							... 
							
							
							
							llvm-svn: 9903 
							
						 
						
							2003-11-11 22:41:34 +00:00  
				
					
						
							
							
								 
						
							
								5e004e8ce0 
								
							 
						 
						
							
							
								
								Propagating constants to arguments can make other arguments constant.  For now  
							
							... 
							
							
							
							do something dumb, and inefficient, but more complete.
llvm-svn: 9542 
							
						 
						
							2003-10-27 21:09:00 +00:00  
				
					
						
							
							
								 
						
							
								12b78db685 
								
							 
						 
						
							
							
								
								We might as well strip off any CPRs before propagation  
							
							... 
							
							
							
							llvm-svn: 9437 
							
						 
						
							2003-10-23 18:49:23 +00:00  
				
					
						
							
							
								 
						
							
								f516c698ff 
								
							 
						 
						
							
							
								
								Check in initial version of ipcp  
							
							... 
							
							
							
							llvm-svn: 9423 
							
						 
						
							2003-10-23 16:52:27 +00:00