Chris Lattner 
							
						 
					 
					
						
						
							
						
						07a38e7b77 
					 
					
						
						
							
							Make the call graph more precise despite the hated constantpointerrefs.  
						
						... 
						
						
						
						Do you detect the animosity I feel towards CPRs yet?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9640  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-31 21:05:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						14fffaf6c1 
					 
					
						
						
							
							When someone includes CallGraph.h, make sure that they link in CallGraph.cpp  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9611  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-30 05:17:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c2bcde4da0 
					 
					
						
						
							
							Fix PR62, and llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll  
						
						... 
						
						
						
						ConstantExpr's can use unrelated types, make sure to scan them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9569  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-28 23:09:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						472a7ef1cb 
					 
					
						
						
							
							Fix bug: CBackend/2003-10-23-UnusedType.ll and hopefully 252.eon  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9441  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-23 19:30:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b7c4c992be 
					 
					
						
						
							
							This is a disgusting hack that improves code substantially, by making  
						
						... 
						
						
						
						callgraphSCC passes more effective.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9384  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-22 18:53:31 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						59dc17873d 
					 
					
						
						
							
							Do not add unreachable code to a natural loop!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9377  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-22 16:41:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d073ea0053 
					 
					
						
						
							
							Make sure to print labels on nodes without names  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9376  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-22 16:30:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a75b3ef9a8 
					 
					
						
						
							
							If the basic block has no name, make sure to print the % number of it  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9375  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-22 16:22:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						002362c837 
					 
					
						
						
							
							Implement the Function::viewCFG* methods, for use in a debugger.  Also, the  
						
						... 
						
						
						
						-print-cfg pass now lives here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9374  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-22 16:03:49 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						856ba76200 
					 
					
						
						
							
							Added LLVM copyright header.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9321  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-21 15:17:13 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						e488e9360b 
					 
					
						
						
							
							Added LLVM copyright notice to Makefiles.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9312  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 22:26:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e9d3c6b919 
					 
					
						
						
							
							Convert this code from using annotations to using a local map  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9310  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 20:52:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0beae0cdac 
					 
					
						
						
							
							Remove using declaration  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9307  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 20:38:17 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						b576c94c15 
					 
					
						
						
							
							Added LLVM project notice to the top of every C++ source file.  
						
						... 
						
						
						
						Header files will be on the way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 19:43:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3b237fcd38 
					 
					
						
						
							
							Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9269  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-19 21:34:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						50b5d71cb7 
					 
					
						
						
							
							Make use of "external" depth-first iterators to avoid revisiting nodes  
						
						... 
						
						
						
						multiple times.  This reduces the time to construct post-dominance sets a LOT.
For example, optimizing perlbmk goes from taking 12.9894s to 1.4074s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9091  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-13 16:36:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						cf3056db0f 
					 
					
						
						
							
							Regularize header file comments  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9071  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-13 03:32:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2ef1236e4a 
					 
					
						
						
							
							Make getNumBackEdges more efficient  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9063  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-12 22:14:27 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						cf00c4ab3b 
					 
					
						
						
							
							Fix spelling.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-10 17:57:28 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						b5c1af4773 
					 
					
						
						
							
							Use std::string::size_type for for ColonPos to stop gcc from giving a warning  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8811  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-01 22:49:22 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fbc2d84ce9 
					 
					
						
						
							
							DOn't crash if program calls the null pointer  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8708  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-24 23:42:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						03f252f1eb 
					 
					
						
						
							
							Remove explicit use of BasicBlock::succ_iterator  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8706  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-24 22:18:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						11fc9301fb 
					 
					
						
						
							
							Functions reachable from the arguments of unresolvable call nodes should  
						
						... 
						
						
						
						not have their arguments marked complete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8639  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 23:58:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ec157b7cde 
					 
					
						
						
							
							The Globals graph must become complete at the end of the BU phase!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8638  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 23:27:05 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3b0a9be238 
					 
					
						
						
							
							Do not mark incoming arguments to functions complete if the function is pointed to by a global in the globals graph  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8637  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 22:24:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						26c4fc3b69 
					 
					
						
						
							
							Make sure to add global variable initializers to the Globals graph!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8636  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 21:48:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9970bf6288 
					 
					
						
						
							
							Don't consider incomplete nodes to be typesafe!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8635  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 21:48:01 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bab8c28924 
					 
					
						
						
							
							Remove trivially dead nodes was not removing nodes that were dead due to forwarding!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8634  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 21:34:07 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						894263bc9f 
					 
					
						
						
							
							Add special case handling for calloc and realloc  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8630  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 16:50:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						808a7aeec7 
					 
					
						
						
							
							Switch from using CallInst's to represent call sites to using the LLVM  
						
						... 
						
						
						
						CallSite class.  Now we can represent function calls by invoke instructions
too!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8629  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 16:34:13 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						192cd9cccd 
					 
					
						
						
							
							Make this work better for constants that aren't necessarily in ANY graph, such as null pointers  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8628  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 16:12:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c1820036bd 
					 
					
						
						
							
							Fix bug: BasicAA/2003-09-19-LocalArgument.ll  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8615  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 03:08:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7892549796 
					 
					
						
						
							
							Keep track of the number of typed/untyped memory accesses theyre are in the program  
						
						... 
						
						
						
						VS: ----------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8611  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 01:20:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f52d01bbc5 
					 
					
						
						
							
							These two conditions are not exclusive!!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8518  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-15 04:35:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b31247a840 
					 
					
						
						
							
							Make the print output more useful  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8517  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-15 04:29:37 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						2f2d06506c 
					 
					
						
						
							
							Fixed spelling and grammar.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8478  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-11 18:14:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c444a4228f 
					 
					
						
						
							
							Renamed DominatorTree::Node::getNode() -> getBlock()  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8469  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-11 16:26:13 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						7bc439a4b6 
					 
					
						
						
							
							Spell `definitely' correctly.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8466  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-11 15:31:17 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						706e61ead9 
					 
					
						
						
							
							Rework post dominator information so that we do not have to  
						
						... 
						
						
						
						unify all exit nodes of a function to compute post-dominance information.
This does not work with functions that have both unwind and return nodes,
because we cannot unify these blocks.  The new implementation is better
anyway. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8460  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 20:37:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2446b0aaaf 
					 
					
						
						
							
							Remove using declarations  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8442  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 16:08:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a176a8bb39 
					 
					
						
						
							
							another trivial cleanup  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8435  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 14:55:05 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						44abf85ae7 
					 
					
						
						
							
							Simplification of trip counting machinery.  
						
						... 
						
						
						
						- make sure to check the indvar type before anything else (efficiency)
  - Make sure to insert the 'add' into the program, even though it'll be
    dead
  - Wrap code at 80 columns
  - Other minor cleanups to reduce indentation level
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8434  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 14:51:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						69ecd0d7e7 
					 
					
						
						
							
							Spelling fixes  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8429  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 05:24:09 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f6e5233fc7 
					 
					
						
						
							
							clean up file header comment  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8427  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 05:08:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						36836a6eb2 
					 
					
						
						
							
							Simplify some code  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8426  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-10 04:49:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bd70a31c51 
					 
					
						
						
							
							Fix bug: RLE-Preserve-Volatile.ll  
						
						... 
						
						
						
						Volatile loads and stores must not be value numbered
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8398  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-08 18:13:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						47c97513a8 
					 
					
						
						
							
							This file is hopelessly out of date  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8298  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-01 20:14:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						758fefc0f0 
					 
					
						
						
							
							Final cleanup: remove dead code  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8291  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-01 18:01:36 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						273328e8e0 
					 
					
						
						
							
							Not only is this a lot smaller, it actually works if there is already a  
						
						... 
						
						
						
						function with the right name in the module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8290  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-01 16:53:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						09a670587a 
					 
					
						
						
							
							If "These should be used only by the auto-parallelization pass", we might as  
						
						... 
						
						
						
						well put them INTO the auto-par pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8288  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-01 16:49:38 +00:00