Owen Anderson 
							
						 
					 
					
						
						
							
						
						82e9bc2f57 
					 
					
						
						
							
							Speculative fix the mask constants to be of type uintptr_t.  I don't know of any case where the old form was incorrect, but I'm more confident that such cases don't exist in this version.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166031  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-16 17:10:33 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						3a1c35afbd 
					 
					
						
						
							
							Add range-based set()/reset() to BitVector.  These allow fast setting/resetting of ranges of bits, particularly useful when dealing with very large BitVector's.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165984  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-15 22:05:27 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						904cf82f27 
					 
					
						
						
							
							Merge the SmallBitVector and BitVector unit tests with gtest's typed test magic and bring SmallBitVector up to date.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158600  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-06-16 10:51:07 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						693e3ee0c2 
					 
					
						
						
							
							Provide move semantics for (Small)BitVector.  
						
						... 
						
						
						
						CodeGen makes a lot of BitVector copies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157826  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-06-01 18:52:53 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						50bee42b54 
					 
					
						
						
							
							Convert assert(0) to llvm_unreachable  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149849  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-02-05 22:14:15 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						fab4c9e9df 
					 
					
						
						
							
							Add an all() method to BitVector, for testing whether all bits are set.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114830  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-27 15:48:37 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						6340722d17 
					 
					
						
						
							
							SmallBitVector: Rework find_first/find_next and tweak test to test them (at least on 64 bit platforms).  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102712  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-30 13:40:27 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						b252fbd179 
					 
					
						
						
							
							Implement a read/write operator[] for SmallBitVector with a proxy class.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102709  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-30 12:29:39 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						1e44aa0412 
					 
					
						
						
							
							Make sure SmallBitVector actually uses the small case and fix latent bugs.  
						
						... 
						
						
						
						- We can't use PointerIntPair here since we require the discrimination bit to be in the LSB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102707  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-30 11:34:01 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						e7962c9897 
					 
					
						
						
							
							Implement operators |=, &=, and ^= for SmallBitVector, and remove the  
						
						... 
						
						
						
						restriction in BitVector for |= and ^= that the operand must be the
same length.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95768  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-02-10 05:54:04 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						ad2cee44e0 
					 
					
						
						
							
							Some versions of GCC don't like non-static data members in sizeof  
						
						... 
						
						
						
						in this context.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92731  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-05 15:28:21 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						cb89afc965 
					 
					
						
						
							
							Add a SmallBitVector class, which mimics BitVector but uses only  
						
						... 
						
						
						
						a single pointer (PointerIntPair) member. In "small" mode, the
pointer field is reinterpreted as a set of bits. In "large" mode,
the pointer points to a heap-allocated object.
Also, give BitVector empty and swap functions.
And, add some simple unittests for BitVector and SmallBitVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92730  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-05 15:04:49 +00:00