Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						8c65f6e71c 
					 
					
						
						
							
							Move remaining stuff to the isInteger predicate.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92771  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-05 21:05:54 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						ac53a0b272 
					 
					
						
						
							
							Introduce and use convenience methods for getting pointer types  
						
						... 
						
						
						
						where the element is of a basic builtin type.  For example, to get
an i8* use getInt8PtrTy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83379  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-06 15:40:36 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						1d0be15f89 
					 
					
						
						
							
							Push LLVMContexts through the IntegerType APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-13 21:58:54 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						a7235ea724 
					 
					
						
						
							
							Move a few more APIs back to 2.5 forms.  The only remaining ones left to change back are  
						
						... 
						
						
						
						metadata related, which I'm waiting on to avoid conflicting with Devang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77721  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-31 20:28:14 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9e9a0d5fc2 
					 
					
						
						
							
							Move more code back to 2.5 APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77635  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-30 23:03:37 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						debcb01b0f 
					 
					
						
						
							
							Move types back to the 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77516  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-29 22:17:13 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						baf3c40440 
					 
					
						
						
							
							Move ConstantExpr to 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77494  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-29 18:55:55 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						eed707b1e6 
					 
					
						
						
							
							Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types.  More to come.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77011  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-24 23:12:02 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e922c02019 
					 
					
						
						
							
							Get rid of the Pass+Context magic.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76702  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-22 00:24:57 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						07cf79ef53 
					 
					
						
						
							
							"LLVMContext* " --> "LLVMContext *"  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74878  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-06 23:00:19 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						508955156a 
					 
					
						
						
							
							Thread LLVMContext through the constant folding APIs, which touches a lot of files.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74844  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-06 18:42:36 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						02dea8b39f 
					 
					
						
						
							
							Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to  
						
						... 
						
						
						
						use it instead of duplicating its functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51499  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-23 21:05:58 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						7cbd8a3e92 
					 
					
						
						
							
							API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time.  (Merge from use-diet branch.)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51200  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-16 19:29:10 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						051a950000 
					 
					
						
						
							
							API changes for class Use size reduction, wave 1.  
						
						... 
						
						
						
						Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-04-06 20:25:17 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						29d8aa7877 
					 
					
						
						
							
							fix typos  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47994  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-03-06 10:36:00 +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 
						 
				 
			
				
					
						
							
							
								Christopher Lamb 
							
						 
					 
					
						
						
							
						
						43ad6b3e0d 
					 
					
						
						
							
							Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45082  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-17 01:12:55 +00:00 
						 
				 
			
				
					
						
							
							
								David Greene 
							
						 
					 
					
						
						
							
						
						52eec54820 
					 
					
						
						
							
							New CallInst interface to address GLIBCXX_DEBUG errors caused by  
						
						... 
						
						
						
						indexing an empty std::vector.
Updates to all clients.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40660  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-01 03:43:44 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ec1f752ae4 
					 
					
						
						
							
							eliminate use of deprecated apis  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34417  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-02-19 07:34:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						93e985f1b1 
					 
					
						
						
							
							Eliminate use of ctors that take vectors.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34219  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-02-13 02:10:56 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						febe5f1b3c 
					 
					
						
						
							
							relax some types  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32982  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-01-07 07:22:20 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						c5b206b6be 
					 
					
						
						
							
							For PR950:  
						
						... 
						
						
						
						This patch replaces signed integer types with signless ones:
1. [US]Byte -> Int8
2. [U]Short -> Int16
3. [U]Int   -> Int32
4. [U]Long  -> Int64.
5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
   and other methods related to signedness. In a few places this warranted
   identifying the signedness information from other sources.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32785  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-31 05:48:39 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						06e3f4ee7e 
					 
					
						
						
							
							Remove isSigned calls via foreknowledge of main's argument types.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32730  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-21 07:49:49 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						8a903db499 
					 
					
						
						
							
							Convert the last uses of CastInst::createInferredCast to a normal cast  
						
						... 
						
						
						
						creation. These changes are still temporary but at least this pushes
knowledge of signedness out closer to where it can be determined properly
and allows signedness to be removed from VMCore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32654  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-18 08:47:13 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						7b06bd532d 
					 
					
						
						
							
							Replace CastInst::createInferredCast calls with more accurate cast  
						
						... 
						
						
						
						creation calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32521  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-13 00:50:17 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						3da59db637 
					 
					
						
						
							
							For PR950:  
						
						... 
						
						
						
						The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-11-27 01:05:10 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						b83eb6447b 
					 
					
						
						
							
							For PR950:  
						
						... 
						
						
						
						This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-10-20 07:07:24 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Cohen 
							
						 
					 
					
						
						
							
						
						66c5fd6c53 
					 
					
						
						
							
							When a function takes a variable number of pointer arguments, with a zero  
						
						... 
						
						
						
						pointer marking the end of the list, the zero *must* be cast to the pointer
type.  An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.
The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-10-23 04:37:20 +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 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e4d5c441e0 
					 
					
						
						
							
							This mega patch converts us from using Function::a{iterator|begin|end} to  
						
						... 
						
						
						
						using Function::arg_{iterator|begin|end}.  Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20597  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-15 04:54:21 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						518310cb0d 
					 
					
						
						
							
							bug 122:  
						
						... 
						
						
						
						- Replace ConstantPointerRef usage with GlobalValue usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14953  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-18 00:44:37 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						ebbc0e9bbf 
					 
					
						
						
							
							In InsertProfilingInitCall(), make it legal to pass in a null array, in  
						
						... 
						
						
						
						which case you'll get a null array and zero passed to the profiling function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13336  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-05-03 22:06:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						28977af72a 
					 
					
						
						
							
							Support getelementptr instructions which use uint's to index into structure  
						
						... 
						
						
						
						types and can have arbitrary 32- and 64-bit integer types indexing into
sequential types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-05 01:30:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						467dd2ec61 
					 
					
						
						
							
							Split utility functions out of BlockProfiling.cpp  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12224  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-08 17:06:13 +00:00