Andreas Neustifter 
							
						 
					 
					
						
						
							
						
						e2baf6b455 
					 
					
						
						
							
							Converted ProfileInfo to template, added more API for ProfileInfo-preserving.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90445  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-12-03 09:30:12 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						f5a86f45e7 
					 
					
						
						
							
							Remove includes of Support/Compiler.h that are no longer needed after the  
						
						... 
						
						
						
						VISIBILITY_HIDDEN removal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85043  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-25 06:57:41 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						6726b6d75a 
					 
					
						
						
							
							Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.  
						
						... 
						
						
						
						Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85042  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-25 06:33:48 +00:00 
						 
				 
			
				
					
						
							
							
								Andreas Neustifter 
							
						 
					 
					
						
						
							
						
						07abe17bd2 
					 
					
						
						
							
							Add the first functions for updating ProfileInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81359  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-09 17:52:57 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						4bac4b9899 
					 
					
						
						
							
							Move ProfileInfo::Edge's operator<< out of line. Among other benefits,  
						
						... 
						
						
						
						this eliminates the ATTRIBUTE_USED, which wasn't being used in a manner
acceptable to some GCC versions, according to the buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80103  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-26 15:56:38 +00:00 
						 
				 
			
				
					
						
							
							
								Andreas Neustifter 
							
						 
					 
					
						
						
							
						
						3772fb11fe 
					 
					
						
						
							
							Moved isDeclaration() check further down to allow for function counts for  
						
						... 
						
						
						
						declarations if necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80084  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-26 13:33:09 +00:00 
						 
				 
			
				
					
						
							
							
								Andreas Neustifter 
							
						 
					 
					
						
						
							
						
						96135b617a 
					 
					
						
						
							
							This patch cleans up the ProfileInfo by  
						
						... 
						
						
						
						*) introducing new data type and export function of edge info for whole function (preparation for next patch).
*) renaming variables to make clear distinction between data and containers that contain this data.
*) updated comments and whitespaces.
*) made ProfileInfo::MissingValue a double (as it should be...).
(Discussed at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090817/084955.html .)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79940  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-24 21:37:48 +00:00 
						 
				 
			
				
					
						
							
							
								Andreas Neustifter 
							
						 
					 
					
						
						
							
						
						0a324aa53a 
					 
					
						
						
							
							Broke line before break.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79404  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-19 05:44:39 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c43782cf71 
					 
					
						
						
							
							Some ProfileInfo cleanups.  
						
						... 
						
						
						
						- Part of optimal static profiling patch sequence by Andreas Neustifter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78485  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-08 18:59:03 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						caaa49336b 
					 
					
						
						
							
							More ProfileInfo improvements.  
						
						... 
						
						
						
						- Part of optimal static profiling patch sequence by Andreas Neustifter.
 - Store edge, block, and function information separately for each functions
   (instead of in one giant map).
 - Return frequencies as double instead of int, and use a sentinel value for
   missing information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78477  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-08 17:43:09 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c9008c5cc7 
					 
					
						
						
							
							Make block and function count available via ProfileInfo.  
						
						... 
						
						
						
						- Part of optimal static profiling patch sequence by Andreas Neustifter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78247  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-05 21:51:16 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						858cb8a5e0 
					 
					
						
						
							
							ProfileInfo interface tweaks.  
						
						... 
						
						
						
						- Add getExecutionCount(const Function).
 - Add helper Edge type.
 - constify.
 - No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75623  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 06:58:59 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						ae73dc1448 
					 
					
						
						
							
							Tidy up several unbeseeming casts from pointer to intptr_t.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55779  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-04 17:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						844731a7f1 
					 
					
						
						
							
							Clean up the use of static and anonymous namespaces. This turned up  
						
						... 
						
						
						
						several things that were neither in an anonymous namespace nor static
but not intended to be global.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51017  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-13 00:00:25 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						4f4c28f75f 
					 
					
						
						
							
							Restore isCFGOnly property of various analysis passes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48579  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-03-20 02:25:21 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c758209153 
					 
					
						
						
							
							PassInfo keep tracks whether a pass is an analysis pass or not.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48554  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-03-19 21:56:59 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4ee451de36 
					 
					
						
						
							
							Remove attribution from file headers, per discussion on llvmdev.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-29 20:36:04 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1997473cf7 
					 
					
						
						
							
							Drop 'const'  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-03 01:11:54 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3e15bf33e0 
					 
					
						
						
							
							Use 'static const char' instead of 'static const int'.  
						
						... 
						
						
						
						Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36652  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-02 21:39:20 +00:00 
						 
				 
			
				
					
						
							
							
								Lauro Ramos Venancio 
							
						 
					 
					
						
						
							
						
						c718288f49 
					 
					
						
						
							
							Fix build error.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36648  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-02 20:37:47 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						794fd75c67 
					 
					
						
						
							
							Do not use typeinfo to identify pass in pass manager.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36632  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-01 21:15:47 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						ecb7a77885 
					 
					
						
						
							
							Change uses of Function::front to Function::getEntryBlock for readability.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35265  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-03-22 16:38:57 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						d7d83db5f2 
					 
					
						
						
							
							Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce  
						
						... 
						
						
						
						LLVM's footprint and speed up linking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33941  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-02-05 23:42:17 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a5370172b6 
					 
					
						
						
							
							simplify AnalysisGroup registration, eliminating one typeid call.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29932  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-08-28 00:42:29 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7f8897f22e 
					 
					
						
						
							
							eliminate RegisterOpt.  It does the same thing as RegisterPass.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29925  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-08-27 22:42:52 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						2b37d7cf28 
					 
					
						
						
							
							Remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21416  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-21 21:13:18 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Cohen 
							
						 
					 
					
						
						
							
						
						534927d82d 
					 
					
						
						
							
							Add even more missing createXxxPass functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19402  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-08 22:01:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						96ab5caf2d 
					 
					
						
						
							
							Switch to using edge profiling information as the basic source of profile info  
						
						... 
						
						
						
						from using basic block counts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12242  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-08 22:04:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						62e84f376b 
					 
					
						
						
							
							Refactor implementations  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12240  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-08 21:30:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ecefc96f05 
					 
					
						
						
							
							Fix copy-and-pastos  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11319  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-02-11 06:10:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b060194a70 
					 
					
						
						
							
							Make sure to register the 'no profile' implementation as the default for ProfileInfo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11309  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-02-11 04:47:54 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						171de656eb 
					 
					
						
						
							
							An initial implementation of an LLVM ProfileInfo class which is designed to  
						
						... 
						
						
						
						eventually allow Passes to use profiling information to direct them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11294  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-02-10 22:11:42 +00:00