Chris Lattner 
							
						 
					 
					
						
						
							
						
						cea141f1d1 
					 
					
						
						
							
							Change ConstantArray::replaceUsesOfWithOnConstant to attempt to update  
						
						... 
						
						
						
						constant arrays in place instead of reallocating them and replaceAllUsesOf'ing
the result.  This speeds up a release build of the bcreader from:
136.987u 120.866s 4:24.38
to
49.790u 49.890s 1:40.14
... a 2.6x speedup parsing a large python bc file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23614  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-10-03 22:51:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5cbade9f83 
					 
					
						
						
							
							move some methods, no other changes  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23613  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-10-03 21:58:36 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						dfdd6c5d7a 
					 
					
						
						
							
							minor microoptimizations  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23612  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-10-03 21:56:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						df0ef1d0fe 
					 
					
						
						
							
							Split SimpleConstantVal up into its components, so each Constant subclass getsa different enum value.  This allows 'classof' for these to be really simple,not needing to call getType() anymore.  
						
						... 
						
						
						
						This speeds up isa/dyncast/etc for constants, and also makes them smaller.
For example, the text section of a release build of InstCombine.cpp shrinks
from 230037 bytes to 216363 bytes, a 6% reduction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23467  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-09-27 06:09:08 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Laskey 
							
						 
					 
					
						
						
							
						
						3a1eff732b 
					 
					
						
						
							
							Move code dependency for MathExtras.h out of Constants.h.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22840  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-08-17 20:06:22 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Laskey 
							
						 
					 
					
						
						
							
						
						cb6682fa44 
					 
					
						
						
							
							Culling out use of unions for converting FP to bits and vice versa.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22838  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-08-17 19:34:49 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						fd93908ae8 
					 
					
						
						
							
							Remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-21 23:48:37 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						1cecd3a1d2 
					 
					
						
						
							
							Add new function getPtrPtrFromArrayPtr().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20684  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-19 11:40:31 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						9dbf1e5bb8 
					 
					
						
						
							
							Fix a typo in an assertion comment.  
						
						... 
						
						
						
						Patch contributed by Vladimir Merzliakov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20529  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-09 15:19:41 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0d1e40728d 
					 
					
						
						
							
							remove all of the various setName implementations, consolidating them into  
						
						... 
						
						
						
						Value::setName, which is no longer virtual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20464  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-05 19:51:50 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ffdb920ec2 
					 
					
						
						
							
							Constants never get names.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20459  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-05 19:01:59 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e467147b30 
					 
					
						
						
							
							Adjust to changes in User class.  Aggregate constants now must explicitly  
						
						... 
						
						
						
						manage their operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19890  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-29 00:34:39 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						1bae291cb9 
					 
					
						
						
							
							Fix grammar  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19854  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-27 06:46:38 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f5ac6c27ac 
					 
					
						
						
							
							Allow getZeroExtend and getSignExtend to work with boolean inputs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19210  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-01-01 15:59:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fcdd82e4a9 
					 
					
						
						
							
							Change this method to return ulong, not uint, for 64-bit targets.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18906  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-13 19:48:51 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						574cdb32a0 
					 
					
						
						
							
							Revert the recent patches to "fix" ConstantFP::isValueValidForType. None  
						
						... 
						
						
						
						of them seem to work everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18598  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-07 07:38:08 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						e2432596ac 
					 
					
						
						
							
							Provide a missing header file.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18597  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-07 07:08:08 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						79457c791e 
					 
					
						
						
							
							Fix some comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18596  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-07 07:06:47 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						eb61d60e1b 
					 
					
						
						
							
							Fix check for valid floats.  Also use and HUGE_VALF instead  
						
						... 
						
						
						
						of std::numeric_limits, because they work in more platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18593  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-07 06:46:50 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						b9ce8b3f1b 
					 
					
						
						
							
							For PR409: \  
						
						... 
						
						
						
						Test the range of float constants to ensure we are not attempting to create a \
float constant using a double value that is out of range for a float
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18585  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-06 22:18:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8a7ad2d2c5 
					 
					
						
						
							
							Add hooks to free all memory allocated by the singleton factories in these  
						
						... 
						
						
						
						files.  Patch contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17995  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-11-19 16:39:44 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						56a2468b68 
					 
					
						
						
							
							Gep indices must be of int, uint, long or ulong type.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17313  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-10-28 06:43:38 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						6edde961e2 
					 
					
						
						
							
							Make this actually work.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17199  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-10-24 03:02:16 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						60ab140298 
					 
					
						
						
							
							Add ConstantExpr::getSizeOf(Type*).  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17196  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-10-24 01:41:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b9f18592a6 
					 
					
						
						
							
							Implement UndefValue class  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17040  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-10-16 18:07:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7fa6e666ec 
					 
					
						
						
							
							Allow creation of GEP constantexprs with a vector of value* operands as  
						
						... 
						
						
						
						well as a vector of constant*'s.  It turns out that this is more efficient
and all of the clients want to do that, so we should cater to them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16923  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-10-11 22:52:25 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						e0de1d64be 
					 
					
						
						
							
							When creating constant arrays check that the initializer vector is the  
						
						... 
						
						
						
						same size as the one in the array type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16354  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-15 02:32:15 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						cad90ad162 
					 
					
						
						
							
							Add assertion descriptiosn on type mismatches when creating  
						
						... 
						
						
						
						ConstantArray and ConstantPacked objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16261  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-10 04:16:59 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						551ccae044 
					 
					
						
						
							
							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/.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-01 22:55:40 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						715c90ba52 
					 
					
						
						
							
							Packed types, brought to you by Brad Jones  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15938  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-20 06:00:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						91b362bba9 
					 
					
						
						
							
							Check constant expression validity more strictly  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15883  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-17 17:28:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d2da229ce3 
					 
					
						
						
							
							Add a hack to work around a problem my changes exposed  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15509  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-04 22:26:13 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c3d12f0823 
					 
					
						
						
							
							Fix a latent bug exposed by my recent changes  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15498  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-04 18:50:09 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						9e4c681354 
					 
					
						
						
							
							Stop using getValues().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15482  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-04 08:02:59 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6823c9f9ff 
					 
					
						
						
							
							Implement a FIXME, by not searching linearly through a map to remove an  
						
						... 
						
						
						
						element.  This speeds up the bytecode reader from 12.86s to 8.72s on 252.eon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15463  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-08-04 04:48:01 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						47b14a4a6a 
					 
					
						
						
							
							Fix #includes of i*.h => Instructions.h as per PR403.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15334  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-29 17:30:56 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ab4c19ec3e 
					 
					
						
						
							
							classof implementations are now inlined  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14987  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-19 00:59:10 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						1c9c8e64d2 
					 
					
						
						
							
							bug 122:  
						
						... 
						
						
						
						- Replace ConstantPointerRef usage with GlobalValue usage
- Minimize redundant isa<GlobalValue> usage
- Correct isa<Constant> for GlobalValue subclass
- Delete ConstantPointerRef member function implementations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14928  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-17 23:48:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b370c7a41a 
					 
					
						
						
							
							implement new helper method  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14776  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-12 20:35:11 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						57f6efc095 
					 
					
						
						
							
							#include <iostream> since its not in Value.h any more.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14614  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-04 11:51:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c2dfb8bb90 
					 
					
						
						
							
							Make ConstantBool act like a 1 bit ConstantInt, in order to simplify client  
						
						... 
						
						
						
						code.  Patch contributed by Vladimir Prus.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14280  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-21 12:12:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f70c22b019 
					 
					
						
						
							
							Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14201  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-17 18:19:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2a5020150c 
					 
					
						
						
							
							Workaround or a VS miscompilation bug  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14078  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-08 23:21:39 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						20924bc3dd 
					 
					
						
						
							
							Delete some unreachable code  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14031  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-04 23:52:36 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c971025b01 
					 
					
						
						
							
							Implement some helpers  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13738  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-05-25 05:32:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d144f42a5a 
					 
					
						
						
							
							Add ConstantExpr::get(Sign|Zero)Extend methods  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12648  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-04 23:20:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4b2f08a3a9 
					 
					
						
						
							
							Add support for constant expr casts  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12564  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-31 02:56:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						92e84229e1 
					 
					
						
						
							
							Fix a latent bug in select constantexpr handling that was broke 253.perlbmk  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12562  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-30 22:51:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d25e3ecb3c 
					 
					
						
						
							
							Handle -0.0 correctly  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12530  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-29 19:51:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4dcb5401e4 
					 
					
						
						
							
							Add a bunch of methods that should have been added a long time ago.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12526  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-29 02:37:53 +00:00