Pete Cooper  
		
	
	393c054cd2 
	
	
	Construct ArrayRef<const T*> from vector<T>  
		
			... 
			ArrayRef already has a SFINAE constructor which can construct ArrayRef<const T*> from ArrayRef<T*>.
This adds methods to do the same directly from SmallVector and std::vector.  This avoids an intermediate step through the use of makeArrayRef.
Also update the users of this in LICM and SROA to remove the now unnecessary makeArrayRef call.
Reviewed by David Blaikie.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237309  91177308-0d34-0410-b5e6-96231b3b80d8 
		
	 
 
		2015-05-13 22:43:09 +00:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2015-05-01 15:16:11 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-25 16:49:59 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-05 00:17:43 +00:00 
		 
	
		
			
			
			
			
			
			2015-05-13 22:43:09 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-03 18:39:00 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2015-03-03 19:53:04 +00:00 
		 
	
		
			
			
			
			
			
			2015-04-10 12:46:44 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2014-12-06 19:22:44 +00:00 
		 
	
		
			
			
			
			
			
			2015-05-08 21:17:24 +00:00 
		 
	
		
			
			
			
			
			
			2015-05-02 21:34:39 +00:00 
		 
	
		
			
			
			
			
			
			2015-04-11 18:57:14 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-20 20:30:47 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-23 18:07:13 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2015-04-11 18:57:14 +00:00 
		 
	
		
			
			
			
			
			
			2014-08-13 16:26:38 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-15 13:26:03 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-17 05:49:45 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-02 22:20:22 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2015-03-12 18:45:07 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-23 18:07:13 +00:00 
		 
	
		
			
			
			
			
			
			2015-01-11 01:16:26 +00:00 
		 
	
		
			
			
			
			
			
			2015-04-11 18:57:14 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-25 00:50:21 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-20 13:16:05 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:00:20 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2014-03-15 18:10:49 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-20 20:30:47 +00:00 
		 
	
		
			
			
			
			
			
			2015-04-15 19:36:10 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2014-04-25 20:52:08 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2014-11-19 07:49:26 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-03 18:39:00 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
			
			
			
			
			
			2014-11-19 07:49:26 +00:00 
		 
	
		
			
			
			
			
			
			2014-03-09 06:22:58 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-02 21:16:04 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-12 15:35:40 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
			
			
			
			
			
			2014-04-07 06:59:39 +00:00 
		 
	
		
			
			
			
			
			
			2015-05-13 22:19:13 +00:00 
		 
	
		
			
			
			
			
			
			2014-07-14 21:56:54 +00:00 
		 
	
		
			
			
			
			
			
			2015-02-15 22:54:22 +00:00 
		 
	
		
			
			
			
			
			
			2015-03-21 16:42:35 +00:00 
		 
	
		
			
			
			
			
			
			2014-11-19 02:56:00 +00:00 
		 
	
		
			
			
			
			
			
			2014-04-07 04:17:22 +00:00 
		 
	
		
			
			
			
			
			
			2015-01-19 03:25:33 +00:00 
		 
	
		
			
			
			
			
			
			2015-04-30 20:08:44 +00:00 
		 
	
		
			
			
			
			
			
			2015-04-15 11:27:32 +00:00 
		 
	
		
			
			
			
			
			
			2014-06-27 18:19:56 +00:00 
		 
	
		
			
			
			
			
			
			2014-08-27 05:25:25 +00:00