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
							
						 
						
							 
							
							
							
							
								
							
							
								fbdec250b3 
								
							 
						 
						
							
							
								
								Implement constant pointers, and null specifically in the parser, bytecode writer, and  
							
							 
							
							... 
							
							
							
							bytecode reader.
llvm-svn: 668 
							
						 
						
							2001-09-30 22:46:54 +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
							
						 
						
							 
							
							
							
							
								
							
							
								3779864fcf 
								
							 
						 
						
							
							
								
								Add support for global constants, and for initializers for constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 598 
							
						 
						
							2001-09-18 04:01:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								172a5f2911 
								
							 
						 
						
							
							
								
								Fix a bug with not removing method level types after compilation  
							
							 
							
							... 
							
							
							
							llvm-svn: 582 
							
						 
						
							2001-09-14 22:03:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c4b2634574 
								
							 
						 
						
							
							
								
								ModuleTyID doesn't exist anyymore  
							
							 
							
							... 
							
							
							
							Use correct cast
llvm-svn: 539 
							
						 
						
							2001-09-10 20:09:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								212c907cf1 
								
							 
						 
						
							
							
								
								getMethodType is now just getType  
							
							 
							
							... 
							
							
							
							llvm-svn: 538 
							
						 
						
							2001-09-10 20:08:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da9755002f 
								
							 
						 
						
							
							
								
								Implement global variable support  
							
							 
							
							... 
							
							
							
							llvm-svn: 530 
							
						 
						
							2001-09-10 07:58:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b97ef9f4cf 
								
							 
						 
						
							
							
								
								* Emit bytecode using a deque instead of a vector to be faster  
							
							 
							
							... 
							
							
							
							* Internal rep no longer has a constant pool
* Support emission of recursive types
* Don't output a constant pool for an external method
* The bytecode writer is no longer a module analyzer
llvm-svn: 449 
							
						 
						
							2001-09-07 16:39:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1f043cd1ba 
								
							 
						 
						
							
							
								
								* Remove support for internal constant pool  
							
							 
							
							... 
							
							
							
							* Support globally unique constants
* Support recursive and forward referenced types
* Support abstract types
* Add new BCR_TRACE macro to enable debugging of why the bytecode reader
  occasionally refuses to read something
llvm-svn: 448 
							
						 
						
							2001-09-07 16:37:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f324dc82a1 
								
							 
						 
						
							
							
								
								* Make sure that the size of the type field can also control the output  
							
							 
							
							... 
							
							
							
							instruction pattern.
llvm-svn: 324 
							
						 
						
							2001-07-28 17:51:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5bdab0f9ad 
								
							 
						 
						
							
							
								
								* Add calls to failure template so that it is actually possible to debug  
							
							 
							
							... 
							
							
							
							why bytecode parsing is failing.  Just put a breakpoint in the failure
  templates.
llvm-svn: 323 
							
						 
						
							2001-07-28 17:50: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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0d005997fd 
								
							 
						 
						
							
							
								
								Doh!  Wrong accessor.  Caused 'can not read bytecode' errors.  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 282 
							
						 
						
							2001-07-23 18:51:23 +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
							
						 
						
							 
							
							
							
							
								
							
							
								4d44c2ba81 
								
							 
						 
						
							
							
								
								Add support to the bytecode writer to recognize floating point constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 190 
							
						 
						
							2001-07-15 00:17:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f435e200b1 
								
							 
						 
						
							
							
								
								Add support to the bytecode reader to recognize floating point constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 189 
							
						 
						
							2001-07-15 00:17:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dbfb7d8042 
								
							 
						 
						
							
							
								
								* The parent of a constant pool is a symtabvalue, not a value.  
							
							 
							
							... 
							
							
							
							llvm-svn: 181 
							
						 
						
							2001-07-14 06:10:49 +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
							
						 
						
							 
							
							
							
							
								
							
							
								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
							
						 
						
							 
							
							
							
							
								
							
							
								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
							
						 
						
							 
							
							
							
							
								
							
							
								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
							
						 
						
							 
							
							
							
							
								
							
							
								4c8ba81f21 
								
							 
						 
						
							
							
								
								Convert ugly postincrement to efficient preincrement  
							
							 
							
							... 
							
							
							
							llvm-svn: 89 
							
						 
						
							2001-06-27 23:34:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								31e23cdeb4 
								
							 
						 
						
							
							
								
								Renamed get.*Operator to create seeing that it would have to be qualified  
							
							 
							
							... 
							
							
							
							with the classname anyways.
llvm-svn: 74 
							
						 
						
							2001-06-25 07:31:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								874ddadf72 
								
							 
						 
						
							
							
								
								Updates to support  
							
							 
							
							... 
							
							
							
							* Changes in PHI node structure
llvm-svn: 25 
							
						 
						
							2001-06-11 15:04:40 +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
							
						 
						
							 
							
							
							
							
								
							
							
								2f7c963559 
								
							 
						 
						
							
							
								
								Initial revision  
							
							 
							
							... 
							
							
							
							llvm-svn: 2 
							
						 
						
							2001-06-06 20:29:01 +00:00