Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7f74a56e24 
								
							 
						 
						
							
							
								
								Changes to build successfully with GCC 3.02  
							
							 
							
							... 
							
							
							
							llvm-svn: 1503 
							
						 
						
							2002-01-20 22:54:45 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								67ff729539 
								
							 
						 
						
							
							
								
								Added more comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 1495 
							
						 
						
							2002-01-07 19:57:37 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								523f5e76e7 
								
							 
						 
						
							
							
								
								MachineRegInfo: Added a method to get the size of a register pushed on to stack.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1492 
							
						 
						
							2002-01-07 19:17:41 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f20079dfed 
								
							 
						 
						
							
							
								
								Added comments, destructors where necessary.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1491 
							
						 
						
							2002-01-07 19:16:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ecce65a4ba 
								
							 
						 
						
							
							
								
								Eliminate function getIndicesBROKEN().  
							
							 
							
							... 
							
							
							
							llvm-svn: 1486 
							
						 
						
							2001-12-15 00:37:12 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								cb2335f13f 
								
							 
						 
						
							
							
								
								Eliminate all uses of memInst->getIndicesBROKEN().  
							
							 
							
							... 
							
							
							
							llvm-svn: 1485 
							
						 
						
							2001-12-15 00:36:32 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								721fee255c 
								
							 
						 
						
							
							
								
								getIndexedOffset() shd take vector of Values, not of Constants!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1484 
							
						 
						
							2001-12-15 00:35:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								64a028b47a 
								
							 
						 
						
							
							
								
								Initial checkin of instcombine  
							
							 
							
							... 
							
							
							
							llvm-svn: 1479 
							
						 
						
							2001-12-14 16:52:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7c84dc6abb 
								
							 
						 
						
							
							
								
								Refactor trace values to work as a proper pass.  Before it used to add  
							
							 
							
							... 
							
							
							
							methods while the pass was running which was a no no.  Now it adds the
printf method at pass initialization
llvm-svn: 1456 
							
						 
						
							2001-12-14 16:23:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8ddb00c804 
								
							 
						 
						
							
							
								
								* Remove support for unsized arrays.  
							
							 
							
							... 
							
							
							
							* Free instruction does not accept a name
* MemAccessInst can now be used with cast/isa/dyn_cast/...
llvm-svn: 1455 
							
						 
						
							2001-12-14 16:22:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8e4131077a 
								
							 
						 
						
							
							
								
								PointerType and ArrayType now subclass Sequential type, which contains addressability logic for indexing.  Unsized arrays have been removed.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1454 
							
						 
						
							2001-12-14 16:20:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								156344c890 
								
							 
						 
						
							
							
								
								Swap operands now preserves the semantics of the binary operator by changing  
							
							 
							
							... 
							
							
							
							the opcode of the instruction if possible.
llvm-svn: 1444 
							
						 
						
							2001-12-13 00:43:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49e9f8e2d4 
								
							 
						 
						
							
							
								
								Implement some nice functions useful for looking at types  
							
							 
							
							... 
							
							
							
							llvm-svn: 1442 
							
						 
						
							2001-12-13 00:40:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								15778ac793 
								
							 
						 
						
							
							
								
								Implement proper iterator tags  
							
							 
							
							... 
							
							
							
							llvm-svn: 1441 
							
						 
						
							2001-12-13 00:39:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e0c16866c6 
								
							 
						 
						
							
							
								
								Subclasses can change the opcode of an instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 1440 
							
						 
						
							2001-12-13 00:39:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e6a24c2f4d 
								
							 
						 
						
							
							
								
								Constants KNOW they are of a derived type  
							
							 
							
							... 
							
							
							
							llvm-svn: 1439 
							
						 
						
							2001-12-13 00:38:57 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								565a5c423d 
								
							 
						 
						
							
							
								
								Added comments are more documentation info  
							
							 
							
							... 
							
							
							
							llvm-svn: 1434 
							
						 
						
							2001-12-08 21:04:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2413b160ec 
								
							 
						 
						
							
							
								
								Renamed inst_const_iterator -> const_inst_iterator  
							
							 
							
							... 
							
							
							
							Renamed op_const_iterator   -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408 
							
						 
						
							2001-12-04 00:03:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3462ae3ad7 
								
							 
						 
						
							
							
								
								Rename ConstPoolVal -> Constant  
							
							 
							
							... 
							
							
							
							Rename ConstPool*   -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407 
							
						 
						
							2001-12-03 22:26:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bca18d7d96 
								
							 
						 
						
							
							
								
								Simplify induction variables pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 1406 
							
						 
						
							2001-12-03 18:05:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb5ae02e1a 
								
							 
						 
						
							
							
								
								Split the PHINode class out from the iOther.h file into the iPHINode.h file  
							
							 
							
							... 
							
							
							
							llvm-svn: 1405 
							
						 
						
							2001-12-03 18:02:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								66d9ceaaba 
								
							 
						 
						
							
							
								
								Induction variables must be phi nodes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1402 
							
						 
						
							2001-12-03 17:27:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b4c677745e 
								
							 
						 
						
							
							
								
								Move support directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1401 
							
						 
						
							2001-11-29 16:32:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5de2204fe8 
								
							 
						 
						
							
							
								
								Create a new #include "Support/..." directory structure to move things  
							
							 
							
							... 
							
							
							
							from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400 
							
						 
						
							2001-11-27 00:03:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f679703feb 
								
							 
						 
						
							
							
								
								Move DataTypes.h from llvm/Support to just Support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1399 
							
						 
						
							2001-11-26 23:04:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a5f8480ba2 
								
							 
						 
						
							
							
								
								Remove unused method  
							
							 
							
							... 
							
							
							
							llvm-svn: 1368 
							
						 
						
							2001-11-26 18:50:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								53710e74cf 
								
							 
						 
						
							
							
								
								Expose constant prop of an instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 1367 
							
						 
						
							2001-11-26 18:50:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0393197f32 
								
							 
						 
						
							
							
								
								Fix field initialization order problem  
							
							 
							
							... 
							
							
							
							llvm-svn: 1366 
							
						 
						
							2001-11-26 18:49:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a57cea2e2e 
								
							 
						 
						
							
							
								
								Allow output of manipulators for GCC 2.96 compatibility  
							
							 
							
							... 
							
							
							
							llvm-svn: 1365 
							
						 
						
							2001-11-26 18:49:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d9d9039e13 
								
							 
						 
						
							
							
								
								Add writer support for call graph nodes and loops and induction variables  
							
							 
							
							... 
							
							
							
							llvm-svn: 1364 
							
						 
						
							2001-11-26 18:47:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e409c460bf 
								
							 
						 
						
							
							
								
								Implement an entry node for the call graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 1363 
							
						 
						
							2001-11-26 18:47:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								44c3b4f841 
								
							 
						 
						
							
							
								
								Implement "internal vs external linkage" which corresponds to the C notion of static  
							
							 
							
							... 
							
							
							
							llvm-svn: 1362 
							
						 
						
							2001-11-26 18:46:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bd422e6686 
								
							 
						 
						
							
							
								
								Implement DCE of global values  
							
							 
							
							... 
							
							
							
							llvm-svn: 1360 
							
						 
						
							2001-11-26 18:42:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6de9942b92 
								
							 
						 
						
							
							
								
								* Implement dominator based loop identification  
							
							 
							
							... 
							
							
							
							* Implement cleaner induction variable identification
llvm-svn: 1359 
							
						 
						
							2001-11-26 18:41:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e1531446aa 
								
							 
						 
						
							
							
								
								Rearrange code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1334 
							
						 
						
							2001-11-26 16:49:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fcda44a75d 
								
							 
						 
						
							
							
								
								Allow array indexing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1333 
							
						 
						
							2001-11-26 16:49:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								678b377fae 
								
							 
						 
						
							
							
								
								Be more const correct  
							
							 
							
							... 
							
							
							
							llvm-svn: 1332 
							
						 
						
							2001-11-26 16:48:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f12d124f42 
								
							 
						 
						
							
							
								
								* Remove the indexVec stuff which gets out of sync with the operands of the  
							
							 
							
							... 
							
							
							
							instruction.
* Change the indices to take a vector of Value's instead of ConstPoolVal's
  for array indexing
* Add new idx_ iterator support for iterating over indices
llvm-svn: 1331 
							
						 
						
							2001-11-26 16:48:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e26de46a3 
								
							 
						 
						
							
							
								
								New Method isLosslesslyConvertableTo  
							
							 
							
							... 
							
							
							
							llvm-svn: 1330 
							
						 
						
							2001-11-26 16:47:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee35c37a0a 
								
							 
						 
						
							
							
								
								Add new CompositeType shared baseclass of ArrayType and StructType  
							
							 
							
							... 
							
							
							
							llvm-svn: 1329 
							
						 
						
							2001-11-26 16:46:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								70af97db27 
								
							 
						 
						
							
							
								
								Add casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 1328 
							
						 
						
							2001-11-26 16:46:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f9aea74156 
								
							 
						 
						
							
							
								
								Fix protection probs  
							
							 
							
							... 
							
							
							
							llvm-svn: 1321 
							
						 
						
							2001-11-15 15:24:31 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f8cb028326 
								
							 
						 
						
							
							
								
								Modify method AllocateLocalVar to take size argument.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1320 
							
						 
						
							2001-11-15 15:23:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4cfdb79dce 
								
							 
						 
						
							
							
								
								Bug fix for Chris.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1316 
							
						 
						
							2001-11-15 15:00:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02c43c8609 
								
							 
						 
						
							
							
								
								-cleangcc pass now remove type names that are never referenced and type names for pointers to primitive types.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1312 
							
						 
						
							2001-11-15 04:34:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7e833073e3 
								
							 
						 
						
							
							
								
								Add function returning which operand holds immediate constant  
							
							 
							
							... 
							
							
							
							for a given opcode.
llvm-svn: 1307 
							
						 
						
							2001-11-14 18:48:36 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f7a9a52e8d 
								
							 
						 
						
							
							
								
								added isPseudoInstr()  
							
							 
							
							... 
							
							
							
							llvm-svn: 1302 
							
						 
						
							2001-11-14 15:35:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1237e86597 
								
							 
						 
						
							
							
								
								Remove much cruft from the MemAccessInst instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 1298 
							
						 
						
							2001-11-14 11:27:58 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								eb98368c29 
								
							 
						 
						
							
							
								
								Changed for adding Phi Elimination code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1266 
							
						 
						
							2001-11-12 14:46:00 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								bbbc6a3b17 
								
							 
						 
						
							
							
								
								Made isPhi const  
							
							 
							
							... 
							
							
							
							llvm-svn: 1251 
							
						 
						
							2001-11-10 20:58:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49ec72411e 
								
							 
						 
						
							
							
								
								Initail checking of structure swapper  
							
							 
							
							... 
							
							
							
							llvm-svn: 1248 
							
						 
						
							2001-11-10 07:28:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0de5f1cf2 
								
							 
						 
						
							
							
								
								Initial checkin of Structure mutator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1245 
							
						 
						
							2001-11-10 07:26:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								636539d48e 
								
							 
						 
						
							
							
								
								Provide const version of function with the name the other will be eventually renamed to  
							
							 
							
							... 
							
							
							
							llvm-svn: 1241 
							
						 
						
							2001-11-10 06:48:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9b474fdf2b 
								
							 
						 
						
							
							
								
								Refactor some functionality to expose more useful stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 1240 
							
						 
						
							2001-11-10 06:47:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c0239b78ec 
								
							 
						 
						
							
							
								
								New pass to figure out what types are in use by a program  
							
							 
							
							... 
							
							
							
							llvm-svn: 1231 
							
						 
						
							2001-11-09 05:27:10 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e76d3bcb31 
								
							 
						 
						
							
							
								
								Cache parameters for target machine.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1222 
							
						 
						
							2001-11-09 02:11:25 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7977a283e6 
								
							 
						 
						
							
							
								
								Added class MachineCacheInfo.  
							
							 
							
							... 
							
							
							
							Also added function to convert float to int by copying via memory.
llvm-svn: 1221 
							
						 
						
							2001-11-09 02:11:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2a4e3cfab7 
								
							 
						 
						
							
							
								
								Remove unneeded forward decl  
							
							 
							
							... 
							
							
							
							llvm-svn: 1216 
							
						 
						
							2001-11-08 20:54:51 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e4e91e3835 
								
							 
						 
						
							
							
								
								Add handle to object MachineFrameInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1202 
							
						 
						
							2001-11-08 05:23:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e6ecf513a1 
								
							 
						 
						
							
							
								
								Include handle to TargetMachine in each Machine...Info class.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1201 
							
						 
						
							2001-11-08 05:22:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								06d8c600ea 
								
							 
						 
						
							
							
								
								Add method CreateCodeToCopyIntToFloat.  
							
							 
							
							... 
							
							
							
							Include handle to TargetMachine in each Machine...Info object.
llvm-svn: 1200 
							
						 
						
							2001-11-08 05:22:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1ef453c2ff 
								
							 
						 
						
							
							
								
								Machine-independent interface to target's stack frame layout parameters.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1190 
							
						 
						
							2001-11-08 04:52:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e316915197 
								
							 
						 
						
							
							
								
								Use different op labels for bitwise logical operations and boolean logical  
							
							 
							
							... 
							
							
							
							operations in BURG input trees.
llvm-svn: 1189 
							
						 
						
							2001-11-08 04:51:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								70dd1d4ee4 
								
							 
						 
						
							
							
								
								Added a second constructor for and improved class TmpInstruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1188 
							
						 
						
							2001-11-08 04:50:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c53037205b 
								
							 
						 
						
							
							
								
								Major overhaul of stack frame management.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1185 
							
						 
						
							2001-11-08 04:47:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								07900bde2d 
								
							 
						 
						
							
							
								
								Old file which was moved to include/llvm/Target some time back.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1184 
							
						 
						
							2001-11-08 04:46:08 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b375b89e00 
								
							 
						 
						
							
							
								
								Removed MachineCodeForMethod object and made it an annotation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1183 
							
						 
						
							2001-11-08 04:38:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								83f1528061 
								
							 
						 
						
							
							
								
								Initial checkin of pointer safety checker  
							
							 
							
							... 
							
							
							
							llvm-svn: 1181 
							
						 
						
							2001-11-07 21:16:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								28e969d689 
								
							 
						 
						
							
							
								
								Okay, so this is a huge hack.  Fixme later  
							
							 
							
							... 
							
							
							
							llvm-svn: 1171 
							
						 
						
							2001-11-07 05:31:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0758abd126 
								
							 
						 
						
							
							
								
								New class to provide high performance writing.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1167 
							
						 
						
							2001-11-07 04:20:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								59a13288a6 
								
							 
						 
						
							
							
								
								Make reg. numbers signed ints.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1137 
							
						 
						
							2001-11-05 03:56:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								33d9cb9903 
								
							 
						 
						
							
							
								
								Minor method rename  
							
							 
							
							... 
							
							
							
							llvm-svn: 1119 
							
						 
						
							2001-11-04 08:08:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								34f8595c0b 
								
							 
						 
						
							
							
								
								Add a helper function to PHI node  
							
							 
							
							... 
							
							
							
							llvm-svn: 1113 
							
						 
						
							2001-11-03 21:08:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cf5befef63 
								
							 
						 
						
							
							
								
								Expose method to merge identically named methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 1109 
							
						 
						
							2001-11-03 19:49:54 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								97b93aea81 
								
							 
						 
						
							
							
								
								Moved InsertCallerSaveInstr to the SparcRegInfo.cpp and made machine independent  
							
							 
							
							... 
							
							
							
							llvm-svn: 1107 
							
						 
						
							2001-11-03 17:14:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f1ca018aa 
								
							 
						 
						
							
							
								
								Fix major bugs in type resolution  
							
							 
							
							... 
							
							
							
							llvm-svn: 1092 
							
						 
						
							2001-11-03 03:27:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c7724169bf 
								
							 
						 
						
							
							
								
								Fix the linker.  This bug was not fun to track down. grr  
							
							 
							
							... 
							
							
							
							llvm-svn: 1090 
							
						 
						
							2001-11-03 03:26:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e80af939da 
								
							 
						 
						
							
							
								
								Print floating point numbers in expodential form so that small numbers don't get truncated, which broke the health benchmark  
							
							 
							
							... 
							
							
							
							llvm-svn: 1086 
							
						 
						
							2001-11-01 22:06:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								63ac2b335a 
								
							 
						 
						
							
							
								
								Expose the low level DCE mechanism to external users  
							
							 
							
							... 
							
							
							
							llvm-svn: 1082 
							
						 
						
							2001-11-01 07:00:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								977f0044fc 
								
							 
						 
						
							
							
								
								Implement constant propogation of null pointer values.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1078 
							
						 
						
							2001-11-01 05:55:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3003edc9f1 
								
							 
						 
						
							
							
								
								Add simpler to use ctors.  Add getType() overload to specialize getelementptr's type  
							
							 
							
							... 
							
							
							
							llvm-svn: 1077 
							
						 
						
							2001-11-01 05:54:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3e8ef98515 
								
							 
						 
						
							
							
								
								Add new isNullValue method  
							
							 
							
							... 
							
							
							
							llvm-svn: 1076 
							
						 
						
							2001-11-01 05:53:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8ac538db47 
								
							 
						 
						
							
							
								
								Initial checkin of level raising code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1073 
							
						 
						
							2001-11-01 02:41:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d307537327 
								
							 
						 
						
							
							
								
								Move level change xfor into the transforms directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1070 
							
						 
						
							2001-11-01 02:39:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d67f2a4493 
								
							 
						 
						
							
							
								
								Add some useful accessors  
							
							 
							
							... 
							
							
							
							llvm-svn: 1069 
							
						 
						
							2001-11-01 02:39:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								20726ed31b 
								
							 
						 
						
							
							
								
								Implement code to convert %malloc and %free FUNCTION CALLS into the instruction equivalent  
							
							 
							
							... 
							
							
							
							llvm-svn: 1065 
							
						 
						
							2001-10-31 06:35:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9db8b765cd 
								
							 
						 
						
							
							
								
								Implemented constant propogation of cast instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1064 
							
						 
						
							2001-10-31 05:07:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b3f4d1bc73 
								
							 
						 
						
							
							
								
								New GCC cleanup pass interface  
							
							 
							
							... 
							
							
							
							llvm-svn: 1061 
							
						 
						
							2001-10-31 04:32:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								92fcd608cf 
								
							 
						 
						
							
							
								
								Fix ordering problem.  Found by purify.  :)  
							
							 
							
							... 
							
							
							
							llvm-svn: 1042 
							
						 
						
							2001-10-30 16:38:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								790409a07a 
								
							 
						 
						
							
							
								
								Expose some more printing functionality from the assembly writer library  
							
							 
							
							... 
							
							
							
							llvm-svn: 1030 
							
						 
						
							2001-10-29 16:36:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e10ec076e9 
								
							 
						 
						
							
							
								
								Systems headers use <> not ""  
							
							 
							
							... 
							
							
							
							llvm-svn: 1023 
							
						 
						
							2001-10-29 13:29:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3bb79584d5 
								
							 
						 
						
							
							
								
								Include functionality to get a string array constant as a string  
							
							 
							
							... 
							
							
							
							llvm-svn: 1020 
							
						 
						
							2001-10-29 13:24:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0936089b67 
								
							 
						 
						
							
							
								
								Remove useCSyntax flag  
							
							 
							
							... 
							
							
							
							llvm-svn: 1019 
							
						 
						
							2001-10-29 13:22:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								84085ac517 
								
							 
						 
						
							
							
								
								Initial checkin of name mangling code.  Moved from Linker.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 1017 
							
						 
						
							2001-10-28 23:31:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								328c9afafe 
								
							 
						 
						
							
							
								
								Remove unneccesary function prototypes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1014 
							
						 
						
							2001-10-28 22:40:59 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8716cdfb52 
								
							 
						 
						
							
							
								
								Added a constant pool to record values that need to be emitted  
							
							 
							
							... 
							
							
							
							in the assembly code.
llvm-svn: 999 
							
						 
						
							2001-10-28 21:24:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e3b575497d 
								
							 
						 
						
							
							
								
								Add support for name mangling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 998 
							
						 
						
							2001-10-28 21:23:44 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								42ea891fb8 
								
							 
						 
						
							
							
								
								Switch useLLVMSyntax to useCSyntax.  
							
							 
							
							... 
							
							
							
							llvm-svn: 997 
							
						 
						
							2001-10-28 21:21:25 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e6298e3574 
								
							 
						 
						
							
							
								
								Support printing control characters in standard C/assembly style.  
							
							 
							
							... 
							
							
							
							llvm-svn: 995 
							
						 
						
							2001-10-28 21:06:48 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9c38dbc249 
								
							 
						 
						
							
							
								
								Added support for spilling  
							
							 
							
							... 
							
							
							
							llvm-svn: 992 
							
						 
						
							2001-10-28 18:15:12 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								cf28a7c7d3 
								
							 
						 
						
							
							
								
								Moved callerSaving code to machine specific classes since we have to handle  
							
							 
							
							... 
							
							
							
							%ccr reg differently.
llvm-svn: 991 
							
						 
						
							2001-10-28 18:14:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								daebd7508d 
								
							 
						 
						
							
							
								
								Changes to get some meaningful feedback from the bytecode reader.  At some point this stuff should all be exception driven, but for now it is not.  
							
							 
							
							... 
							
							
							
							llvm-svn: 970 
							
						 
						
							2001-10-24 01:15:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								98960dce6d 
								
							 
						 
						
							
							
								
								More symbol table bugfixes that are impossible to track down.  Goody  
							
							 
							
							... 
							
							
							
							llvm-svn: 960 
							
						 
						
							2001-10-23 02:32:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								61b665528e 
								
							 
						 
						
							
							
								
								Fix another annoying bug that took forever to track down.  This one involves abstract type resolution at a bad time that broke symbol tables.  
							
							 
							
							... 
							
							
							
							llvm-svn: 958 
							
						 
						
							2001-10-23 01:53:01 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								bdea601096 
								
							 
						 
						
							
							
								
								Added object of class MachineCodeForMethod.  
							
							 
							
							... 
							
							
							
							llvm-svn: 953 
							
						 
						
							2001-10-22 13:58:08 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								21c3a754fc 
								
							 
						 
						
							
							
								
								Added class MachineCodeForMethod to provide method-level information  
							
							 
							
							... 
							
							
							
							about the generated native code (e.g., frame layout information).
llvm-svn: 952 
							
						 
						
							2001-10-22 13:57:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0f228750ec 
								
							 
						 
						
							
							
								
								Added function interfaces for generating prolog and epilog code.  
							
							 
							
							... 
							
							
							
							The functions must be implemented by the target-specific code generator.
llvm-svn: 951 
							
						 
						
							2001-10-22 13:56:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5dab57de99 
								
							 
						 
						
							
							
								
								Added function IsLeafMethod to identify leaf methods.  
							
							 
							
							... 
							
							
							
							This will use the CallGraph only if one is provided.
llvm-svn: 950 
							
						 
						
							2001-10-22 13:55:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb864a35aa 
								
							 
						 
						
							
							
								
								Fix bug exposed by this testcase:  
							
							 
							
							... 
							
							
							
							declare int "call_operand"      (%rtx_def*, int)        ;; Prototype for: call_operand
declare int "restore_operand"   (%rtx_def*, int)        ;; Prototype for: restore_operand
%rtx_def = type opaque
%rtx_def = type int
implementation
llvm-svn: 934 
							
						 
						
							2001-10-22 04:55:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								24729a34ce 
								
							 
						 
						
							
							
								
								Added support for both call/jmpl instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 930 
							
						 
						
							2001-10-21 16:43:41 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								1437395c9f 
								
							 
						 
						
							
							
								
								Added code to Initialize (MachineOperand) to initialize regNum to -1 -- Ruchira  
							
							 
							
							... 
							
							
							
							llvm-svn: 919 
							
						 
						
							2001-10-19 18:17:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4ee7648815 
								
							 
						 
						
							
							
								
								Refactor code into Assembly & bytecode libraries  
							
							 
							
							... 
							
							
							
							llvm-svn: 903 
							
						 
						
							2001-10-18 20:31:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9e06a47525 
								
							 
						 
						
							
							
								
								initial checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 902 
							
						 
						
							2001-10-18 20:31:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2b4a64a31b 
								
							 
						 
						
							
							
								
								move llvm/Transforms/Pass.h to the top level llvm/Pass.h file  
							
							 
							
							... 
							
							
							
							llvm-svn: 901 
							
						 
						
							2001-10-18 20:19:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eaf039a94b 
								
							 
						 
						
							
							
								
								Initial Checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 896 
							
						 
						
							2001-10-18 20:05:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								689dccca31 
								
							 
						 
						
							
							
								
								Pull bytecode writing out of Module writer pass.  Prepare to move to seperate file  
							
							 
							
							... 
							
							
							
							llvm-svn: 895 
							
						 
						
							2001-10-18 20:05:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c063e73879 
								
							 
						 
						
							
							
								
								Add operator[] accessors  
							
							 
							
							... 
							
							
							
							llvm-svn: 894 
							
						 
						
							2001-10-18 20:04:40 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7c15313822 
								
							 
						 
						
							
							
								
								Add option to print per module instead of per method, so that  
							
							 
							
							... 
							
							
							
							global declarations are also printed.
llvm-svn: 891 
							
						 
						
							2001-10-18 18:13:49 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								fe2f987d5e 
								
							 
						 
						
							
							
								
								Add option to print as bytecode instead of assembly.  
							
							 
							
							... 
							
							
							
							llvm-svn: 887 
							
						 
						
							2001-10-18 13:47:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb742a58ee 
								
							 
						 
						
							
							
								
								Convert to new simpler Pass structure  
							
							 
							
							... 
							
							
							
							Componentize better
llvm-svn: 879 
							
						 
						
							2001-10-18 05:22:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0b04facf0 
								
							 
						 
						
							
							
								
								Convert to new simpler Pass structure  
							
							 
							
							... 
							
							
							
							llvm-svn: 878 
							
						 
						
							2001-10-18 05:22:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								92f1951e5b 
								
							 
						 
						
							
							
								
								Convert to new simpler pass structure  
							
							 
							
							... 
							
							
							
							llvm-svn: 877 
							
						 
						
							2001-10-18 05:21:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e3ad91c7ae 
								
							 
						 
						
							
							
								
								Simplify Pass by removing silly subclasses  
							
							 
							
							... 
							
							
							
							Fix an iterator problem
llvm-svn: 876 
							
						 
						
							2001-10-18 05:20:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								487374cffb 
								
							 
						 
						
							
							
								
								Fix minor bug, update comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 875 
							
						 
						
							2001-10-18 01:49:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f71b827441 
								
							 
						 
						
							
							
								
								Pass's return true if they make a modification, not if they fail  
							
							 
							
							... 
							
							
							
							llvm-svn: 872 
							
						 
						
							2001-10-18 01:32:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8874d31d91 
								
							 
						 
						
							
							
								
								Convert optimizations to use the Pass infrastructure  
							
							 
							
							... 
							
							
							
							llvm-svn: 871 
							
						 
						
							2001-10-18 01:31:58 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								505130cb30 
								
							 
						 
						
							
							
								
								Added virtual function to generate an instruction sequence to  
							
							 
							
							... 
							
							
							
							load a constant into a register.
llvm-svn: 862 
							
						 
						
							2001-10-18 00:02:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								af854b59c2 
								
							 
						 
						
							
							
								
								1. Add a bottom-up pass on BURG trees that is used to fix constant operands.  
							
							 
							
							... 
							
							
							
							Needs to be bottom up because constant values may be forward-substituted
   to their uses (i.e., into the parent in the BURG tree).
2. Move most of the constant-fixup code into machine-indepedent file
   InstrSelectionSupport.cpp.
llvm-svn: 860 
							
						 
						
							2001-10-17 23:59:09 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								21db313d7d 
								
							 
						 
						
							
							
								
								Remove extra assert in dyn_cast_or_null.  
							
							 
							
							... 
							
							
							
							llvm-svn: 856 
							
						 
						
							2001-10-17 22:39:50 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f42b65d898 
								
							 
						 
						
							
							
								
								added initializing regNum to -1 in both constructors of MachineOperand  
							
							 
							
							... 
							
							
							
							llvm-svn: 851 
							
						 
						
							2001-10-16 16:36:34 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								5b8971f418 
								
							 
						 
						
							
							
								
								Added support for caller saving  
							
							 
							
							... 
							
							
							
							llvm-svn: 847 
							
						 
						
							2001-10-16 01:23:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								24872c8838 
								
							 
						 
						
							
							
								
								Print Debug Code to stderr instead of stdout so that it doesn't mess up the assembly output  
							
							 
							
							... 
							
							
							
							llvm-svn: 841 
							
						 
						
							2001-10-15 18:30:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8761d50df7 
								
							 
						 
						
							
							
								
								ConcretePass should not be a templated class!  
							
							 
							
							... 
							
							
							
							llvm-svn: 838 
							
						 
						
							2001-10-15 17:47:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1bb5f8e4ee 
								
							 
						 
						
							
							
								
								Add new Pass infrastructure and some examples  
							
							 
							
							... 
							
							
							
							llvm-svn: 836 
							
						 
						
							2001-10-15 17:31:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6991ab1e5e 
								
							 
						 
						
							
							
								
								Convert to use Pass infrastructure  
							
							 
							
							... 
							
							
							
							llvm-svn: 834 
							
						 
						
							2001-10-15 17:30:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								578e83df34 
								
							 
						 
						
							
							
								
								File moved to: llvm/Transforms/HoistPHIConstants.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 833 
							
						 
						
							2001-10-15 17:30:06 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								48972e033b 
								
							 
						 
						
							
							
								
								--changed Sugesting colors for method calls/return values etc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 829 
							
						 
						
							2001-10-15 16:23:48 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								33535773cb 
								
							 
						 
						
							
							
								
								fixed a coalscing bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 828 
							
						 
						
							2001-10-15 16:22:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02b671388e 
								
							 
						 
						
							
							
								
								Be const correct  
							
							 
							
							... 
							
							
							
							llvm-svn: 826 
							
						 
						
							2001-10-15 15:54:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f6cb8e759a 
								
							 
						 
						
							
							
								
								Add cast_or_null & dyn_cast_or_null  
							
							 
							
							... 
							
							
							
							llvm-svn: 824 
							
						 
						
							2001-10-15 13:41:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								162ed4d6cc 
								
							 
						 
						
							
							
								
								Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much  
							
							 
							
							... 
							
							
							
							llvm-svn: 822 
							
						 
						
							2001-10-15 13:21:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								acff533281 
								
							 
						 
						
							
							
								
								Improve error messages on assertion failure.  
							
							 
							
							... 
							
							
							
							llvm-svn: 821 
							
						 
						
							2001-10-15 13:13:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0e09b977ca 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 813 
							
						 
						
							2001-10-14 23:34:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								79ccfb1e07 
								
							 
						 
						
							
							
								
								Update comment, remove misleading method  
							
							 
							
							... 
							
							
							
							llvm-svn: 806 
							
						 
						
							2001-10-14 23:26:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								004b85f9c0 
								
							 
						 
						
							
							
								
								Initializers are not const even if the GV is.  
							
							 
							
							... 
							
							
							
							llvm-svn: 805 
							
						 
						
							2001-10-14 23:24:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6e4d106c21 
								
							 
						 
						
							
							
								
								Cast NULL when requested.  
							
							 
							
							... 
							
							
							
							llvm-svn: 803 
							
						 
						
							2001-10-14 23:21:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								de04672797 
								
							 
						 
						
							
							
								
								Added getEntryNode() and getExitNode() functions.  
							
							 
							
							... 
							
							
							
							The latter are actually bogus and will be fixed by me soon.
llvm-svn: 802 
							
						 
						
							2001-10-14 23:20:44 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								27ee020e1b 
								
							 
						 
						
							
							
								
								Insert code to trace values at basic block and method exits.  
							
							 
							
							... 
							
							
							
							llvm-svn: 801 
							
						 
						
							2001-10-14 23:19:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								227ea168bd 
								
							 
						 
						
							
							
								
								Added routine to create a char array for a string.  
							
							 
							
							... 
							
							
							
							llvm-svn: 798 
							
						 
						
							2001-10-14 23:16:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9853942d66 
								
							 
						 
						
							
							
								
								Use the instruction.def file to remain up to date with future instruction  
							
							 
							
							... 
							
							
							
							changes
llvm-svn: 792 
							
						 
						
							2001-10-14 17:24:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								00987bb11a 
								
							 
						 
						
							
							
								
								New file to define instructions...  
							
							 
							
							... 
							
							
							
							llvm-svn: 791 
							
						 
						
							2001-10-14 17:24:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8015f958c6 
								
							 
						 
						
							
							
								
								New module linking functionality prototype  
							
							 
							
							... 
							
							
							
							llvm-svn: 789 
							
						 
						
							2001-10-13 16:57:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9b69cae4d9 
								
							 
						 
						
							
							
								
								Dang, I screwed up the merge.  This should be better  
							
							 
							
							... 
							
							
							
							llvm-svn: 785 
							
						 
						
							2001-10-13 07:18:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ea85fe365e 
								
							 
						 
						
							
							
								
								Fix filename in comment  
							
							 
							
							... 
							
							
							
							llvm-svn: 751 
							
						 
						
							2001-10-13 06:32:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								766662b331 
								
							 
						 
						
							
							
								
								Better linux support.  This file still sucks  
							
							 
							
							... 
							
							
							
							llvm-svn: 750 
							
						 
						
							2001-10-13 06:31:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9c4de2a7a2 
								
							 
						 
						
							
							
								
								Fix broken #endif  
							
							 
							
							... 
							
							
							
							llvm-svn: 749 
							
						 
						
							2001-10-13 06:31:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b18fe4e577 
								
							 
						 
						
							
							
								
								not is a keyword in Ansi C++.  Avoid it  
							
							 
							
							... 
							
							
							
							llvm-svn: 748 
							
						 
						
							2001-10-13 06:30:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1c36d74dec 
								
							 
						 
						
							
							
								
								Clean up initializers for GCC 2.96  
							
							 
							
							... 
							
							
							
							llvm-svn: 747 
							
						 
						
							2001-10-13 06:30:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2e676d6160 
								
							 
						 
						
							
							
								
								Remove exception specification.  Only slows code down.  
							
							 
							
							... 
							
							
							
							llvm-svn: 746 
							
						 
						
							2001-10-13 06:25:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								93f8297775 
								
							 
						 
						
							
							
								
								Changes to compile with GCC 2.96  
							
							 
							
							... 
							
							
							
							llvm-svn: 745 
							
						 
						
							2001-10-13 06:25:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								92d335cbfe 
								
							 
						 
						
							
							
								
								Add comment indicating semantics of indirect calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 744 
							
						 
						
							2001-10-13 06:24:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								826eff1c35 
								
							 
						 
						
							
							
								
								New ctor for invoke inst  
							
							 
							
							... 
							
							
							
							llvm-svn: 743 
							
						 
						
							2001-10-13 06:24:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6a69c69cbf 
								
							 
						 
						
							
							
								
								Add support for indirect calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 742 
							
						 
						
							2001-10-13 06:23:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								602c3c6533 
								
							 
						 
						
							
							
								
								Add some casts to make GCC 2.96 happy.  
							
							 
							
							... 
							
							
							
							llvm-svn: 741 
							
						 
						
							2001-10-13 06:20:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								107c57093e 
								
							 
						 
						
							
							
								
								Add use_back() methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 740 
							
						 
						
							2001-10-13 06:18:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								347dad3c70 
								
							 
						 
						
							
							
								
								Add classof implementations for User  
							
							 
							
							... 
							
							
							
							llvm-svn: 739 
							
						 
						
							2001-10-13 06:18:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bd71b7f4ec 
								
							 
						 
						
							
							
								
								Expose typedefs  
							
							 
							
							... 
							
							
							
							llvm-svn: 738 
							
						 
						
							2001-10-13 06:17:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bdc7ff5416 
								
							 
						 
						
							
							
								
								Add support for module local constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 737 
							
						 
						
							2001-10-13 06:17:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								56ee34b782 
								
							 
						 
						
							
							
								
								Add new opcode for Invoke instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 736 
							
						 
						
							2001-10-13 06:15:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								51499227a3 
								
							 
						 
						
							
							
								
								Minor changes, add new ctor for invoke instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 735 
							
						 
						
							2001-10-13 06:14:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c6b801adbc 
								
							 
						 
						
							
							
								
								Add assertions  
							
							 
							
							... 
							
							
							
							llvm-svn: 734 
							
						 
						
							2001-10-13 06:12:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								48e6a052c7 
								
							 
						 
						
							
							
								
								* Minor Formatting changes.  
							
							 
							
							... 
							
							
							
							* MethodType now takes an explicit isVarArg arg instead of an implicit
  voidTy on the argument list
llvm-svn: 733 
							
						 
						
							2001-10-13 06:12:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b7420043d6 
								
							 
						 
						
							
							
								
								* Add destroyConstant stuff to handle module local constants  
							
							 
							
							... 
							
							
							
							* Add classof implementations for more ConstPoolVal subclasses
* Pull null pointer implementation stuff out of ConstPoolPointer into
  a subclass ConstPoolPointerNull
* Implement ConstPoolPointerReference correctly and completely
llvm-svn: 732 
							
						 
						
							2001-10-13 06:11:10 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								85cc5744ba 
								
							 
						 
						
							
							
								
								--added support for implicit operands in machine instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 727 
							
						 
						
							2001-10-12 17:46:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8aeb09fcc7 
								
							 
						 
						
							
							
								
								Record implicitRefs for each machine instruction instead of  
							
							 
							
							... 
							
							
							
							each VM instruction.
llvm-svn: 725 
							
						 
						
							2001-10-11 04:23:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								192686db96 
								
							 
						 
						
							
							
								
								Machine-independent code generation routines used in instruction  
							
							 
							
							... 
							
							
							
							selection.  These used to live in several different places before.
llvm-svn: 719 
							
						 
						
							2001-10-10 20:50:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								a6d08b5f4c 
								
							 
						 
						
							
							
								
								Moved code generation support routines to InstrSelectionSupport.{h,cpp}.  
							
							 
							
							... 
							
							
							
							llvm-svn: 718 
							
						 
						
							2001-10-10 20:50:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2503325027 
								
							 
						 
						
							
							
								
								Factor parentness out of Module & GlobalVariable into GlobalValue  
							
							 
							
							... 
							
							
							
							Implement SymbolTable debug/dump utility
llvm-svn: 710 
							
						 
						
							2001-10-03 19:28:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5950852469 
								
							 
						 
						
							
							
								
								Share ConstPoolPointer elements correctly  
							
							 
							
							... 
							
							
							
							llvm-svn: 706 
							
						 
						
							2001-10-03 15:38:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7fac070215 
								
							 
						 
						
							
							
								
								* Both Method & GlobalVariable now subclass GlobalValue  
							
							 
							
							... 
							
							
							
							* ConstPoolPointerReference now represents a pointer to a GlobalValue
* Methods name references are now explicit pointers to methods
* Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion
llvm-svn: 703 
							
						 
						
							2001-10-03 14:53:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								60e0dd78b2 
								
							 
						 
						
							
							
								
								First try at a horrible global value reference wrapper  
							
							 
							
							... 
							
							
							
							llvm-svn: 701 
							
						 
						
							2001-10-03 06:12:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da55810666 
								
							 
						 
						
							
							
								
								Commit more code over to new cast style  
							
							 
							
							... 
							
							
							
							llvm-svn: 697 
							
						 
						
							2001-10-02 03:41:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3856934386 
								
							 
						 
						
							
							
								
								Convert more code to use new style casts  
							
							 
							
							... 
							
							
							
							Eliminate old style casts from value.h
llvm-svn: 696 
							
						 
						
							2001-10-01 20:11:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8f19112923 
								
							 
						 
						
							
							
								
								Add more support for new style casts  
							
							 
							
							... 
							
							
							
							Convert more code to use them
llvm-svn: 695 
							
						 
						
							2001-10-01 18:26:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4b717c0edc 
								
							 
						 
						
							
							
								
								Add support for new style casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 694 
							
						 
						
							2001-10-01 16:18:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								222b1f5775 
								
							 
						 
						
							
							
								
								Add support for newer cleaner isa, cast, dyn_cast  
							
							 
							
							... 
							
							
							
							llvm-svn: 693 
							
						 
						
							2001-10-01 13:58:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								274aeb7038 
								
							 
						 
						
							
							
								
								Update comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 692 
							
						 
						
							2001-10-01 13:34:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ba1c1f2fb6 
								
							 
						 
						
							
							
								
								Pull predecessor and successor iterators out of the CFG*.h files, and plop them into  
							
							 
							
							... 
							
							
							
							the BasicBlock class where they should be.  pred_begin/pred_end become methods on BasicBlock,
and the cfg namespace isn't used anymore.
llvm-svn: 691 
							
						 
						
							2001-10-01 13:19:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a7610016a5 
								
							 
						 
						
							
							
								
								Pull predecessor and successor iterators out of the CFG*.h files, and plop them into  
							
							 
							
							... 
							
							
							
							the BasicBlock class where they should be.  pred_begin/pred_end become methods on BasicBlock,
and the cfg namespace isn't used anymore.
Also pull Interval stuff into the Interval class out of the global namespace
llvm-svn: 690 
							
						 
						
							2001-10-01 13:19:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								fd72440286 
								
							 
						 
						
							
							
								
								Add vector `implicitUses' to class MachineCodeForVMInstr to hold values  
							
							 
							
							... 
							
							
							
							that are used by the VM instruction but not explicit operands of the
m/c instruction.
llvm-svn: 684 
							
						 
						
							2001-10-01 00:18:12 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								8a18706055 
								
							 
						 
						
							
							
								
								no major change.  
							
							 
							
							... 
							
							
							
							llvm-svn: 674 
							
						 
						
							2001-09-30 23:22:45 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								a7f89fc918 
								
							 
						 
						
							
							
								
								added suggesting color suppor  
							
							 
							
							... 
							
							
							
							llvm-svn: 672 
							
						 
						
							2001-09-30 23:19:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								436248f236 
								
							 
						 
						
							
							
								
								Implement a constant pointer value  
							
							 
							
							... 
							
							
							
							llvm-svn: 667 
							
						 
						
							2001-09-30 20:14:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								409bbecbcd 
								
							 
						 
						
							
							
								
								Pull iterators out of CFG.h and genericize them with GraphTraits  
							
							 
							
							... 
							
							
							
							llvm-svn: 666 
							
						 
						
							2001-09-28 22:59:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bb09a10929 
								
							 
						 
						
							
							
								
								Pull iterators out of CFG.h and CFGdecls and put them in Support directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 664 
							
						 
						
							2001-09-28 22:56:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bbf3ae8414 
								
							 
						 
						
							
							
								
								Initial support for construction of a call graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 660 
							
						 
						
							2001-09-28 00:08:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e518b60714 
								
							 
						 
						
							
							
								
								print out value's by pointer  
							
							 
							
							... 
							
							
							
							llvm-svn: 655 
							
						 
						
							2001-09-28 00:06:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								df7fe7109c 
								
							 
						 
						
							
							
								
								Add capability to print out call graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 654 
							
						 
						
							2001-09-28 00:06:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d89425bb58 
								
							 
						 
						
							
							
								
								Change debug info from #define to command line option  
							
							 
							
							... 
							
							
							
							llvm-svn: 646 
							
						 
						
							2001-09-19 16:26:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ab02e437ae 
								
							 
						 
						
							
							
								
								Remove debugging output stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 641 
							
						 
						
							2001-09-19 14:08:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								52c3e98826 
								
							 
						 
						
							
							
								
								Add emitAssembly Method  
							
							 
							
							... 
							
							
							
							llvm-svn: 639 
							
						 
						
							2001-09-19 13:54:19 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								219f777bad 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 634 
							
						 
						
							2001-09-18 22:57:47 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								b5dd3408cb 
								
							 
						 
						
							
							
								
								--added methods to operand class to set/get registers after register allocation  
							
							 
							
							... 
							
							
							
							llvm-svn: 633 
							
						 
						
							2001-09-18 22:54:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8d94df8212 
								
							 
						 
						
							
							
								
								Move operator << from Value.h to Assembly/Writer.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 626 
							
						 
						
							2001-09-18 17:03:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								665a31270b 
								
							 
						 
						
							
							
								
								Remove operator << to Assembly/Writer.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 625 
							
						 
						
							2001-09-18 17:03:04 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4d86cc2842 
								
							 
						 
						
							
							
								
								Renamed files to match the primary classes they provide.  
							
							 
							
							... 
							
							
							
							llvm-svn: 620 
							
						 
						
							2001-09-18 13:10:05 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0d4a68f8aa 
								
							 
						 
						
							
							
								
								Moved debugging interfaces for class Value to Value.h.  
							
							 
							
							... 
							
							
							
							llvm-svn: 604 
							
						 
						
							2001-09-18 12:43:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								06225084b9 
								
							 
						 
						
							
							
								
								Minor fixes: renamed target machine files; fold sched info into TargetMachine.  
							
							 
							
							... 
							
							
							
							llvm-svn: 603 
							
						 
						
							2001-09-18 12:41:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f95d8d430f 
								
							 
						 
						
							
							
								
								Make class TargetMachine the common interface to all target-dependent  
							
							 
							
							... 
							
							
							
							information, including instr, sched, and reg information.
Rename files to match the primary classes they provide.
llvm-svn: 602 
							
						 
						
							2001-09-18 12:38:31 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b530c7eaf0 
								
							 
						 
						
							
							
								
								Added debugging support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 601 
							
						 
						
							2001-09-18 12:23:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3779864fcf 
								
							 
						 
						
							
							
								
								Add support for global constants, and for initializers for constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 598 
							
						 
						
							2001-09-18 04:01:05 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								3a3bb0d68c 
								
							 
						 
						
							
							
								
								added a method to get reg num after register allocation  
							
							 
							
							... 
							
							
							
							llvm-svn: 596 
							
						 
						
							2001-09-15 21:11:48 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c56b9552eb 
								
							 
						 
						
							
							
								
								-modified machine operand class - took regNum out of union to set regNum after  
							
							 
							
							... 
							
							
							
							retister allocation.
llvm-svn: 594 
							
						 
						
							2001-09-15 20:16:41 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								fe0292e68d 
								
							 
						 
						
							
							
								
								-- debug messages dissabled  
							
							 
							
							... 
							
							
							
							llvm-svn: 589 
							
						 
						
							2001-09-15 16:54:40 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								b2587588d2 
								
							 
						 
						
							
							
								
								added reg alloc support  
							
							 
							
							... 
							
							
							
							llvm-svn: 588 
							
						 
						
							2001-09-15 00:34:31 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f60342a231 
								
							 
						 
						
							
							
								
								--reg alloc code added  
							
							 
							
							... 
							
							
							
							llvm-svn: 587 
							
						 
						
							2001-09-15 00:33:26 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								dfdab46dc1 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 579 
							
						 
						
							2001-09-14 20:31:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5452d611d1 
								
							 
						 
						
							
							
								
								Minor reformatting, & protection fixes  
							
							 
							
							... 
							
							
							
							llvm-svn: 570 
							
						 
						
							2001-09-14 16:08:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								374e3563c1 
								
							 
						 
						
							
							
								
								Split Register specific stuff out from TargetMachine.h to RegInfo.h  
							
							 
							
							... 
							
							
							
							Get rid of unneccesary #includes from TargetMachine.h
llvm-svn: 568 
							
						 
						
							2001-09-14 06:20:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								87b3bf630b 
								
							 
						 
						
							
							
								
								Split Target/Machine.h into three files:  
							
							 
							
							... 
							
							
							
							* Machine.h
* InstInfo.h
* SchedInfo.h
TODO: Split out reg info stuff
llvm-svn: 567 
							
						 
						
							2001-09-14 06:08:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								22a6a90511 
								
							 
						 
						
							
							
								
								Make a new llvm/Target #include directory.  
							
							 
							
							... 
							
							
							
							Move files from lib/CodeGen/TargetMachine to lib/Target
Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h}
Prepare to split TargetMachine.h into several smaller files
llvm-svn: 566 
							
						 
						
							2001-09-14 05:34:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dce33dfa4b 
								
							 
						 
						
							
							
								
								Checkin changes to:  
							
							 
							
							... 
							
							
							
							1. Clean up the TargetMachine structure.  No more wierd pointers that have to
   be cast around and taken care of by the target.
2. Instruction Scheduling now takes the schedinfo as an argument.  The same
   should be done with the instinfo, it just isn't now.
3. Sparc.h is now just a factory method.  Eventually this file will dissapear,
   but probably not until we have more than one backend.  :)
llvm-svn: 564 
							
						 
						
							2001-09-14 04:32:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0a823a062c 
								
							 
						 
						
							
							
								
								This checkin represents some cleanup of the backend, implementing the following things:  
							
							 
							
							... 
							
							
							
							1. The TargetMachine structure is free to decide the process a particular target uses to generate code.
2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory.  The Sparc.h file that is globally visible is just a stub.
3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort.
llvm-svn: 559 
							
						 
						
							2001-09-14 03:37:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1dd2c3f386 
								
							 
						 
						
							
							
								
								Initial instruction tree support for the analysis library  
							
							 
							
							... 
							
							
							
							llvm-svn: 555 
							
						 
						
							2001-09-14 01:42:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aa8d4c7517 
								
							 
						 
						
							
							
								
								Generic k-way tree support  
							
							 
							
							... 
							
							
							
							llvm-svn: 554 
							
						 
						
							2001-09-14 01:42:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f8459bb199 
								
							 
						 
						
							
							
								
								More cleanups, preparing to revamp InstrForest to, among other things,  
							
							 
							
							... 
							
							
							
							not leak all its allocated memory.
llvm-svn: 553 
							
						 
						
							2001-09-12 16:34:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								16dd09a7bb 
								
							 
						 
						
							
							
								
								* Clean up InstrForest  
							
							 
							
							... 
							
							
							
							* Fix ins sel problem, test case:
void "foo" (int *%x, int *%y)
begin
        seteq int *%x, %y
        ret void
end
llvm-svn: 552 
							
						 
						
							2001-09-12 01:28:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cc38da77e8 
								
							 
						 
						
							
							
								
								Eliminate 'BasicNode' from InstrForest.  
							
							 
							
							... 
							
							
							
							llvm-svn: 551 
							
						 
						
							2001-09-11 23:52:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								706ee8e5ec 
								
							 
						 
						
							
							
								
								Eliminate MainTreeNode function  
							
							 
							
							... 
							
							
							
							llvm-svn: 550 
							
						 
						
							2001-09-11 23:22:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3ce5ac2107 
								
							 
						 
						
							
							
								
								Handle subtract in expression classifier  
							
							 
							
							... 
							
							
							
							llvm-svn: 548 
							
						 
						
							2001-09-11 04:27:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								22c0bb699f 
								
							 
						 
						
							
							
								
								Disable destructors on constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 547 
							
						 
						
							2001-09-11 04:27:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1dc8b62690 
								
							 
						 
						
							
							
								
								* Add capability of printing out a global variable  
							
							 
							
							... 
							
							
							
							llvm-svn: 534 
							
						 
						
							2001-09-10 20:06:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6d37abd9cb 
								
							 
						 
						
							
							
								
								* Method::getType should return type cast as MethodType, eliminate getMethodType  
							
							 
							
							... 
							
							
							
							* Make Type::*Ty not be const types
* Add a new Type.def file to provide info about types
* Add a full complement of casting methods to the Type class
llvm-svn: 533 
							
						 
						
							2001-09-10 20:06:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								61204a9189 
								
							 
						 
						
							
							
								
								Update assertion to allow extra case  
							
							 
							
							... 
							
							
							
							llvm-svn: 532 
							
						 
						
							2001-09-10 20:02:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da9755002f 
								
							 
						 
						
							
							
								
								Implement global variable support  
							
							 
							
							... 
							
							
							
							llvm-svn: 530 
							
						 
						
							2001-09-10 07:58:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6aede54032 
								
							 
						 
						
							
							
								
								Remove 3 gross global functions that don't belong here  
							
							 
							
							... 
							
							
							
							llvm-svn: 523 
							
						 
						
							2001-09-09 23:00:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1117548f9e 
								
							 
						 
						
							
							
								
								Rename contype to subtype  
							
							 
							
							... 
							
							
							
							llvm-svn: 522 
							
						 
						
							2001-09-09 22:26:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9d0578c92b 
								
							 
						 
						
							
							
								
								Convert ConstRules to use annotations to clean it up.  
							
							 
							
							... 
							
							
							
							llvm-svn: 514 
							
						 
						
							2001-09-09 21:00:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								57de997eff 
								
							 
						 
						
							
							
								
								Fix build breakage. :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 511 
							
						 
						
							2001-09-09 19:52:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e6810c807 
								
							 
						 
						
							
							
								
								Remove extra #include  
							
							 
							
							... 
							
							
							
							llvm-svn: 508 
							
						 
						
							2001-09-09 19:34:25 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								4c8bd00b6c 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 507 
							
						 
						
							2001-09-08 17:23:06 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								2d98fd0ac5 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 506 
							
						 
						
							2001-09-08 14:32:00 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f5788aa837 
								
							 
						 
						
							
							
								
								Committed for compliation. Not yet final.  
							
							 
							
							... 
							
							
							
							--Ruchira
llvm-svn: 505 
							
						 
						
							2001-09-08 14:22:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dab21c54d1 
								
							 
						 
						
							
							
								
								New file for supporting abstract types  
							
							 
							
							... 
							
							
							
							llvm-svn: 502 
							
						 
						
							2001-09-07 23:00:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c6d8db65c8 
								
							 
						 
						
							
							
								
								Provide a way to change the incoming value for a phi node  
							
							 
							
							... 
							
							
							
							llvm-svn: 495 
							
						 
						
							2001-09-07 22:19:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8fb5258faa 
								
							 
						 
						
							
							
								
								* Remove lots of unnecesary #includes  
							
							 
							
							... 
							
							
							
							* Remove extra flyers
* Remove dependence on stringExtras by eliminating printIndent calls
llvm-svn: 486 
							
						 
						
							2001-09-07 21:18:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6b9a933694 
								
							 
						 
						
							
							
								
								* Remove lots of annoying extra #includes  
							
							 
							
							... 
							
							
							
							* Elminate dependecy on stringextras.h by moving dump's into .cpp files
* Kill InOutIterator class because it breaks iterator semantics to work like that
   - Copy ctor on iterator doesn't work.
llvm-svn: 485 
							
						 
						
							2001-09-07 21:07:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								313ece8a3e 
								
							 
						 
						
							
							
								
								* Add tag so emacs knows it's a c++ file  
							
							 
							
							... 
							
							
							
							* Remove frivolous flyers
llvm-svn: 484 
							
						 
						
							2001-09-07 21:04:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								feb62c321e 
								
							 
						 
						
							
							
								
								Add tags so emacs knows these are C++ files  
							
							 
							
							... 
							
							
							
							llvm-svn: 483 
							
						 
						
							2001-09-07 21:04:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d2a6069518 
								
							 
						 
						
							
							
								
								Remove extra space  
							
							 
							
							... 
							
							
							
							llvm-svn: 482 
							
						 
						
							2001-09-07 21:03:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aa271e6c35 
								
							 
						 
						
							
							
								
								Remove ReversePostOrderTraversal declaration  
							
							 
							
							... 
							
							
							
							llvm-svn: 481 
							
						 
						
							2001-09-07 21:02:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02e8c974dd 
								
							 
						 
						
							
							
								
								* Don't predefine ReversePostOrderTraversal because it adds a dependence on vector  
							
							 
							
							... 
							
							
							
							* static ctor/dtor is actually a REALLY good idea
* Remove explicit copy ctor and op=
llvm-svn: 480 
							
						 
						
							2001-09-07 21:02:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6f728cf288 
								
							 
						 
						
							
							
								
								NEw file  
							
							 
							
							... 
							
							
							
							llvm-svn: 478 
							
						 
						
							2001-09-07 19:29:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2833dd3fed 
								
							 
						 
						
							
							
								
								Follow the golden rule of the coding standards guide: Make the code look  
							
							 
							
							... 
							
							
							
							like the rest of the system.
llvm-svn: 476 
							
						 
						
							2001-09-07 17:38:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dbc082f7f7 
								
							 
						 
						
							
							
								
								Constant pool is eliminated  
							
							 
							
							... 
							
							
							
							llvm-svn: 473 
							
						 
						
							2001-09-07 17:08:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								330f87d7fe 
								
							 
						 
						
							
							
								
								Add support for iteration through type graphs  
							
							 
							
							... 
							
							
							
							Static constructors destroy genericity
llvm-svn: 472 
							
						 
						
							2001-09-07 17:04:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fd5541a8c8 
								
							 
						 
						
							
							
								
								* Fixed mapped_iterator to actually work with functors  
							
							 
							
							... 
							
							
							
							* Implement mapto function that works like map in a functional programming language
llvm-svn: 439 
							
						 
						
							2001-09-07 16:30:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a559795e9a 
								
							 
						 
						
							
							
								
								Constant pools no longer exist  
							
							 
							
							... 
							
							
							
							llvm-svn: 438 
							
						 
						
							2001-09-07 16:29:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d996b2d857 
								
							 
						 
						
							
							
								
								Eliminate DoConstantPoolMerging.  ConstantPools no longer exist  
							
							 
							
							... 
							
							
							
							llvm-svn: 437 
							
						 
						
							2001-09-07 16:29:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a7f5ed8f26 
								
							 
						 
						
							
							
								
								You no longer have to delete constants!  They are located in a global  
							
							 
							
							... 
							
							
							
							constant pool instead of in local ones.
Change bool handling to prevent modification of bool values
llvm-svn: 436 
							
						 
						
							2001-09-07 16:29:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5e89d7c81c 
								
							 
						 
						
							
							
								
								Annotations are now passed around as const objects  
							
							 
							
							... 
							
							
							
							llvm-svn: 435 
							
						 
						
							2001-09-07 16:28:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b68baea2ed 
								
							 
						 
						
							
							
								
								Use a deque instead of a vector for greater efficiency writing bytecode  
							
							 
							
							... 
							
							
							
							llvm-svn: 434 
							
						 
						
							2001-09-07 16:27:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6dbd0f2a81 
								
							 
						 
						
							
							
								
								Clean stuff up.  
							
							 
							
							... 
							
							
							
							Types are not named, they are described
llvm-svn: 433 
							
						 
						
							2001-09-07 16:27:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6f0e042959 
								
							 
						 
						
							
							
								
								Simplify SlotCalculator.  SlotCalculator is now not a ModuleAnalyzer  
							
							 
							
							... 
							
							
							
							llvm-svn: 432 
							
						 
						
							2001-09-07 16:27:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								faa382da48 
								
							 
						 
						
							
							
								
								Simplify analyzer  
							
							 
							
							... 
							
							
							
							llvm-svn: 431 
							
						 
						
							2001-09-07 16:26:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a9a872f142 
								
							 
						 
						
							
							
								
								* Fix long standing problems that would affect inlining.  How could this have worked?  
							
							 
							
							... 
							
							
							
							* Update to new setName interface
llvm-svn: 430 
							
						 
						
							2001-09-07 16:26:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								71cc25394b 
								
							 
						 
						
							
							
								
								Add assertion to check for  
							
							 
							
							... 
							
							
							
							alloca [int]
for example
llvm-svn: 429 
							
						 
						
							2001-09-07 16:25:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4ce1643c94 
								
							 
						 
						
							
							
								
								* Values are AbstactTypeUsers to support abstract types  
							
							 
							
							... 
							
							
							
							* SetName now takes extra parameter to support naming types and constants without handles
llvm-svn: 428 
							
						 
						
							2001-09-07 16:25:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8e0ee42697 
								
							 
						 
						
							
							
								
								Remove extra whitespace at EOL  
							
							 
							
							... 
							
							
							
							llvm-svn: 427 
							
						 
						
							2001-09-07 16:24:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fc51ef84bb 
								
							 
						 
						
							
							
								
								* Add support for Opaque & Abstract types.  
							
							 
							
							... 
							
							
							
							* Remove silly enum values that are never going to be used
* What used to be a types "name" is now it's "description"
* Add a new iterator to type to allow users to iterate over subtypes
llvm-svn: 426 
							
						 
						
							2001-09-07 16:23:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0f26373be3 
								
							 
						 
						
							
							
								
								Support abstract types by keeping on the use list of the abstract type.  
							
							 
							
							... 
							
							
							
							llvm-svn: 425 
							
						 
						
							2001-09-07 16:21:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								433a9e8244 
								
							 
						 
						
							
							
								
								SymTabValues no longer hold constant pools  
							
							 
							
							... 
							
							
							
							llvm-svn: 424 
							
						 
						
							2001-09-07 16:21:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b371e06002 
								
							 
						 
						
							
							
								
								SymTabValue no longer includes ValueHolder for Module. Include it ourself  
							
							 
							
							... 
							
							
							
							llvm-svn: 423 
							
						 
						
							2001-09-07 16:20:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4619a296f3 
								
							 
						 
						
							
							
								
								* Support new setName interface  
							
							 
							
							... 
							
							
							
							* Make the iterator a little nicer
llvm-svn: 422 
							
						 
						
							2001-09-07 16:20:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								09dcda1769 
								
							 
						 
						
							
							
								
								Support new setName interface  
							
							 
							
							... 
							
							
							
							llvm-svn: 421 
							
						 
						
							2001-09-07 16:19:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fce2dd9caa 
								
							 
						 
						
							
							
								
								* Add new DerivedType base class that goes between Type and the derived types  
							
							 
							
							... 
							
							
							
							* Implement abstract types
* Add new Opaque derived type
llvm-svn: 420 
							
						 
						
							2001-09-07 16:19:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3fc9d2f558 
								
							 
						 
						
							
							
								
								Implement support for globally unique constants.  Constants no longer live  
							
							 
							
							... 
							
							
							
							in a module or method local pool, they are global to the llvm system.
llvm-svn: 419 
							
						 
						
							2001-09-07 16:18:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								52e6fa2031 
								
							 
						 
						
							
							
								
								Add support for walking type graphs  
							
							 
							
							... 
							
							
							
							llvm-svn: 418 
							
						 
						
							2001-09-07 16:17:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8d230bf786 
								
							 
						 
						
							
							
								
								Changing setName semantics  
							
							 
							
							... 
							
							
							
							llvm-svn: 417 
							
						 
						
							2001-09-07 16:16:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0799ddb3a9 
								
							 
						 
						
							
							
								
								Make annotations operations const with a mutable annotation list so that  
							
							 
							
							... 
							
							
							
							we can annotate Types.  A better solution would be make types nonconst.
llvm-svn: 416 
							
						 
						
							2001-09-07 16:16:35 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								b7237c88ae 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 411 
							
						 
						
							2001-08-31 20:30:42 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3497e216d0 
								
							 
						 
						
							
							
								
								Added function MachineInstr::operandIsDefined(i) and decl for  
							
							 
							
							... 
							
							
							
							function PrintMachineInstructions.
llvm-svn: 399 
							
						 
						
							2001-08-28 23:11:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								23e59b70cd 
								
							 
						 
						
							
							
								
								Extensive additions for supporting instruction scheduling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 398 
							
						 
						
							2001-08-28 23:10:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								742086f200 
								
							 
						 
						
							
							
								
								Added class MachineSchedInfo and several supporting classes  
							
							 
							
							... 
							
							
							
							as a machine description for instruction scheduling.
llvm-svn: 397 
							
						 
						
							2001-08-28 23:09:36 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3148b83485 
								
							 
						 
						
							
							
								
								Implementation of instruction scheduling for LLVM.  
							
							 
							
							... 
							
							
							
							Currently schedules one basic block at a time.
llvm-svn: 396 
							
						 
						
							2001-08-28 23:07:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								138c3bb667 
								
							 
						 
						
							
							
								
								Class that encapsulates priority heuristics for instruction scheduling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 395 
							
						 
						
							2001-08-28 23:06:49 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								754c4dd6ae 
								
							 
						 
						
							
							
								
								Scheduling DAG for instruction scheduling.  Currently for a single basic block.  
							
							 
							
							... 
							
							
							
							llvm-svn: 394 
							
						 
						
							2001-08-28 23:06:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6b99de80dc 
								
							 
						 
						
							
							
								
								Simplification transformations to normalize the code for later passes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 389 
							
						 
						
							2001-08-28 21:40:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7e95d47bdc 
								
							 
						 
						
							
							
								
								Use const int instead of #define.  
							
							 
							
							... 
							
							
							
							llvm-svn: 388 
							
						 
						
							2001-08-28 21:35:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								586a1d73a9 
								
							 
						 
						
							
							
								
								Add copy and assignment operators for POIterator, and  
							
							 
							
							... 
							
							
							
							static constructors.
llvm-svn: 387 
							
						 
						
							2001-08-28 21:34:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								53bbf0783b 
								
							 
						 
						
							
							
								
								Initial checkin of TargetData code  
							
							 
							
							... 
							
							
							
							llvm-svn: 384 
							
						 
						
							2001-08-27 16:00:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eae2201f08 
								
							 
						 
						
							
							
								
								Use the new TargetData class to factor out some of the shared code  
							
							 
							
							... 
							
							
							
							between the static compilers and the interpreter.
llvm-svn: 379 
							
						 
						
							2001-08-27 15:50:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1cb56eda7f 
								
							 
						 
						
							
							
								
								Remove target specific method.  
							
							 
							
							... 
							
							
							
							llvm-svn: 378 
							
						 
						
							2001-08-27 15:49:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ab759f00c3 
								
							 
						 
						
							
							
								
								Remove target specific code, move to TargetData.cpp file  
							
							 
							
							... 
							
							
							
							llvm-svn: 377 
							
						 
						
							2001-08-27 15:49:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8aaab6b9c1 
								
							 
						 
						
							
							
								
								Extend annotations to pass data pointers around to the functions  
							
							 
							
							... 
							
							
							
							llvm-svn: 374 
							
						 
						
							2001-08-27 05:17:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3885a2db4f 
								
							 
						 
						
							
							
								
								Add annotation support  
							
							 
							
							... 
							
							
							
							llvm-svn: 366 
							
						 
						
							2001-08-23 17:07:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8e626e419e 
								
							 
						 
						
							
							
								
								Add annotation support to value  
							
							 
							
							... 
							
							
							
							llvm-svn: 363 
							
						 
						
							2001-08-23 17:06:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9f35277950 
								
							 
						 
						
							
							
								
								* Add assertions  
							
							 
							
							... 
							
							
							
							* Add a nodeVisited method to the DF interator
llvm-svn: 362 
							
						 
						
							2001-08-23 17:05:59 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								ec1a5411d7 
								
							 
						 
						
							
							
								
								LV info on machine instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 359 
							
						 
						
							2001-08-20 21:11:01 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								8c99a32982 
								
							 
						 
						
							
							
								
								Corrected the compilation error by making the ValOperator class a friend of  
							
							 
							
							... 
							
							
							
							MachineOperand class - Ruchira
llvm-svn: 358 
							
						 
						
							2001-08-13 16:54:48 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5715b56e65 
								
							 
						 
						
							
							
								
								Can't use ref to stack value!  
							
							 
							
							... 
							
							
							
							llvm-svn: 354 
							
						 
						
							2001-08-09 20:14:22 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								315d2d941e 
								
							 
						 
						
							
							
								
								Needed old conditions as well as new in skipToNextVal()!  
							
							 
							
							... 
							
							
							
							llvm-svn: 353 
							
						 
						
							2001-08-09 19:18:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c3fd4c2fc6 
								
							 
						 
						
							
							
								
								Bug fix in ValOpIterator: not moving past operand with NULL Value.  
							
							 
							
							... 
							
							
							
							llvm-svn: 352 
							
						 
						
							2001-08-08 00:15:42 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c82322c526 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 351 
							
						 
						
							2001-08-07 21:01:23 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								5303bac986 
								
							 
						 
						
							
							
								
								Added isDef field to MachineOperand class - Ruchira  
							
							 
							
							... 
							
							
							
							llvm-svn: 349 
							
						 
						
							2001-08-07 20:14:30 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								13090bd303 
								
							 
						 
						
							
							
								
								Use extra operand for instructions that set a CC register that  
							
							 
							
							... 
							
							
							
							was not explicit before.
llvm-svn: 347 
							
						 
						
							2001-08-06 21:05:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								701a698d43 
								
							 
						 
						
							
							
								
								Allow numOperands of -1 for variable #operands.  
							
							 
							
							... 
							
							
							
							llvm-svn: 341 
							
						 
						
							2001-07-31 21:55:51 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ff7070bbb9 
								
							 
						 
						
							
							
								
								Allow machine instructions with variable numbers of arguments.  
							
							 
							
							... 
							
							
							
							This is used only by Phi for now.
llvm-svn: 336 
							
						 
						
							2001-07-31 21:49:28 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5af4076380 
								
							 
						 
						
							
							
								
								Added dummy Phi instruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 335 
							
						 
						
							2001-07-31 21:48:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								06c30a0419 
								
							 
						 
						
							
							
								
								Added class MachineCodeForBasicBlock.  
							
							 
							
							... 
							
							
							
							llvm-svn: 332 
							
						 
						
							2001-07-30 18:49:07 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								32b5d841ba 
								
							 
						 
						
							
							
								
								Added vector of machine instructions for the basic block.  
							
							 
							
							... 
							
							
							
							llvm-svn: 330 
							
						 
						
							2001-07-30 18:47:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								58b3b9a4da 
								
							 
						 
						
							
							
								
								Modify var names to make it apparant that the code is really generic  
							
							 
							
							... 
							
							
							
							llvm-svn: 320 
							
						 
						
							2001-07-28 17:43:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								222c518e1c 
								
							 
						 
						
							
							
								
								Added function printIndent.  
							
							 
							
							... 
							
							
							
							llvm-svn: 317 
							
						 
						
							2001-07-28 04:41:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								56324d34f7 
								
							 
						 
						
							
							
								
								Added a pointer hash function object for use in pointer maps.  
							
							 
							
							... 
							
							
							
							llvm-svn: 316 
							
						 
						
							2001-07-28 04:41:10 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0f32957dbb 
								
							 
						 
						
							
							
								
								Make a function const.  
							
							 
							
							... 
							
							
							
							llvm-svn: 315 
							
						 
						
							2001-07-28 04:40:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								72ffa4357c 
								
							 
						 
						
							
							
								
								Added several SPARC instructions including conditional move and SETHI.  
							
							 
							
							... 
							
							
							
							Added MachineInstrInfo class and subclass UltraSparcInstrInfo.
Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo).  Latency fields are to support scheduling.
llvm-svn: 313 
							
						 
						
							2001-07-28 04:26:42 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f72a942a3c 
								
							 
						 
						
							
							
								
								Remove redundant and unused functions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 312 
							
						 
						
							2001-07-28 04:20:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c429691751 
								
							 
						 
						
							
							
								
								Added MachineInstrInfo class and moved instruction-related members there.  
							
							 
							
							... 
							
							
							
							Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo.  Latency fields are to support scheduling.
llvm-svn: 308 
							
						 
						
							2001-07-28 04:09:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								bff682dfac 
								
							 
						 
						
							
							
								
								Eliminate separate enum for operand register type.  
							
							 
							
							... 
							
							
							
							Use union for alternative data for different operand types.
Add iterator over Value* operands in a MachineInstr.
llvm-svn: 307 
							
						 
						
							2001-07-28 04:06:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								547bda8e18 
								
							 
						 
						
							
							
								
								Add an arg to insertVal to allow us to prevent builtin types from being ignored  
							
							 
							
							... 
							
							
							
							when they are inserted
llvm-svn: 302 
							
						 
						
							2001-07-26 16:28:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								90e0d464ba 
								
							 
						 
						
							
							
								
								Add support for extern varargs methods & varargs method calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 297 
							
						 
						
							2001-07-25 22:47:55 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9f18119edb 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 291 
							
						 
						
							2001-07-24 17:14:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78a307b170 
								
							 
						 
						
							
							
								
								Eliminated the Unique class in favor of NonCopyable and NonCopyableV  
							
							 
							
							... 
							
							
							
							llvm-svn: 280 
							
						 
						
							2001-07-23 18:26:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e2472bbf6c 
								
							 
						 
						
							
							
								
								Moved inline/llvm/Tools/* to include/llvm/Support/*  
							
							 
							
							... 
							
							
							
							llvm-svn: 279 
							
						 
						
							2001-07-23 17:46:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7c310fa6ac 
								
							 
						 
						
							
							
								
								Fix coding style issues to actually attempt to be somewhat uniform  
							
							 
							
							... 
							
							
							
							llvm-svn: 277 
							
						 
						
							2001-07-23 05:03:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ae066aaf44 
								
							 
						 
						
							
							
								
								Nonpolymorphic class, doesn't need a virtual dtor!  
							
							 
							
							... 
							
							
							
							llvm-svn: 276 
							
						 
						
							2001-07-23 03:57:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								44187dbff1 
								
							 
						 
						
							
							
								
								Clean up hash table usage  
							
							 
							
							... 
							
							
							
							Remove opaque pointer used for C compatibility which isn't an issue
llvm-svn: 275 
							
						 
						
							2001-07-23 03:50:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d8f1cc98e8 
								
							 
						 
						
							
							
								
								Removal of the redundant CompileContext wrapper  
							
							 
							
							... 
							
							
							
							llvm-svn: 274 
							
						 
						
							2001-07-23 03:09:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0af2464a78 
								
							 
						 
						
							
							
								
								Large scale changes to implement new command line argument facility  
							
							 
							
							... 
							
							
							
							llvm-svn: 272 
							
						 
						
							2001-07-23 02:35:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1dde6921a3 
								
							 
						 
						
							
							
								
								Add flag for emacs so it realizes it's C++ code  
							
							 
							
							... 
							
							
							
							llvm-svn: 269 
							
						 
						
							2001-07-22 05:15:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9c0f8f24e0 
								
							 
						 
						
							
							
								
								Privatize LLCOptions.  It had no business being visible to the entire  
							
							 
							
							... 
							
							
							
							program.
llvm-svn: 267 
							
						 
						
							2001-07-22 04:40:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2c52fe7a52 
								
							 
						 
						
							
							
								
								Move private header into private directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 266 
							
						 
						
							2001-07-22 03:59:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5f4b44652f 
								
							 
						 
						
							
							
								
								Convert from using C style char*'s to strings.  
							
							 
							
							... 
							
							
							
							Look ma, no strdups
llvm-svn: 265 
							
						 
						
							2001-07-22 03:57:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6f55581254 
								
							 
						 
						
							
							
								
								Remove String file some more  
							
							 
							
							... 
							
							
							
							llvm-svn: 264 
							
						 
						
							2001-07-22 00:46:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a05bbb614f 
								
							 
						 
						
							
							
								
								Destroy the StringUtils.h file  
							
							 
							
							... 
							
							
							
							llvm-svn: 262 
							
						 
						
							2001-07-22 00:18:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b299068101 
								
							 
						 
						
							
							
								
								Eliminate lots of unnecessary #includes and forward decls  
							
							 
							
							... 
							
							
							
							there are probably more to kill
llvm-svn: 261 
							
						 
						
							2001-07-21 23:24:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								293e80559c 
								
							 
						 
						
							
							
								
								Exterminate nasty Cisms  
							
							 
							
							... 
							
							
							
							llvm-svn: 257 
							
						 
						
							2001-07-21 22:42:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dd511760d9 
								
							 
						 
						
							
							
								
								Renamed include/llvm/Codegen to include/llvm/CodeGen  
							
							 
							
							... 
							
							
							
							llvm-svn: 253 
							
						 
						
							2001-07-21 20:58:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								68cf7a4626 
								
							 
						 
						
							
							
								
								More minor reorganizations  
							
							 
							
							... 
							
							
							
							llvm-svn: 251 
							
						 
						
							2001-07-21 20:08:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								93547c3231 
								
							 
						 
						
							
							
								
								Remove getTempValuesForMachineCode from the Instruction interface  
							
							 
							
							... 
							
							
							
							to remove dependency on <vector>
llvm-svn: 250 
							
						 
						
							2001-07-21 20:04:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c9f7c061bc 
								
							 
						 
						
							
							
								
								Add support for casting operators  
							
							 
							
							... 
							
							
							
							llvm-svn: 243 
							
						 
						
							2001-07-21 19:10:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2c6f274188 
								
							 
						 
						
							
							
								
								More functionality, renamed API  
							
							 
							
							... 
							
							
							
							llvm-svn: 241 
							
						 
						
							2001-07-21 19:07:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4ee51f4ede 
								
							 
						 
						
							
							
								
								Moved isIntegral to the Type system  
							
							 
							
							... 
							
							
							
							Renamed equals(char) to equalsInt(char).  Made it a const memfunc
llvm-svn: 240 
							
						 
						
							2001-07-21 19:02:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1f3de470af 
								
							 
						 
						
							
							
								
								General support utilities like a program options class and a StringMap  
							
							 
							
							... 
							
							
							
							class for mapping strings to arbitrary things.
llvm-svn: 228 
							
						 
						
							2001-07-21 12:40:18 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ad5ac0fab4 
								
							 
						 
						
							
							
								
								CompileContext and options class for the llc compiler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 227 
							
						 
						
							2001-07-21 12:39:30 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5c66a797a2 
								
							 
						 
						
							
							
								
								Header files for the target architecture description and for instruction  
							
							 
							
							... 
							
							
							
							selection, and instances of these for the SPARC.
llvm-svn: 226 
							
						 
						
							2001-07-21 12:39:03 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								fcb6aefa90 
								
							 
						 
						
							
							
								
								Provide simpler ways to extract the value of an integer constant.  
							
							 
							
							... 
							
							
							
							llvm-svn: 223 
							
						 
						
							2001-07-20 21:11:07 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0452d48c50 
								
							 
						 
						
							
							
								
								Compute and cache information about the storage size and layout  
							
							 
							
							... 
							
							
							
							of structures.  This information is machine-dependent.
llvm-svn: 222 
							
						 
						
							2001-07-20 21:09:17 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								75cc5a26a2 
								
							 
						 
						
							
							
								
								Provide uniform access to the pointer operand and to the index  
							
							 
							
							... 
							
							
							
							operands (if any) for different types of MemAccessInst's.
llvm-svn: 221 
							
						 
						
							2001-07-20 21:07:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3e2394cdad 
								
							 
						 
						
							
							
								
								Added a representation of the machine instructions generated  
							
							 
							
							... 
							
							
							
							for a VM instruction.
llvm-svn: 220 
							
						 
						
							2001-07-20 21:05:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								85090922f4 
								
							 
						 
						
							
							
								
								Start of expression analysis support  
							
							 
							
							... 
							
							
							
							llvm-svn: 219 
							
						 
						
							2001-07-20 19:17:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								26be0fc32a 
								
							 
						 
						
							
							
								
								Header to raise and lower representation  
							
							 
							
							... 
							
							
							
							llvm-svn: 218 
							
						 
						
							2001-07-20 19:17:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e3d4a4fa44 
								
							 
						 
						
							
							
								
								Add multiply as a supported constant propogation operation  
							
							 
							
							... 
							
							
							
							Include the LevelChange.h header in AllOpts.h
llvm-svn: 211 
							
						 
						
							2001-07-20 19:14:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								64a234bc26 
								
							 
						 
						
							
							
								
								New function: WriteAsOperand.  
							
							 
							
							... 
							
							
							
							llvm-svn: 210 
							
						 
						
							2001-07-20 19:14:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								85b1f15113 
								
							 
						 
						
							
							
								
								Add new base class ConstPoolInt, useful for dealing with integral constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 209 
							
						 
						
							2001-07-20 19:13:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c9bdc871ca 
								
							 
						 
						
							
							
								
								Add new method, ensureTypeAvailable  
							
							 
							
							... 
							
							
							
							llvm-svn: 208 
							
						 
						
							2001-07-20 19:13:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0d94bacd62 
								
							 
						 
						
							
							
								
								Change is*Type to be a casting convertion operator  
							
							 
							
							... 
							
							
							
							Add a new isIntegral virtual function
llvm-svn: 207 
							
						 
						
							2001-07-20 19:12:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2d4f9e0995 
								
							 
						 
						
							
							
								
								Add an function to BinaryOperator to swap the two operands  
							
							 
							
							... 
							
							
							
							llvm-svn: 206 
							
						 
						
							2001-07-20 19:09:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ad8051b0b3 
								
							 
						 
						
							
							
								
								Add short forms of the get*Type methods.  
							
							 
							
							... 
							
							
							
							llvm-svn: 205 
							
						 
						
							2001-07-20 19:09:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49970039ea 
								
							 
						 
						
							
							
								
								Fixed typo in comment  
							
							 
							
							... 
							
							
							
							llvm-svn: 201 
							
						 
						
							2001-07-16 16:17:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eaed2794d8 
								
							 
						 
						
							
							
								
								Rename 'isMethodExternal' to 'isExternal'  
							
							 
							
							... 
							
							
							
							llvm-svn: 194 
							
						 
						
							2001-07-15 06:35:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2cded30974 
								
							 
						 
						
							
							
								
								Add a function to convert a double to a string  
							
							 
							
							... 
							
							
							
							llvm-svn: 187 
							
						 
						
							2001-07-15 00:16:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								08d936465f 
								
							 
						 
						
							
							
								
								Add support to write and read a fixed amount of raw data  
							
							 
							
							... 
							
							
							
							llvm-svn: 186 
							
						 
						
							2001-07-15 00:16:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5446f8a542 
								
							 
						 
						
							
							
								
								* The parent of a constant pool is a SymTabValue, not a value.  
							
							 
							
							... 
							
							
							
							llvm-svn: 178 
							
						 
						
							2001-07-14 06:08:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5a2d2b1f0a 
								
							 
						 
						
							
							
								
								Made the following changes:  
							
							 
							
							... 
							
							
							
							* ValueHolder became a 3 argument template.  This allows for BasicBlock to
  use the value holder arg as a typesafe parent pointer.
* SymTabValue no longer inherits from Value
* Method does not inherit from only SymTabValue.  Now it inherits from both
  STV & Value.
* Module does not inherit from only SymTabValue.  Now it inherits from both
  STV & Value.
* Updated the SymTabValue.h file to reference SymTabValue instead of STDef
  in several places
* Added isArraySelector & isStructSelector to GetElementPtr instruction
llvm-svn: 177 
							
						 
						
							2001-07-14 06:07:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5f904ea839 
								
							 
						 
						
							
							
								
								Made it not inline  
							
							 
							
							... 
							
							
							
							llvm-svn: 174 
							
						 
						
							2001-07-12 23:35:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								805c1514e4 
								
							 
						 
						
							
							
								
								Add DebugValue global function  
							
							 
							
							... 
							
							
							
							llvm-svn: 173 
							
						 
						
							2001-07-12 23:33:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								875710c4a1 
								
							 
						 
						
							
							
								
								hasSideEffects should be marked virtual  
							
							 
							
							... 
							
							
							
							stores and free's have sideeffects
llvm-svn: 170 
							
						 
						
							2001-07-09 19:38:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								006106973f 
								
							 
						 
						
							
							
								
								Fix stupid typo  
							
							 
							
							... 
							
							
							
							llvm-svn: 168 
							
						 
						
							2001-07-09 16:54:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								62ecb4a137 
								
							 
						 
						
							
							
								
								Implementation of Store & GetElementPtr  
							
							 
							
							... 
							
							
							
							llvm-svn: 164 
							
						 
						
							2001-07-08 23:22:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d8bebcd517 
								
							 
						 
						
							
							
								
								Implemented shl, shl, & load instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 161 
							
						 
						
							2001-07-08 21:10:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49c643262e 
								
							 
						 
						
							
							
								
								Moved Cast from being a Unary instruction to being an "Other" instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 160 
							
						 
						
							2001-07-08 19:03:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b418152221 
								
							 
						 
						
							
							
								
								Add a new "addOperand" method to User.  
							
							 
							
							... 
							
							
							
							llvm-svn: 158 
							
						 
						
							2001-07-08 18:38:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a682182f64 
								
							 
						 
						
							
							
								
								Neg instruction removed.  Cast instruction implemented.  
							
							 
							
							... 
							
							
							
							llvm-svn: 156 
							
						 
						
							2001-07-08 04:57:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								87d478287b 
								
							 
						 
						
							
							
								
								Convert BinaryOperand and UnaryOperator to only take instruction types of  
							
							 
							
							... 
							
							
							
							the appropriate enum
llvm-svn: 153 
							
						 
						
							2001-07-07 20:17:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b1ca9cbceb 
								
							 
						 
						
							
							
								
								Broad superficial changes:  
							
							 
							
							... 
							
							
							
							* Renamed getOpcode to getOpcodeName
* Changed getOpcodeName to return a const char * instead of string
* Added a getOpcode method to replace getInstType
* Changed code to use getOpcode instead of getInstType
llvm-svn: 152 
							
						 
						
							2001-07-07 19:24:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								48d80e18f9 
								
							 
						 
						
							
							
								
								Devirtualize User::dropAllReferences  
							
							 
							
							... 
							
							
							
							llvm-svn: 151 
							
						 
						
							2001-07-07 19:00:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a999afa182 
								
							 
						 
						
							
							
								
								Remove dtor's that simply call dropAllReferences  
							
							 
							
							... 
							
							
							
							llvm-svn: 150 
							
						 
						
							2001-07-07 18:42:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a6c8b30e9d 
								
							 
						 
						
							
							
								
								New file, includes method to merge exit nodes together  
							
							 
							
							... 
							
							
							
							llvm-svn: 141 
							
						 
						
							2001-07-06 16:57:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5afd71b109 
								
							 
						 
						
							
							
								
								* Add a DominatorBase base class to maintain root of Dominator info  
							
							 
							
							... 
							
							
							
							* Implement post dominator support
llvm-svn: 140 
							
						 
						
							2001-07-06 16:57:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								719d5b2899 
								
							 
						 
						
							
							
								
								* Added comments  
							
							 
							
							... 
							
							
							
							* Made iterators inherit from appropriate iterator base class
* Abstracted out graphs from depth first iterator
* Add "Inverse" traversal of CFG
llvm-svn: 139 
							
						 
						
							2001-07-06 16:56:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6bf3e9512b 
								
							 
						 
						
							
							
								
								IntervalPartition was changed to inherit from vector<Interval*> instead of  
							
							 
							
							... 
							
							
							
							contain it so that it would have full iterator access without much work.
llvm-svn: 132 
							
						 
						
							2001-07-03 15:28:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f9bd02a89a 
								
							 
						 
						
							
							
								
								Checkin of new Analysis result printing header  
							
							 
							
							... 
							
							
							
							llvm-svn: 130 
							
						 
						
							2001-07-03 05:37:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a2bb73e41f 
								
							 
						 
						
							
							
								
								Remove code for printing out Analysis data structures.  It got moved  
							
							 
							
							... 
							
							
							
							llvm-svn: 128 
							
						 
						
							2001-07-03 05:35:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7edbdd4485 
								
							 
						 
						
							
							
								
								Update documentation a bit, correct #include guard  
							
							 
							
							... 
							
							
							
							llvm-svn: 127 
							
						 
						
							2001-07-03 05:35:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6dccb6576c 
								
							 
						 
						
							
							
								
								Enable printing of dominator related information.  
							
							 
							
							... 
							
							
							
							Theis will eventually be moved!
llvm-svn: 123 
							
						 
						
							2001-07-02 05:45:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								12393e5c5a 
								
							 
						 
						
							
							
								
								Add new anaysis routines for building dominator related information  
							
							 
							
							... 
							
							
							
							llvm-svn: 122 
							
						 
						
							2001-07-02 05:45:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b44c6a4b47 
								
							 
						 
						
							
							
								
								Addition of 'deleter' function.  
							
							 
							
							... 
							
							
							
							llvm-svn: 121 
							
						 
						
							2001-07-02 01:09:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9dd7120a2a 
								
							 
						 
						
							
							
								
								Add prototypes for ADCE pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 115 
							
						 
						
							2001-06-30 06:37:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0810f37d3 
								
							 
						 
						
							
							
								
								Rename DoSparseConditionalConstantProp to DoSCCP  
							
							 
							
							... 
							
							
							
							llvm-svn: 114 
							
						 
						
							2001-06-30 06:37:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c10245352c 
								
							 
						 
						
							
							
								
								Add a new pop_back() method  
							
							 
							
							... 
							
							
							
							llvm-svn: 111 
							
						 
						
							2001-06-30 04:35:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6f70fda2f0 
								
							 
						 
						
							
							
								
								The ConstRules class got moved to the opt namespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 110 
							
						 
						
							2001-06-30 04:35:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a6e2316d03 
								
							 
						 
						
							
							
								
								Add a reduceApply method  
							
							 
							
							... 
							
							
							
							llvm-svn: 109 
							
						 
						
							2001-06-30 04:34:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9e497a01f7 
								
							 
						 
						
							
							
								
								Split AllOpts.h into lots of little .h files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 108 
							
						 
						
							2001-06-30 04:34:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								96bb2fb5a2 
								
							 
						 
						
							
							
								
								Added prototype for ConstantFoldTerminator  
							
							 
							
							... 
							
							
							
							llvm-svn: 105 
							
						 
						
							2001-06-29 23:56:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								17556f82d0 
								
							 
						 
						
							
							
								
								Added new removePredecessor method prototype  
							
							 
							
							... 
							
							
							
							llvm-svn: 99 
							
						 
						
							2001-06-29 05:21:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7798de1382 
								
							 
						 
						
							
							
								
								* Move stuff around a bit.  
							
							 
							
							... 
							
							
							
							* Add reduce_apply_bool
llvm-svn: 88 
							
						 
						
							2001-06-27 23:32:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4400f659f1 
								
							 
						 
						
							
							
								
								Add instructions to fold unary and binary instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 87 
							
						 
						
							2001-06-27 23:31:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								780cfa5381 
								
							 
						 
						
							
							
								
								* Use the new reduce_apply_bool template  
							
							 
							
							... 
							
							
							
							* Expose Constant Pool Merging from ConstantProp.cpp
* Include definitions for SCCP pass
* InstListType is not neccesary anymore
llvm-svn: 86 
							
						 
						
							2001-06-27 23:31:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a32c04fcb1 
								
							 
						 
						
							
							
								
								getBasicBlocks() is not needed anymore for reading Method data  
							
							 
							
							... 
							
							
							
							llvm-svn: 85 
							
						 
						
							2001-06-27 23:30:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								608fe88627 
								
							 
						 
						
							
							
								
								Added methods to make dealing with switches and branch instructions  
							
							 
							
							... 
							
							
							
							more tolerable.
llvm-svn: 84 
							
						 
						
							2001-06-27 23:29:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c112b3de44 
								
							 
						 
						
							
							
								
								Minor formating changes  
							
							 
							
							... 
							
							
							
							llvm-svn: 83 
							
						 
						
							2001-06-27 23:29:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8c2076b84e 
								
							 
						 
						
							
							
								
								Make a new GenericBinaryInst class, instead of providing lots of silly  
							
							 
							
							... 
							
							
							
							little classes.
llvm-svn: 82 
							
						 
						
							2001-06-27 23:28:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								642a3063da 
								
							 
						 
						
							
							
								
								Add a new slew of functions to allow dynamic_cast<> like operation for  
							
							 
							
							... 
							
							
							
							upcasting Value's to their subclasses.
llvm-svn: 80 
							
						 
						
							2001-06-27 23:27:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0972270aaf 
								
							 
						 
						
							
							
								
								Add extra forwarding accessor methods so that getMethodList(), getBasicBlocks()  
							
							 
							
							... 
							
							
							
							and getInstList() are obsolete... except for when modifying those lists.  This
makes code much more succinct and to the point.
llvm-svn: 79 
							
						 
						
							2001-06-27 23:26:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7221d33514 
								
							 
						 
						
							
							
								
								* Rename get.*Operator to create seeing that it would have to be qualified  
							
							 
							
							... 
							
							
							
							with the classname anyways.
* Add an isPHINode() method to Instruction
* Add getUniqueName() to SymbolTable class
* Add an insert method to ValueHolder
llvm-svn: 73 
							
						 
						
							2001-06-25 07:31:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								554c161f1f 
								
							 
						 
						
							
							
								
								Add a helper function bind_obj  
							
							 
							
							... 
							
							
							
							llvm-svn: 70 
							
						 
						
							2001-06-25 03:54:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3fe4504c28 
								
							 
						 
						
							
							
								
								Big changes.  Interval*.h is now more or less finalized.  IntervalPartition  
							
							 
							
							... 
							
							
							
							is recoded to use IntervalIterators.  IntervalIterators can now maintain
their own memory or let an external entity do it.
Loop depth is a new user of IntervalPartition for calculating the loop
nesting depth of a basic block
TODO: add IntervalPartition capability to split intervals between the looping
portion and the "tail" portion.
llvm-svn: 69 
							
						 
						
							2001-06-25 03:54:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c17f93528b 
								
							 
						 
						
							
							
								
								CFG.h: change the iterator tag  
							
							 
							
							... 
							
							
							
							Method.h: Add an iterator type.
llvm-svn: 68 
							
						 
						
							2001-06-25 03:52:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								db1d8bdf34 
								
							 
						 
						
							
							
								
								New files due to the Intervals.h splitup  
							
							 
							
							... 
							
							
							
							llvm-svn: 65 
							
						 
						
							2001-06-24 04:07:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								658a50fe1b 
								
							 
						 
						
							
							
								
								IntervalPartition & IntervalIterator classes have been split out into  
							
							 
							
							... 
							
							
							
							their own .h files
llvm-svn: 61 
							
						 
						
							2001-06-24 04:05:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2e2e27a1af 
								
							 
						 
						
							
							
								
								Addition of IntervalIterator.  Preparing for rename of Intervals.h to  
							
							 
							
							... 
							
							
							
							Interval.h, IntervalPartition.h, and IntervalIterator.h
llvm-svn: 59 
							
						 
						
							2001-06-24 03:22:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								97c3480075 
								
							 
						 
						
							
							
								
								Add comments  
							
							 
							
							... 
							
							
							
							Interval::HeaderNode is now accessed thorugh an accessor function
llvm-svn: 55 
							
						 
						
							2001-06-22 02:23:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dc36e44adc 
								
							 
						 
						
							
							
								
								Add accessor methods to binary/unary operators  
							
							 
							
							... 
							
							
							
							Add extra helper methods to PHI class
llvm-svn: 54 
							
						 
						
							2001-06-22 02:21:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d52706daa8 
								
							 
						 
						
							
							
								
								New header file defined with neeto utilities put in one place  
							
							 
							
							... 
							
							
							
							llvm-svn: 50 
							
						 
						
							2001-06-21 05:25:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e3b1bacb6e 
								
							 
						 
						
							
							
								
								Modified to use the new reduce_apply algorithm  
							
							 
							
							... 
							
							
							
							llvm-svn: 49 
							
						 
						
							2001-06-21 05:25:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								570f10ad47 
								
							 
						 
						
							
							
								
								* Added capability to print out an interval  
							
							 
							
							... 
							
							
							
							llvm-svn: 48 
							
						 
						
							2001-06-21 05:25:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d893c3300a 
								
							 
						 
						
							
							
								
								* Added comments  
							
							 
							
							... 
							
							
							
							* Added prototype for new Interval::isLoop method
* Added destructor to free memory
* Added IntervalPartition::isDegeneratePartition method
* Added IntervalPartition::size() method
llvm-svn: 47 
							
						 
						
							2001-06-21 05:24:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5035efaeda 
								
							 
						 
						
							
							
								
								Add capability to build a derived interval graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 41 
							
						 
						
							2001-06-20 22:44:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								778702f26c 
								
							 
						 
						
							
							
								
								Factor the predeclarations of the CFG.h functionality into a seperate, new header  
							
							 
							
							... 
							
							
							
							file: CFGdecls.h
This allows the addition of BasicBlock::(pred|succ)_iterator typedefs.
llvm-svn: 40 
							
						 
						
							2001-06-20 22:44:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								acbaaf7bf2 
								
							 
						 
						
							
							
								
								Add an optimization stub  
							
							 
							
							... 
							
							
							
							llvm-svn: 35 
							
						 
						
							2001-06-20 19:26:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6cc066490b 
								
							 
						 
						
							
							
								
								New file: Interval analysis support  
							
							 
							
							... 
							
							
							
							llvm-svn: 34 
							
						 
						
							2001-06-20 19:26:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								62b7632c3c 
								
							 
						 
						
							
							
								
								Implement support for writing VCG format output  
							
							 
							
							... 
							
							
							
							llvm-svn: 28 
							
						 
						
							2001-06-13 19:55:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78f524c613 
								
							 
						 
						
							
							
								
								Move contents to the cfg namespace.  
							
							 
							
							... 
							
							
							
							Implement post order and reverse post order iterators
llvm-svn: 27 
							
						 
						
							2001-06-13 19:55:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a653daaac2 
								
							 
						 
						
							
							
								
								Updates to support  
							
							 
							
							... 
							
							
							
							* Changes in PHI node structure
* Fix to Predecessor iterator
llvm-svn: 23 
							
						 
						
							2001-06-11 15:04:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5f46e8c9da 
								
							 
						 
						
							
							
								
								Moved getBinaryOperator to the BinaryOperator class and the getUnaryOperator  
							
							 
							
							... 
							
							
							
							to the UnaryOperator class (from the Instruction class).
llvm-svn: 21 
							
						 
						
							2001-06-08 21:30:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f5d87f9e56 
								
							 
						 
						
							
							
								
								Beautify the source a bit.  
							
							 
							
							... 
							
							
							
							llvm-svn: 19 
							
						 
						
							2001-06-08 21:07:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f2ff0eac5b 
								
							 
						 
						
							
							
								
								Include support for reverse iteration.  
							
							 
							
							... 
							
							
							
							llvm-svn: 18 
							
						 
						
							2001-06-08 20:52:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								33455b2a23 
								
							 
						 
						
							
							
								
								Added reverse depth first capability, fixed depth first capability  
							
							 
							
							... 
							
							
							
							llvm-svn: 16 
							
						 
						
							2001-06-08 00:35:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fe59ab9828 
								
							 
						 
						
							
							
								
								Moved iterators to the new CFG.h file.  
							
							 
							
							... 
							
							
							
							llvm-svn: 14 
							
						 
						
							2001-06-07 21:18:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b151cb40ac 
								
							 
						 
						
							
							
								
								New file  
							
							 
							
							... 
							
							
							
							llvm-svn: 13 
							
						 
						
							2001-06-07 21:18:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e358b22776 
								
							 
						 
						
							
							
								
								Fixes for BB iterators, additional methods added for DCE pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 8 
							
						 
						
							2001-06-07 16:58:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2f7c963559 
								
							 
						 
						
							
							
								
								Initial revision  
							
							 
							
							... 
							
							
							
							llvm-svn: 2 
							
						 
						
							2001-06-06 20:29:01 +00:00