Chris Lattner 
							
						 
					 
					
						
						
							
						
						77bc60e77e 
					 
					
						
						
							
							hopefully unbreak the build by making this-> explicit for dependent  
						
						... 
						
						
						
						base class lookup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80499  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-30 17:44:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0a9ad97b35 
					 
					
						
						
							
							some minor cleanups to IRBuilder, factor the insertion  
						
						... 
						
						
						
						hook out of the main IRBuilder class to allow clients to
override it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80479  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-30 05:42:59 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						1c8a23c440 
					 
					
						
						
							
							Eliminate the unused Context argument on one of the ICmpInst and FCmpInst  
						
						... 
						
						
						
						constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80049  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-25 23:17:54 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						9d8f004266 
					 
					
						
						
							
							Switch IRBuilder to using Twine references for names.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79482  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-19 22:34:21 +00:00 
						 
				 
			
				
					
						
							
							
								Erick Tryzelaar 
							
						 
					 
					
						
						
							
						
						02904d5d84 
					 
					
						
						
							
							Add more casts to the IRBuilder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79158  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-16 02:19:46 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						5ee3ba2f9e 
					 
					
						
						
							
							Add doxygen comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79027  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-14 19:41:50 +00:00 
						 
				 
			
				
					
						
							
							
								Erick Tryzelaar 
							
						 
					 
					
						
						
							
						
						d644cb8ff5 
					 
					
						
						
							
							A couple IRBuilder functions were still using getGlobalContext().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78997  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-14 06:12:30 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						0668dc7955 
					 
					
						
						
							
							Add helpers for fetching basic types.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78969  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-14 00:30:41 +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 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						4ae5126d04 
					 
					
						
						
							
							Remove a bunch more now-unnecessary Context arguments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78809  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-12 16:23:25 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						d6474fa1f1 
					 
					
						
						
							
							Add convenience functions for creating nsw add operators.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78707  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 20:20:39 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						e2574d3215 
					 
					
						
						
							
							Add convenience functions for creating inbounds GEPs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78695  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 17:57:01 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						104eac156e 
					 
					
						
						
							
							Use isa instead of dyn_cast when the result is only converted to bool.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78685  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 17:20:16 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						59c4f5c2fc 
					 
					
						
						
							
							Add convenience functions for creating exact sdiv operators, and  
						
						... 
						
						
						
						use them in CreatePtrDiff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78682  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 17:05:24 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						b2d746ce6d 
					 
					
						
						
							
							Add an explicit keyword.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78675  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 15:57:42 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						1fd7096407 
					 
					
						
						
							
							Change ConstantArray to 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77347  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-28 18:32:17 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						a3500da559 
					 
					
						
						
							
							Move ExtractElementInst to ::Create instead of new. Update all uses.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77044  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-25 02:28:41 +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 
							
						 
					 
					
						
						
							
						
						50dead06ff 
					 
					
						
						
							
							Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75863  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-15 23:53:25 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9adc0abad3 
					 
					
						
						
							
							Move EVER MORE stuff over to LLVMContext.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 23:09:55 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						73c6b7127a 
					 
					
						
						
							
							Move more functionality over to LLVMContext.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75497  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 20:58:05 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						0a5372ed3e 
					 
					
						
						
							
							Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.  
						
						... 
						
						
						
						This involves temporarily hard wiring some parts to use the global context.  This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75445  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 04:09:18 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						45524c58fd 
					 
					
						
						
							
							Finish pushing LLVMContext through the IRBuilder/ConstantFolder interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75213  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-10 00:49:53 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						333c400965 
					 
					
						
						
							
							This started as a small change, I swear.  Unfortunately, lots of things call the [I|F]CmpInst constructors.  Who knew!?  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75200  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-09 23:48:35 +00:00 
						 
				 
			
				
					
						
							
							
								Jeffrey Yasskin 
							
						 
					 
					
						
						
							
						
						0a249a8ae5 
					 
					
						
						
							
							Work around an ICE in gcc-4.2.4.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75084  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-09 00:52:44 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d1fbd14294 
					 
					
						
						
							
							Push LLVMContext _back_ through IRBuilder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75040  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 20:50:47 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e9b11b4313 
					 
					
						
						
							
							Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75025  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 19:03:57 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						7f6aa2b162 
					 
					
						
						
							
							Remove the vicmp and vfcmp instructions. Because we never had a release with  
						
						... 
						
						
						
						these instructions, no autoupgrade or backwards compatibility support is
provided.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74991  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 03:04:38 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						3d29df3e8a 
					 
					
						
						
							
							Push LLVMContext through GlobalVariables and IRBuilder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74985  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 01:26:06 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						9547cdfa35 
					 
					
						
						
							
							Revert IRBuilder CC propagation. Fix SimplifyLibCalls instead.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73715  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-18 20:05:31 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						fd0cfe4bb4 
					 
					
						
						
							
							Forgot to commit this hunk  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73693  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-18 08:30:57 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						df9d0f0ed2 
					 
					
						
						
							
							Propagate calling conv for invokes too  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73692  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-18 08:13:56 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						bf823e7590 
					 
					
						
						
							
							Honour calling convention and attributes of Callee by default.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73646  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-17 22:20:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						08826a50e1 
					 
					
						
						
							
							make CreateFMul forward to CreateFMul, not CreateMul.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73603  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-17 06:31:02 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						a7a8af0c58 
					 
					
						
						
							
							Add a CreateFNeg function to IRBuilder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73437  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-15 22:50:40 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						ae3a0be92e 
					 
					
						
						
							
							Split the Add, Sub, and Mul instruction opcodes into separate  
						
						... 
						
						
						
						integer and floating-point opcodes, introducing
FAdd, FSub, and FMul.
For now, the AsmParser, BitcodeReader, and IRBuilder all preserve
backwards compatability, and the Core LLVM APIs preserve backwards
compatibility for IR producers. Most front-ends won't need to change
immediately.
This implements the first step of the plan outlined here:
http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt 
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72897  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-04 22:49:04 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						b60182f1b0 
					 
					
						
						
							
							Add an accessor method to return the insertion point.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72184  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-20 21:45:41 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						cb8c4778d3 
					 
					
						
						
							
							Cleanup. Remove redundant llvm:: , we don't need them since we're inside  
						
						... 
						
						
						
						namespace llvm already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68774  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-10 06:54:06 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						b9fc360857 
					 
					
						
						
							
							Add utility function to IRBuilder that takes the difference between two  
						
						... 
						
						
						
						pointers, taking into account the size of the pointed-to object.
Patch by Jeffrey Yasskin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68768  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-10 05:30:48 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4cc2b85861 
					 
					
						
						
							
							add method to access a template argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67458  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-22 00:18:18 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						1779f2213f 
					 
					
						
						
							
							Add IRBuilder::CreateConstGEP{1, 2}_{32, 64}.  
						
						... 
						
						
						
						- Names are lame, but it seems better to be explicit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66295  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-06 22:26:07 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						fe2cce63aa 
					 
					
						
						
							
							Removed trailing whitespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-20 22:51:36 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						d68a07650c 
					 
					
						
						
							
							Tidy up #includes, deleting a bunch of unnecessary #includes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-05 17:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						ac44d25bdd 
					 
					
						
						
							
							Clean up some strange whitespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59373  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-11-15 20:32:33 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						76dba94dfa 
					 
					
						
						
							
							Rename IRBuilder::IsNonNull -> IsNotNull in response to feedback.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56953  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-10-02 17:05:03 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						7a3ec1e148 
					 
					
						
						
							
							Add IRBuilder::{CreateIsNull, CreateIsNonNull} helper methods.  
						
						... 
						
						
						
						- I'm open to the idea that these could have better names. I think
   these read better than CreateEQNull and CreateNENull.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56757  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-27 23:22:55 +00:00