Dale Johannesen 
							
						 
					 
					
						
						
							
						
						e345566f8e 
					 
					
						
						
							
							Adjustments to last patch based on review.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61969  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-09 01:30:11 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b7c6bf1e07 
					 
					
						
						
							
							Do now allow InlineAlways pass to remove dead functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58744  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-11-05 01:39:16 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c5e1ec47c7 
					 
					
						
						
							
							Add InlineCost class for represent the estimated cost of inlining a  
						
						... 
						
						
						
						function.
 - This explicitly models the costs for functions which should
   "always" or "never" be inlined. This fixes bugs where such costs
   were not previously respected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58450  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-10-30 19:26:59 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						f184c66e71 
					 
					
						
						
							
							Assorted comment/naming fixes, 80-col violations, and reindentation.  
						
						... 
						
						
						
						- No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58352  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-10-28 23:24:26 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2c9c3e7368 
					 
					
						
						
							
							Implement function notes as function attributes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56716  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-26 23:51:19 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0598866c05 
					 
					
						
						
							
							Large mechanical patch.  
						
						... 
						
						
						
						s/ParamAttr/Attribute/g
s/PAList/AttrList/g
s/FnAttributeWithIndex/AttributeWithIndex/g
s/FnAttr/Attribute/g
This sets the stage 
- to implement function notes as function attributes and 
- to distinguish between function attributes and return value attributes.
This requires corresponding changes in llvm-gcc and clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56622  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-25 21:00:45 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						20bcaff6a7 
					 
					
						
						
							
							Put FN_NOTE_AlwaysInline and others in FnAttr namespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56527  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-24 00:06:15 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						dd4924c564 
					 
					
						
						
							
							Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.  
						
						... 
						
						
						
						Do not check isDeclaration() in hasNote(). It is clients' responsibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56524  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-23 23:52:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d9b4a5f859 
					 
					
						
						
							
							Use parameter attribute store (soon to be renamed) for  
						
						... 
						
						
						
						Function Notes also. Function notes are stored at index ~0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56511  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-23 22:35:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f3ba70861c 
					 
					
						
						
							
							Add hasNote() to check note associated with a function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56477  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-22 22:32:29 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7946e7b8a4 
					 
					
						
						
							
							Fix typo in a comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55720  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-03 20:25:40 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3fb68373c4 
					 
					
						
						
							
							Fix comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55716  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-03 19:52:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						22ec199fa0 
					 
					
						
						
							
							Add custom inliner that handles only functions that are marked as always_inline.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55713  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-03 18:50:53 +00:00