579f07135a 
								
							 
						 
						
							
							
								
								Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.  
							
							... 
							
							
							
							llvm-svn: 47367 
							
						 
						
							2008-02-20 11:08:44 +00:00  
				
					
						
							
							
								 
						
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
				
					
						
							
							
								 
						
							
								14a5569f4e 
								
							 
						 
						
							
							
								
								Reverting dtor devirtualization patch.  
							
							... 
							
							
							
							_sabre_: it has a major problem: by the time ~Value is run, all of the "parts" of the derived classes have been destroyed
_sabre_: the vtable lives to fight another day
llvm-svn: 44760 
							
						 
						
							2007-12-10 02:14:30 +00:00  
				
					
						
							
							
								 
						
							
								13daba07d9 
								
							 
						 
						
							
							
								
								fix some warnings.  
							
							... 
							
							
							
							llvm-svn: 44756 
							
						 
						
							2007-12-10 01:51:22 +00:00  
				
					
						
							
							
								 
						
							
								d05f4ba524 
								
							 
						 
						
							
							
								
								Fix a big problem in the recent dtor refactoring work, now it passes 2007-11-19-InlineAsm.ll  
							
							... 
							
							
							
							llvm-svn: 44755 
							
						 
						
							2007-12-10 01:48:29 +00:00  
				
					
						
							
							
								 
						
							
								3e5be66ccb 
								
							 
						 
						
							
							
								
								Devirtualizing Value destructor (PR889). Patch by Pawel Kunio!  
							
							... 
							
							
							
							llvm-svn: 44747 
							
						 
						
							2007-12-09 22:46:10 +00:00  
				
					
						
							
							
								 
						
							
								c731c97fac 
								
							 
						 
						
							
							
								
								Use empty() member functions when that's what's being tested for instead  
							
							... 
							
							
							
							of comparing begin() and end().
llvm-svn: 42585 
							
						 
						
							2007-10-03 19:26:29 +00:00  
				
					
						
							
							
								 
						
							
								2be9ec5c91 
								
							 
						 
						
							
							
								
								Make Value::getNameLen not crash on an empty name, fixing PR1712.  
							
							... 
							
							
							
							llvm-svn: 42444 
							
						 
						
							2007-09-28 20:09:40 +00:00  
				
					
						
							
							
								 
						
							
								8e5b2c27a3 
								
							 
						 
						
							
							
								
								simplify code, improve a comment.  
							
							... 
							
							
							
							llvm-svn: 41205 
							
						 
						
							2007-08-21 00:21:07 +00:00  
				
					
						
							
							
								 
						
							
								5109a88ac3 
								
							 
						 
						
							
							
								
								add Value::getNameStart/getNameLen() accessors.  
							
							... 
							
							
							
							llvm-svn: 40989 
							
						 
						
							2007-08-10 15:34:35 +00:00  
				
					
						
							
							
								 
						
							
								af867a3937 
								
							 
						 
						
							
							
								
								Fix a nasty memory leak, caused by my revamp of the value symbol table.  
							
							... 
							
							
							
							llvm-svn: 35195 
							
						 
						
							2007-03-20 00:18:10 +00:00  
				
					
						
							
							
								 
						
							
								b622c11f77 
								
							 
						 
						
							
							
								
								Unbreak VC++ build.  
							
							... 
							
							
							
							llvm-svn: 34917 
							
						 
						
							2007-03-05 00:00:42 +00:00  
				
					
						
							
							
								 
						
							
								cf835ff85a 
								
							 
						 
						
							
							
								
								rewrite Value::takeName to take advantage of the new symtab stuff.  This  
							
							... 
							
							
							
							causes it to require no allocations and no symtab lookups in the common
case.  This speeds up instcombine 9.2% on 447.dealII.
llvm-svn: 34324 
							
						 
						
							2007-02-15 20:01:43 +00:00  
				
					
						
							
							
								 
						
							
								fd27ed9733 
								
							 
						 
						
							
							
								
								Add a new Value::getNameStr method, which is preferred over getName.  
							
							... 
							
							
							
							llvm-svn: 34310 
							
						 
						
							2007-02-15 18:53:54 +00:00  
				
					
						
							
							
								 
						
							
								cb9a626c67 
								
							 
						 
						
							
							
								
								add a setName variant that takes a null-terminated string.  This can be  
							
							... 
							
							
							
							used to avoid std::string allocations in common cases.
llvm-svn: 34232 
							
						 
						
							2007-02-13 07:53:34 +00:00  
				
					
						
							
							
								 
						
							
								1a5de584dc 
								
							 
						 
						
							
							
								
								Add new setName accessor which doesn't require creating a string.  
							
							... 
							
							
							
							llvm-svn: 34197 
							
						 
						
							2007-02-12 18:52:59 +00:00  
				
					
						
							
							
								 
						
							
								32ab643df7 
								
							 
						 
						
							
							
								
								Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string, Value*>  
							
							... 
							
							
							
							as its main datastructure.  There are many improvements yet to be made, but
this speeds up opt --std-compile-opts on 447.dealII by 7.3%.
llvm-svn: 34193 
							
						 
						
							2007-02-12 05:18:08 +00:00  
				
					
						
							
							
								 
						
							
								569c8acfe3 
								
							 
						 
						
							
							
								
								fix uninitialized variable  
							
							... 
							
							
							
							llvm-svn: 34182 
							
						 
						
							2007-02-11 19:12:18 +00:00  
				
					
						
							
							
								 
						
							
								cba18e3a01 
								
							 
						 
						
							
							
								
								add an optimization for the case where the src has no name  
							
							... 
							
							
							
							llvm-svn: 34174 
							
						 
						
							2007-02-11 01:04:09 +00:00  
				
					
						
							
							
								 
						
							
								b625082a42 
								
							 
						 
						
							
							
								
								add a helper method: Value::takeName  
							
							... 
							
							
							
							llvm-svn: 34171 
							
						 
						
							2007-02-11 00:37:27 +00:00  
				
					
						
							
							
								 
						
							
								f5df4859cd 
								
							 
						 
						
							
							
								
								eliminate ValueSymbolTable::rename, it has no advantage over using remove+insert.  
							
							... 
							
							
							
							Make insert/remove assert if used incorrectly instead of returning a bool.
llvm-svn: 33988 
							
						 
						
							2007-02-07 06:13:49 +00:00  
				
					
						
							
							
								 
						
							
								3aaaa0b2bd 
								
							 
						 
						
							
							
								
								For PR411:  
							
							... 
							
							
							
							This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.
llvm-svn: 33918 
							
						 
						
							2007-02-05 20:47:22 +00:00  
				
					
						
							
							
								 
						
							
								32af9e8cc5 
								
							 
						 
						
							
							
								
								For PR411:  
							
							... 
							
							
							
							Take an incremental step towards type plane elimination. This change
separates types from values in the symbol tables by finally making use
of the TypeSymbolTable class. This yields more natural interfaces for
dealing with types and unclutters the SymbolTable class.
llvm-svn: 32956 
							
						 
						
							2007-01-06 07:24:44 +00:00  
				
					
						
							
							
								 
						
							
								6a462f1e99 
								
							 
						 
						
							
							
								
								Removed iostream #includes. Replaced std::cerr with DOUT.  
							
							... 
							
							
							
							llvm-svn: 31814 
							
						 
						
							2006-11-17 08:03:48 +00:00  
				
					
						
							
							
								 
						
							
								7a1450dbc6 
								
							 
						 
						
							
							
								
								Change the signature of replaceUsesOfWithOnConstant.  The bool was always  
							
							... 
							
							
							
							true dynamically.  Finally, pass the Use* that replaceAllUsesWith has into
the method for future use.
llvm-svn: 23626 
							
						 
						
							2005-10-04 18:13:04 +00:00  
				
					
						
							
							
								 
						
							
								b1c9317bb4 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							... 
							
							
							
							llvm-svn: 21427 
							
						 
						
							2005-04-21 23:48:37 +00:00  
				
					
						
							
							
								 
						
							
								ffb3778f87 
								
							 
						 
						
							
							
								
								This fixes PR531, a crash when running the CBE on a bytecode file.  
							
							... 
							
							
							
							The problem is that Function::renameLocalSymbols is iterating through
the symbol table planes, occasionally calling setName to rename a value
(which used to do a symbol table remove/insert pair).
The problem is that if there is only a single value in a particular type
plane that the remove will nuke the symbol table plane, and the insert
will create and insert a new one.  This hoses Function::renameLocalSymbols
because it has an iterator to the old plane, under the (very reasonable)
assumption that simply renaming a value won't cause the type plane to
disappear.
This patch fixes the bug by making the rename operation a single atomic
operation, which has a side effect of making the whole thing faster too. :)
llvm-svn: 20469 
							
						 
						
							2005-03-06 02:14:28 +00:00  
				
					
						
							
							
								 
						
							
								cdb9bfc150 
								
							 
						 
						
							
							
								
								remove all of the various setName implementations, consolidating them into  
							
							... 
							
							
							
							Value::setName, which is no longer virtual.
llvm-svn: 20464 
							
						 
						
							2005-03-05 19:51:50 +00:00  
				
					
						
							
							
								 
						
							
								d36552f34f 
								
							 
						 
						
							
							
								
								new method  
							
							... 
							
							
							
							llvm-svn: 20288 
							
						 
						
							2005-02-23 16:51:11 +00:00  
				
					
						
							
							
								 
						
							
								a29c92ffdd 
								
							 
						 
						
							
							
								
								Initialize new field.  
							
							... 
							
							
							
							llvm-svn: 20044 
							
						 
						
							2005-02-05 01:37:58 +00:00  
				
					
						
							
							
								 
						
							
								4947e67c4f 
								
							 
						 
						
							
							
								
								Updates for new use list changes.  
							
							... 
							
							
							
							llvm-svn: 19961 
							
						 
						
							2005-02-01 01:24:21 +00:00  
				
					
						
							
							
								 
						
							
								65c23ee5d3 
								
							 
						 
						
							
							
								
								Add a space between the type and name of value when printing error message  
							
							... 
							
							
							
							llvm-svn: 17022 
							
						 
						
							2004-10-15 23:08:50 +00:00  
				
					
						
							
							
								 
						
							
								7c16caa336 
								
							 
						 
						
							
							
								
								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/.
llvm-svn: 16137 
							
						 
						
							2004-09-01 22:55:40 +00:00  
				
					
						
							
							
								 
						
							
								74614b0c30 
								
							 
						 
						
							
							
								
								Use name.empty() instead of testing against equality with the empty  
							
							... 
							
							
							
							string.
llvm-svn: 15191 
							
						 
						
							2004-07-25 06:16:52 +00:00  
				
					
						
							
							
								 
						
							
								2f130282bd 
								
							 
						 
						
							
							
								
								Disallow creation of named values of type void.  
							
							... 
							
							
							
							llvm-svn: 15190 
							
						 
						
							2004-07-25 06:07:15 +00:00  
				
					
						
							
							
								 
						
							
								bbddbf3aed 
								
							 
						 
						
							
							
								
								bug 122:  
							
							... 
							
							
							
							- Correct isa<Constant> for GlobalValue subclass
llvm-svn: 14933 
							
						 
						
							2004-07-18 00:01:50 +00:00  
				
					
						
							
							
								 
						
							
								9df9afddcf 
								
							 
						 
						
							
							
								
								Fix regressions in these testcases:  
							
							... 
							
							
							
							Regression.Assembler.2002-01-24-BadSymbolTableAssert
 Regression.Assembler.2002-01-24-ValueRefineAbsType
Found through the nightly tester :)
llvm-svn: 14671 
							
						 
						
							2004-07-07 18:07:46 +00:00  
				
					
						
							
							
								 
						
							
								bea7247357 
								
							 
						 
						
							
							
								
								Find bugs sooner rather than later.  In this case, don't allow the creation  
							
							... 
							
							
							
							of instructions that don't have a first-class or void type.
llvm-svn: 14646 
							
						 
						
							2004-07-06 17:44:17 +00:00  
				
					
						
							
							
								 
						
							
								8baf8e270a 
								
							 
						 
						
							
							
								
								- #include <iostream> since its not in Value.h any more.  
							
							... 
							
							
							
							llvm-svn: 14617 
							
						 
						
							2004-07-04 11:55:37 +00:00  
				
					
						
							
							
								 
						
							
								60a29a77aa 
								
							 
						 
						
							
							
								
								User ctor is now inline  
							
							... 
							
							
							
							llvm-svn: 14431 
							
						 
						
							2004-06-27 18:01:38 +00:00  
				
					
						
							
							
								 
						
							
								d0b0b454e5 
								
							 
						 
						
							
							
								
								Instancevar was renamed  
							
							... 
							
							
							
							llvm-svn: 14428 
							
						 
						
							2004-06-26 20:33:39 +00:00  
				
					
						
							
							
								 
						
							
								189d19fb04 
								
							 
						 
						
							
							
								
								Finegrainify namespacification  
							
							... 
							
							
							
							llvm-svn: 10131 
							
						 
						
							2003-11-21 20:23:48 +00:00  
				
					
						
							
							
								 
						
							
								960707c335 
								
							 
						 
						
							
							
								
								Put all LLVM code into the llvm namespace, as per bug 109.  
							
							... 
							
							
							
							llvm-svn: 9903 
							
						 
						
							2003-11-11 22:41:34 +00:00  
				
					
						
							
							
								 
						
							
								e225507193 
								
							 
						 
						
							
							
								
								If we're not checking, don't check!  
							
							... 
							
							
							
							llvm-svn: 9732 
							
						 
						
							2003-11-05 19:09:40 +00:00  
				
					
						
							
							
								 
						
							
								482202a601 
								
							 
						 
						
							
							
								
								Added LLVM project notice to the top of every C++ source file.  
							
							... 
							
							
							
							Header files will be on the way.
llvm-svn: 9298 
							
						 
						
							2003-10-20 19:43:21 +00:00  
				
					
						
							
							
								 
						
							
								079edeb919 
								
							 
						 
						
							
							
								
								Completely rewrite support for the Value::use_* list.  Now, all operations on  
							
							... 
							
							
							
							this list (except use_size()) are constant time.  Before the killUse method
(used whenever something stopped using a value) was linear time, and thus
very very slow for large programs.
This speeds GCCAS up _substantially_ on large programs: almost 2x for 176.gcc:
176.gcc:     77.07s -> 37.38s
177.mesa:     7.59s ->  5.57s
252.eon:     21.02s -> 19.52s (*)
253.perlbmk: 11.40s -> 13.05s
254.gap:      7.25s -> 7.42s
252.eon would speed up a whole lot more, but optimization time is being
dominated by the inlining pass, which needs to be fixed.
llvm-svn: 9160 
							
						 
						
							2003-10-16 16:53:07 +00:00  
				
					
						
							
							
								 
						
							
								794a7490f8 
								
							 
						 
						
							
							
								
								Users can never be null  
							
							... 
							
							
							
							llvm-svn: 8895 
							
						 
						
							2003-10-06 17:33:39 +00:00  
				
					
						
							
							
								 
						
							
								22e4ca8863 
								
							 
						 
						
							
							
								
								There is no reason for Value to be an AbstractTypeUser.  This just makes things  
							
							... 
							
							
							
							significantly more complete.  Instead, just make DerivedType's AbstractTypeUser's,
and make Value contain a PATypeHolder.
llvm-svn: 8828 
							
						 
						
							2003-10-02 19:44:40 +00:00  
				
					
						
							
							
								 
						
							
								a38adaa88f 
								
							 
						 
						
							
							
								
								Fix bug: Linker/2003-08-28-TypeResolvesGlobal3.ll  
							
							... 
							
							
							
							Use new replaceAllUsesWith stuff in a way that works even though types have not yet been propagated
llvm-svn: 8210 
							
						 
						
							2003-08-29 05:37:22 +00:00  
				
					
						
							
							
								 
						
							
								9f15812e88 
								
							 
						 
						
							
							
								
								Refactor code to make it useful outside of Constants.cpp  
							
							... 
							
							
							
							llvm-svn: 8205 
							
						 
						
							2003-08-29 05:09:37 +00:00  
				
					
						
							
							
								 
						
							
								8bd8bc8399 
								
							 
						 
						
							
							
								
								Make assertion more descriptive  
							
							... 
							
							
							
							llvm-svn: 6889 
							
						 
						
							2003-06-24 22:20:19 +00:00  
				
					
						
							
							
								 
						
							
								3789369330 
								
							 
						 
						
							
							
								
								This speeds up processing LLVM a _lot_, 17% in the case of loading and destroying "vortex"  
							
							... 
							
							
							
							llvm-svn: 5553 
							
						 
						
							2003-02-13 19:46:22 +00:00  
				
					
						
							
							
								 
						
							
								2c6abeac43 
								
							 
						 
						
							
							
								
								- Make Value::replaceAllUsesWith work with constants correctly.  This fixes  
							
							... 
							
							
							
							bug FuncResolve/2002-08-19-ResolveGlobalVars.ll and gzip looks better.
llvm-svn: 4103 
							
						 
						
							2002-10-09 23:12:59 +00:00  
				
					
						
							
							
								 
						
							
								6023f638a1 
								
							 
						 
						
							
							
								
								- Remove Value::use_remove  
							
							... 
							
							
							
							llvm-svn: 4090 
							
						 
						
							2002-10-09 00:25:05 +00:00  
				
					
						
							
							
								 
						
							
								3ea0c188b7 
								
							 
						 
						
							
							
								
								Fix NASTY N^2 behavior that was causing the gzip benchmark to take forever to  
							
							... 
							
							
							
							assemble.  Now we scan the use-list from the back when removing users instead
of from the front.
llvm-svn: 4086 
							
						 
						
							2002-10-08 23:46:55 +00:00  
				
					
						
							
							
								 
						
							
								184b298edc 
								
							 
						 
						
							
							
								
								Enable "garbage detection" of LLVM objects.  Now users should be obnoxious  
							
							... 
							
							
							
							warnings.  If they accidentally leak LLVM Value's.
llvm-svn: 3620 
							
						 
						
							2002-09-08 18:59:35 +00:00  
				
					
						
							
							
								 
						
							
								a82ee2df46 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							... 
							
							
							
							llvm-svn: 3065 
							
						 
						
							2002-07-24 22:08:53 +00:00  
				
					
						
							
							
								 
						
							
								33422fedc2 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							... 
							
							
							
							llvm-svn: 2813 
							
						 
						
							2002-06-30 16:25:25 +00:00  
				
					
						
							
							
								 
						
							
								8c37789a33 
								
							 
						 
						
							
							
								
								changes for 64bit gcc  
							
							... 
							
							
							
							llvm-svn: 2801 
							
						 
						
							2002-06-25 22:07:38 +00:00  
				
					
						
							
							
								 
						
							
								30ddf7f57f 
								
							 
						 
						
							
							
								
								The contents of the SymTabValue class have been incorporated into the  
							
							... 
							
							
							
							Module and Function classes directly.
llvm-svn: 2356 
							
						 
						
							2002-04-28 04:52:28 +00:00  
				
					
						
							
							
								 
						
							
								6fc8c2374a 
								
							 
						 
						
							
							
								
								Fix pure virtual function called exception!  
							
							... 
							
							
							
							llvm-svn: 2229 
							
						 
						
							2002-04-12 18:19:45 +00:00  
				
					
						
							
							
								 
						
							
								6e6f5be53d 
								
							 
						 
						
							
							
								
								Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.h  
							
							... 
							
							
							
							llvm-svn: 2156 
							
						 
						
							2002-04-08 00:15:29 +00:00  
				
					
						
							
							
								 
						
							
								3d381bb4d9 
								
							 
						 
						
							
							
								
								Remove some gross code by using the Value::dump method to do debug dumps  
							
							... 
							
							
							
							llvm-svn: 2150 
							
						 
						
							2002-04-07 22:33:13 +00:00  
				
					
						
							
							
								 
						
							
								39dabb96c2 
								
							 
						 
						
							
							
								
								Make the release build work  
							
							... 
							
							
							
							llvm-svn: 2109 
							
						 
						
							2002-04-04 19:26:26 +00:00  
				
					
						
							
							
								 
						
							
								25c8f60b0a 
								
							 
						 
						
							
							
								
								Add an assertion to catch a misuse of replaceAllUsesWith  
							
							... 
							
							
							
							llvm-svn: 1924 
							
						 
						
							2002-03-21 05:38:15 +00:00  
				
					
						
							
							
								 
						
							
								67e5c29ae4 
								
							 
						 
						
							
							
								
								Check in fix for bug: test/Regression/Assembler/ValueRefineAbsType.ll  
							
							... 
							
							
							
							llvm-svn: 1582 
							
						 
						
							2002-01-25 03:45:27 +00:00  
				
					
						
							
							
								 
						
							
								7f74a56e24 
								
							 
						 
						
							
							
								
								Changes to build successfully with GCC 3.02  
							
							... 
							
							
							
							llvm-svn: 1503 
							
						 
						
							2002-01-20 22:54:45 +00:00  
				
					
						
							
							
								 
						
							
								25450e32c0 
								
							 
						 
						
							
							
								
								Add debugging to make a more useful message if a value gets constructed with a null type  
							
							... 
							
							
							
							llvm-svn: 1443 
							
						 
						
							2001-12-13 00:41:27 +00:00  
				
					
						
							
							
								 
						
							
								3462ae3ad7 
								
							 
						 
						
							
							
								
								Rename ConstPoolVal -> Constant  
							
							... 
							
							
							
							Rename ConstPool*   -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407 
							
						 
						
							2001-12-03 22:26:30 +00:00  
				
					
						
							
							
								 
						
							
								d695305ea3 
								
							 
						 
						
							
							
								
								Make error report a little more useful  
							
							... 
							
							
							
							llvm-svn: 657 
							
						 
						
							2001-09-28 00:06:52 +00:00  
				
					
						
							
							
								 
						
							
								92c15742ad 
								
							 
						 
						
							
							
								
								Okay, make the member function work.  
							
							... 
							
							
							
							llvm-svn: 643 
							
						 
						
							2001-09-19 14:09:25 +00:00  
				
					
						
							
							
								 
						
							
								8c3f09e42f 
								
							 
						 
						
							
							
								
								Remove global debug output fns that have been superceded by a member func  
							
							... 
							
							
							
							llvm-svn: 642 
							
						 
						
							2001-09-19 14:08:53 +00:00  
				
					
						
							
							
								 
						
							
								ac128cd4c6 
								
							 
						 
						
							
							
								
								Fix up code a bit, remove operator<< to Assembly/Writer.h  
							
							... 
							
							
							
							llvm-svn: 628 
							
						 
						
							2001-09-18 17:03:59 +00:00  
				
					
						
							
							
								 
						
							
								df6bbeb59c 
								
							 
						 
						
							
							
								
								Added debugging support.  
							
							... 
							
							
							
							llvm-svn: 605 
							
						 
						
							2001-09-18 12:44:41 +00:00  
				
					
						
							
							
								 
						
							
								8d44b99844 
								
							 
						 
						
							
							
								
								Chris seems fond of #include <vector>.  Fix these. Also convert use list in  
							
							... 
							
							
							
							Value to a vector instead of a list.
Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling
llvm-svn: 572 
							
						 
						
							2001-09-14 16:56:32 +00:00  
				
					
						
							
							
								 
						
							
								97d79f144c 
								
							 
						 
						
							
							
								
								Support abstract types  
							
							... 
							
							
							
							Remove constant pool support
llvm-svn: 466 
							
						 
						
							2001-09-07 16:57:07 +00:00  
				
					
						
							
							
								 
						
							
								f2a738cfe2 
								
							 
						 
						
							
							
								
								* ValueHolder now takes 3 arguments  
							
							... 
							
							
							
							* Added a few methods to ConstantPool
* ConstPoolVal no longer derives from Value
* Method & Module multiply inherit from SymTabValue & Value now
* Added a GetElementPtrInst::isStructSelector() method
llvm-svn: 184 
							
						 
						
							2001-07-14 06:13:19 +00:00  
				
					
						
							
							
								 
						
							
								a073acb22d 
								
							 
						 
						
							
							
								
								Changed the fundemental architecture of Operands for Instructions.  Now  
							
							... 
							
							
							
							Operands are maintained as a vector<Use> in the User class, and operator
iterators are provided as before.  Getting an operand no longer requires
a virtual function call.
WARNING: getOperand(x) where x >= getNumOperands() will now assert instead
of returning null!
llvm-svn: 149 
							
						 
						
							2001-07-07 08:36:50 +00:00  
				
					
						
							
							
								 
						
							
								2dd58aefa5 
								
							 
						 
						
							
							
								
								Add a check to avoid allowing V->replaceAllUsesWith(V)  
							
							... 
							
							
							
							llvm-svn: 104 
							
						 
						
							2001-06-29 05:25:51 +00:00  
				
					
						
							
							
								 
						
							
								4cee8d8ffb 
								
							 
						 
						
							
							
								
								Miscellaneous cleanups:  
							
							... 
							
							
							
							* Convert post to pre-increment for for loops
  * Use generic programming more
  * Use new Value::cast* instructions
  * Use new Module, Method, & BasicBlock forwarding methods
  * Use new facilities in STLExtras.h
  * Use new Instruction::isPHINode() method
llvm-svn: 96 
							
						 
						
							2001-06-27 23:41:11 +00:00  
				
					
						
							
							
								 
						
							
								874ddadf72 
								
							 
						 
						
							
							
								
								Updates to support  
							
							... 
							
							
							
							* Changes in PHI node structure
llvm-svn: 25 
							
						 
						
							2001-06-11 15:04:40 +00:00  
				
					
						
							
							
								 
						
							
								2f7c963559 
								
							 
						 
						
							
							
								
								Initial revision  
							
							... 
							
							
							
							llvm-svn: 2 
							
						 
						
							2001-06-06 20:29:01 +00:00