58350a7435 
								
							 
						 
						
							
							
								
								Indent to 2 spaces and cleanup excess whitespace.  
							
							... 
							
							
							
							llvm-svn: 16188 
							
						 
						
							2004-09-05 18:41:35 +00:00  
				
					
						
							
							
								 
						
							
								7c16caa336 
								
							 
						 
						
							
							
								
								Changes For Bug 352  
							
							... 
							
							
							
							Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 
							
						 
						
							2004-09-01 22:55:40 +00:00  
				
					
						
							
							
								 
						
							
								a1d7802e3c 
								
							 
						 
						
							
							
								
								Move this code to lib/Target/SparcV9/MachineFunctionInfo.cpp  
							
							... 
							
							
							
							llvm-svn: 15834 
							
						 
						
							2004-08-16 22:36:34 +00:00  
				
					
						
							
							
								 
						
							
								9fb30a4257 
								
							 
						 
						
							
							
								
								Move MachineCodeForInstruction.h and MachineFunctionInfo.h into lib/Target/SparcV9  
							
							... 
							
							
							
							llvm-svn: 15830 
							
						 
						
							2004-08-16 21:55:02 +00:00  
				
					
						
							
							
								 
						
							
								224704fc6f 
								
							 
						 
						
							
							
								
								Add a note that people shouldn't use MachineFunctionInfo.  
							
							... 
							
							
							
							llvm-svn: 15823 
							
						 
						
							2004-08-16 18:27:24 +00:00  
				
					
						
							
							
								 
						
							
								c66f27fd29 
								
							 
						 
						
							
							
								
								Stop using CreateStackObject(RegClass*)  
							
							... 
							
							
							
							llvm-svn: 15775 
							
						 
						
							2004-08-15 22:02:22 +00:00  
				
					
						
							
							
								 
						
							
								e64f008fe3 
								
							 
						 
						
							
							
								
								Forward substitute some constants into their users  
							
							... 
							
							
							
							llvm-svn: 15693 
							
						 
						
							2004-08-12 18:10:18 +00:00  
				
					
						
							
							
								 
						
							
								eb02313413 
								
							 
						 
						
							
							
								
								The only target that uses this code (v9) always has argsOnStackHaveFixedSize  
							
							... 
							
							
							
							set to true (obviously)
llvm-svn: 15692 
							
						 
						
							2004-08-12 18:06:35 +00:00  
				
					
						
							
							
								 
						
							
								63b38bd2ed 
								
							 
						 
						
							
							
								
								Fix #includes of i*.h => Instructions.h as per PR403.  
							
							... 
							
							
							
							llvm-svn: 15334 
							
						 
						
							2004-07-29 17:30:56 +00:00  
				
					
						
							
							
								 
						
							
								2c422bbefb 
								
							 
						 
						
							
							
								
								Add viewCFG() and viewCFGOnly() APIs.  
							
							... 
							
							
							
							llvm-svn: 14679 
							
						 
						
							2004-07-08 00:47:58 +00:00  
				
					
						
							
							
								 
						
							
								eb04d9bcb4 
								
							 
						 
						
							
							
								
								Add #include <iostream> since Value.h does not #include it any more.  
							
							... 
							
							
							
							llvm-svn: 14622 
							
						 
						
							2004-07-04 12:19:56 +00:00  
				
					
						
							
							
								 
						
							
								9a60c532a8 
								
							 
						 
						
							
							
								
								Make sure that we destroy the MBB's, with all of their instructions, before  
							
							... 
							
							
							
							any other data structures
llvm-svn: 14524 
							
						 
						
							2004-07-01 06:29:07 +00:00  
				
					
						
							
							
								 
						
							
								a47455dbd3 
								
							 
						 
						
							
							
								
								Instance var no longer exists  
							
							... 
							
							
							
							llvm-svn: 14520 
							
						 
						
							2004-07-01 06:02:07 +00:00  
				
					
						
							
							
								 
						
							
								5888b5d4b1 
								
							 
						 
						
							
							
								
								Fix fallout from getOffsetOfLocalArea() being negated.  Debugging dumps were being  
							
							... 
							
							
							
							printed incorrectly, and we were reserving 8 extra bytes of stack space for functions
on X86.
llvm-svn: 14152 
							
						 
						
							2004-06-11 06:37:11 +00:00  
				
					
						
							
							
								 
						
							
								185fa54c68 
								
							 
						 
						
							
							
								
								Inline findOptimalStorageSize into it's caller, both of which are sparc specific  
							
							... 
							
							
							
							llvm-svn: 13955 
							
						 
						
							2004-06-02 05:56:52 +00:00  
				
					
						
							
							
								 
						
							
								91fa3a9908 
								
							 
						 
						
							
							
								
								Moved MachineBasicBlock deconstructor to cpp file and removed it from LeakDetector to fix memory leak bug.  
							
							... 
							
							
							
							llvm-svn: 13718 
							
						 
						
							2004-05-24 07:14:35 +00:00  
				
					
						
							
							
								 
						
							
								a578cb7a65 
								
							 
						 
						
							
							
								
								Added MachineFunction parent* to MachineBasicBlock. Customized ilist template  
							
							... 
							
							
							
							to set the parent when a MachineBasicBlock is added to a MachineFunction.
llvm-svn: 13716 
							
						 
						
							2004-05-24 06:11:51 +00:00  
				
					
						
							
							
								 
						
							
								4cf17775e8 
								
							 
						 
						
							
							
								
								Start NextMBBNumber out at zero.  
							
							... 
							
							
							
							llvm-svn: 13515 
							
						 
						
							2004-05-12 21:35:23 +00:00  
				
					
						
							
							
								 
						
							
								2fe0ac9ade 
								
							 
						 
						
							
							
								
								Change how the beginnings and ends of MachineFunctions are printed. Get  
							
							... 
							
							
							
							rid of the funny cast.
llvm-svn: 12537 
							
						 
						
							2004-03-29 21:58:31 +00:00  
				
					
						
							
							
								 
						
							
								427cec1395 
								
							 
						 
						
							
							
								
								TargetCacheInfo has been removed; its only uses were to propagate a constant  
							
							... 
							
							
							
							(16) into certain areas of the SPARC V9 back-end. I'm fairly sure the US IIIi's
dcache has 32-byte lines, so I'm not sure where the 16 came from. However, in
the interest of not breaking things any more than they already are, I'm going
to leave the constant alone.
llvm-svn: 12043 
							
						 
						
							2004-03-01 06:43:29 +00:00  
				
					
						
							
							
								 
						
							
								d5a49c477d 
								
							 
						 
						
							
							
								
								Remove use of an ugly header  
							
							... 
							
							
							
							llvm-svn: 12002 
							
						 
						
							2004-02-29 19:04:31 +00:00  
				
					
						
							
							
								 
						
							
								14f3fe81c6 
								
							 
						 
						
							
							
								
								Add LeakDetection to MachineInstr.  
							
							... 
							
							
							
							Move out of line member functions of MachineBasicBlock to
MachineBasicBlock.cpp.
llvm-svn: 11497 
							
						 
						
							2004-02-16 07:17:43 +00:00  
				
					
						
							
							
								 
						
							
								6a35516dcc 
								
							 
						 
						
							
							
								
								Add back machine code deleter pass until we get a MachineCode pass  
							
							... 
							
							
							
							that will be responsible for the creation of MachineFunctions and will
be required by all MachineFunctionPass passes.
llvm-svn: 11453 
							
						 
						
							2004-02-15 00:03:15 +00:00  
				
					
						
							
							
								 
						
							
								52440fd481 
								
							 
						 
						
							
							
								
								Refactor MachineFunction::print() into MachineBasicBlock::print().  
							
							... 
							
							
							
							Add MachineBasicBlock::dump().
llvm-svn: 11364 
							
						 
						
							2004-02-13 04:39:55 +00:00  
				
					
						
							
							
								 
						
							
								80da865f77 
								
							 
						 
						
							
							
								
								Change MachineBasicBlock's vector of MachineInstr pointers into an  
							
							... 
							
							
							
							ilist of MachineInstr objects. This allows constant time removal and
insertion of MachineInstr instances from anywhere in each
MachineBasicBlock. It also allows for constant time splicing of
MachineInstrs into or out of MachineBasicBlocks.
llvm-svn: 11340 
							
						 
						
							2004-02-12 02:27:10 +00:00  
				
					
						
							
							
								 
						
							
								cae054f59f 
								
							 
						 
						
							
							
								
								Fix a bug in a recent checkin  
							
							... 
							
							
							
							llvm-svn: 11050 
							
						 
						
							2004-02-01 05:25:07 +00:00  
				
					
						
							
							
								 
						
							
								845c0dd196 
								
							 
						 
						
							
							
								
								Give clients of MachineFunctionPrinter the ability to specify a banner and  
							
							... 
							
							
							
							choose an ostream.
llvm-svn: 11016 
							
						 
						
							2004-01-30 21:53:46 +00:00  
				
					
						
							
							
								 
						
							
								4cbb97bfdd 
								
							 
						 
						
							
							
								
								Add a new target-independent machine code freeing pass  
							
							... 
							
							
							
							llvm-svn: 10560 
							
						 
						
							2003-12-20 10:20:58 +00:00  
				
					
						
							
							
								 
						
							
								9a3478e022 
								
							 
						 
						
							
							
								
								* Finegrainify namespacification  
							
							... 
							
							
							
							* Move sparc specific code out of generic code
* Eliminate the getOffset() method which made INVALID_FRAME_OFFSET
  necessary, which made pulling in MAX_INT as a sentinal necessary.
llvm-svn: 10553 
							
						 
						
							2003-12-20 09:17:07 +00:00  
				
					
						
							
							
								 
						
							
								960707c335 
								
							 
						 
						
							
							
								
								Put all LLVM code into the llvm namespace, as per bug 109.  
							
							... 
							
							
							
							llvm-svn: 9903 
							
						 
						
							2003-11-11 22:41:34 +00:00  
				
					
						
							
							
								 
						
							
								482202a601 
								
							 
						 
						
							
							
								
								Added LLVM project notice to the top of every C++ source file.  
							
							... 
							
							
							
							Header files will be on the way.
llvm-svn: 9298 
							
						 
						
							2003-10-20 19:43:21 +00:00  
				
					
						
							
							
								 
						
							
								89207943a1 
								
							 
						 
						
							
							
								
								Factory methods for FunctionPasses now return type FunctionPass *.  
							
							... 
							
							
							
							llvm-svn: 7823 
							
						 
						
							2003-08-13 18:18:15 +00:00  
				
					
						
							
							
								 
						
							
								414832fea6 
								
							 
						 
						
							
							
								
								Const correctness fixes  
							
							... 
							
							
							
							llvm-svn: 7349 
							
						 
						
							2003-07-26 23:24:56 +00:00  
				
					
						
							
							
								 
						
							
								3ef61afb76 
								
							 
						 
						
							
							
								
								Merged in autoconf branch.  This provides configuration via the autoconf  
							
							... 
							
							
							
							system.
llvm-svn: 7014 
							
						 
						
							2003-06-30 21:59:07 +00:00  
				
					
						
							
							
								 
						
							
								6ee2cf5d89 
								
							 
						 
						
							
							
								
								Remove unneccesary &*  
							
							... 
							
							
							
							llvm-svn: 5871 
							
						 
						
							2003-04-23 16:36:11 +00:00  
				
					
						
							
							
								 
						
							
								eb45c982ae 
								
							 
						 
						
							
							
								
								Print machine frame objects with the frame offset intrinsic to the machine  
							
							... 
							
							
							
							llvm-svn: 5329 
							
						 
						
							2003-01-16 18:35:57 +00:00  
				
					
						
							
							
								 
						
							
								c6807e8f5d 
								
							 
						 
						
							
							
								
								Add support for constant pool  
							
							... 
							
							
							
							Add helper methods for MachineFrameInfo
llvm-svn: 5216 
							
						 
						
							2003-01-13 00:23:03 +00:00  
				
					
						
							
							
								 
						
							
								42d59219c7 
								
							 
						 
						
							
							
								
								Rename MachineOptInfo to TargetoptInfo  
							
							... 
							
							
							
							Rename MachineCacheInfo to TargetCacheInfo
llvm-svn: 5203 
							
						 
						
							2002-12-29 02:50:35 +00:00  
				
					
						
							
							
								 
						
							
								ca4362fee7 
								
							 
						 
						
							
							
								
								Rename FunctionFrameInfo to MachineFrameInfo  
							
							... 
							
							
							
							llvm-svn: 5200 
							
						 
						
							2002-12-28 21:08:26 +00:00  
				
					
						
							
							
								 
						
							
								871e591e34 
								
							 
						 
						
							
							
								
								Rename MachineFrameInfo to TargetFrameInfo.h  
							
							... 
							
							
							
							llvm-svn: 5199 
							
						 
						
							2002-12-28 21:00:25 +00:00  
				
					
						
							
							
								 
						
							
								32525647e1 
								
							 
						 
						
							
							
								
								* A bunch of functionality and data was removed from MachineFunction and put  
							
							... 
							
							
							
							into a new MachineFunctionInfo class
* Implement new FunctionFrameInfo class
llvm-svn: 5193 
							
						 
						
							2002-12-28 20:37:16 +00:00  
				
					
						
							
							
								 
						
							
								448fb45b2d 
								
							 
						 
						
							
							
								
								Remove dependency on SSARegMap.h by MachineFunction.h  
							
							... 
							
							
							
							llvm-svn: 5143 
							
						 
						
							2002-12-25 05:03:22 +00:00  
				
					
						
							
							
								 
						
							
								f895418b47 
								
							 
						 
						
							
							
								
								Implement printing of MBB arguments  
							
							... 
							
							
							
							llvm-svn: 5053 
							
						 
						
							2002-12-15 20:35:25 +00:00  
				
					
						
							
							
								 
						
							
								d5b111a10c 
								
							 
						 
						
							
							
								
								Initialize the SSARegMap.  
							
							... 
							
							
							
							llvm-svn: 4782 
							
						 
						
							2002-11-20 18:55:27 +00:00  
				
					
						
							
							
								 
						
							
								214808f8ac 
								
							 
						 
						
							
							
								
								Implement structured machine code printing  
							
							... 
							
							
							
							llvm-svn: 4435 
							
						 
						
							2002-10-30 00:48:05 +00:00  
				
					
						
							
							
								 
						
							
								90e64905b9 
								
							 
						 
						
							
							
								
								Make argsize calculation stuff optional, so that Targets without FrameInfo  
							
							... 
							
							
							
							objects yet don't die
llvm-svn: 4427 
							
						 
						
							2002-10-29 23:40:03 +00:00  
				
					
						
							
							
								 
						
							
								bbd68ada1a 
								
							 
						 
						
							
							
								
								Rename annotation id  
							
							... 
							
							
							
							llvm-svn: 4425 
							
						 
						
							2002-10-29 23:18:43 +00:00  
				
					
						
							
							
								 
						
							
								6be5e92526 
								
							 
						 
						
							
							
								
								Replaced uses of deprecated `MachineFunction::get(BasicBlock *BB)'.  
							
							... 
							
							
							
							llvm-svn: 4351 
							
						 
						
							2002-10-28 20:00:31 +00:00  
				
					
						
							
							
								 
						
							
								7421df92cb 
								
							 
						 
						
							
							
								
								Eliminate unneccesary use of MachineBasicBlock::get  
							
							... 
							
							
							
							llvm-svn: 4339 
							
						 
						
							2002-10-28 06:01:57 +00:00  
				
					
						
							
							
								 
						
							
								ba3a8060ff 
								
							 
						 
						
							
							
								
								s/method/function  
							
							... 
							
							
							
							llvm-svn: 4338 
							
						 
						
							2002-10-28 05:58:46 +00:00