b179cb2ce7 
								
							 
						 
						
							
							
								
								Add an all() method to BitVector, for testing whether all bits are set.  
							
							... 
							
							
							
							llvm-svn: 114830 
							
						 
						
							2010-09-27 15:48:37 +00:00  
				
					
						
							
							
								 
						
							
								b74155db1e 
								
							 
						 
						
							
							
								
								Update BitVectorTest.cpp to stay in sync with SmallBitVectorTest.cpp,  
							
							... 
							
							
							
							and fix a bug in BitVector's reference proxy class which this exposed.
llvm-svn: 102768 
							
						 
						
							2010-04-30 20:50:28 +00:00  
				
					
						
							
							
								 
						
							
								2073fcac2d 
								
							 
						 
						
							
							
								
								SmallBitVector: Rework find_first/find_next and tweak test to test them (at least on 64 bit platforms).  
							
							... 
							
							
							
							llvm-svn: 102712 
							
						 
						
							2010-04-30 13:40:27 +00:00  
				
					
						
							
							
								 
						
							
								e2a98b1e90 
								
							 
						 
						
							
							
								
								Implement a read/write operator[] for SmallBitVector with a proxy class.  
							
							... 
							
							
							
							llvm-svn: 102709 
							
						 
						
							2010-04-30 12:29:39 +00:00  
				
					
						
							
							
								 
						
							
								4b86e9b7a6 
								
							 
						 
						
							
							
								
								Silence GCC warnings.  
							
							... 
							
							
							
							llvm-svn: 95779 
							
						 
						
							2010-02-10 13:34:02 +00:00  
				
					
						
							
							
								 
						
							
								e69b99baaf 
								
							 
						 
						
							
							
								
								Implement operators |=, &=, and ^= for SmallBitVector, and remove the  
							
							... 
							
							
							
							restriction in BitVector for |= and ^= that the operand must be the
same length.
llvm-svn: 95768 
							
						 
						
							2010-02-10 05:54:04 +00:00  
				
					
						
							
							
								 
						
							
								5976e7d5dd 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 92730 
							
						 
						
							2010-01-05 15:04:49 +00:00