e977e5d973 
								
							 
						 
						
							
							
								
								Remove invalid,unneccesary ## token  
							
							... 
							
							
							
							llvm-svn: 1391 
							
						 
						
							2001-11-26 19:19:27 +00:00  
				
					
						
							
							
								 
						
							
								5ba757369c 
								
							 
						 
						
							
							
								
								* Implement array indexing in lli  
							
							... 
							
							
							
							* Add external atoi method as well as floor, and srand
llvm-svn: 1355 
							
						 
						
							2001-11-26 18:18:18 +00:00  
				
					
						
							
							
								 
						
							
								af84e627fd 
								
							 
						 
						
							
							
								
								Rename cruft  
							
							... 
							
							
							
							llvm-svn: 1299 
							
						 
						
							2001-11-14 11:28:18 +00:00  
				
					
						
							
							
								 
						
							
								9754aba7f0 
								
							 
						 
						
							
							
								
								Implement some more rand functions for em3d benchmark  
							
							... 
							
							
							
							llvm-svn: 1291 
							
						 
						
							2001-11-13 05:46:08 +00:00  
				
					
						
							
							
								 
						
							
								747f016184 
								
							 
						 
						
							
							
								
								Print percentages for profiling info better  
							
							... 
							
							
							
							llvm-svn: 1274 
							
						 
						
							2001-11-12 20:13:14 +00:00  
				
					
						
							
							
								 
						
							
								a7482e05d0 
								
							 
						 
						
							
							
								
								Print profile info if exit() is called  
							
							... 
							
							
							
							llvm-svn: 1268 
							
						 
						
							2001-11-12 16:28:48 +00:00  
				
					
						
							
							
								 
						
							
								e32deb455b 
								
							 
						 
						
							
							
								
								Hack a structure profiling option together  
							
							... 
							
							
							
							llvm-svn: 1267 
							
						 
						
							2001-11-12 16:19:45 +00:00  
				
					
						
							
							
								 
						
							
								b1f672812b 
								
							 
						 
						
							
							
								
								Correct problem that allows indirect function calls  
							
							... 
							
							
							
							llvm-svn: 1179 
							
						 
						
							2001-11-07 20:12:30 +00:00  
				
					
						
							
							
								 
						
							
								31e9e4d219 
								
							 
						 
						
							
							
								
								* Switch to operation on pointers with PointerTy more consistently  
							
							... 
							
							
							
							* Fix misspeling
* Catch SIGFPE for traps
* info XXX now prints the raw contents of the GenericValue
* Switch to calloc instead of malloc (temporarily I hope) to bandaid Olden benchmarks
* Implement binary And & Or
* Convert expressions like this:
     PointerTy SrcPtr = getOperandValue(I->getPtrOperand(), SF).PointerVal;
  to:
    GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
    PointerTy SrcPtr = SRC.PointerVal;
  because the prior way confuses purify.
* Taint the initial values of the value planes
* Handling 'print bb4' in the interpreter without crashing
* Print nicer stack frames with concise return type
* printf doesn't suck nearly as badly as it used to
llvm-svn: 1177 
							
						 
						
							2001-11-07 19:46:27 +00:00  
				
					
						
							
							
								 
						
							
								eaec4ede57 
								
							 
						 
						
							
							
								
								*Print Stack traces better.  
							
							... 
							
							
							
							* Use the cache writer for all it's problems.
* print arguments to methods in stack traces.
*Print the current stack from for up/down commands.
llvm-svn: 1170 
							
						 
						
							2001-11-07 05:31:27 +00:00  
				
					
						
							
							
								 
						
							
								1f01726487 
								
							 
						 
						
							
							
								
								* Use cached writer to speed up printing and get symbolic types more consistently  
							
							... 
							
							
							
							* When a segfault or bus error occurs, stop the program, print a stack trace, and dump the user in the debugger mode
llvm-svn: 1169 
							
						 
						
							2001-11-07 04:23:00 +00:00  
				
					
						
							
							
								 
						
							
								51862ef777 
								
							 
						 
						
							
							
								
								Add %p format to printf, which MUST be used when printing pointer values.  
							
							... 
							
							
							
							llvm-svn: 1166 
							
						 
						
							2001-11-07 02:57:33 +00:00  
				
					
						
							
							
								 
						
							
								c23094efb4 
								
							 
						 
						
							
							
								
								Implement log and drand48 for TSP bm  
							
							... 
							
							
							
							llvm-svn: 1165 
							
						 
						
							2001-11-06 22:53:25 +00:00  
				
					
						
							
							
								 
						
							
								5cc318819c 
								
							 
						 
						
							
							
								
								Implement sqrt, implement printf better, simpler.  
							
							... 
							
							
							
							llvm-svn: 1161 
							
						 
						
							2001-11-06 21:52:18 +00:00  
				
					
						
							
							
								 
						
							
								d7c742f46a 
								
							 
						 
						
							
							
								
								Be lenient on types so that programs that are not very typesafe will work  
							
							... 
							
							
							
							llvm-svn: 1104 
							
						 
						
							2001-11-03 10:15:32 +00:00  
				
					
						
							
							
								 
						
							
								487b1b8cc1 
								
							 
						 
						
							
							
								
								Implement xor operator  
							
							... 
							
							
							
							llvm-svn: 1050 
							
						 
						
							2001-10-30 20:54:36 +00:00  
				
					
						
							
							
								 
						
							
								8bd5c77731 
								
							 
						 
						
							
							
								
								callExternalMethod now returns the return value of the function  
							
							... 
							
							
							
							llvm-svn: 1048 
							
						 
						
							2001-10-30 20:28:23 +00:00  
				
					
						
							
							
								 
						
							
								7fd51b54e5 
								
							 
						 
						
							
							
								
								Implement a gross function name map that must be used when linking statically  
							
							... 
							
							
							
							This is for use with purify
llvm-svn: 1047 
							
						 
						
							2001-10-30 20:28:00 +00:00  
				
					
						
							
							
								 
						
							
								5946b1150d 
								
							 
						 
						
							
							
								
								* Add some assertions for checking internal error conditions  
							
							... 
							
							
							
							* Implement the 'rem' instruction
* Fix getelementptr to work right
* Copy the return result of an external function call into the receiving value
* Convert stuff to new style casts
llvm-svn: 1046 
							
						 
						
							2001-10-30 20:27:31 +00:00  
				
					
						
							
							
								 
						
							
								c85ee99b42 
								
							 
						 
						
							
							
								
								Don't fail to load runtime if running LLI from the current directory  
							
							... 
							
							
							
							llvm-svn: 1044 
							
						 
						
							2001-10-30 16:40:37 +00:00  
				
					
						
							
							
								 
						
							
								62d1fb6777 
								
							 
						 
						
							
							
								
								Print out a label if we step into the first instruction of a basic block  
							
							... 
							
							
							
							llvm-svn: 1038 
							
						 
						
							2001-10-29 20:44:34 +00:00  
				
					
						
							
							
								 
						
							
								490d2a8461 
								
							 
						 
						
							
							
								
								* Fix pow wrapper to actually work  
							
							... 
							
							
							
							* Implement rudimentary printf support for lli
llvm-svn: 1037 
							
						 
						
							2001-10-29 20:27:45 +00:00  
				
					
						
							
							
								 
						
							
								05fbeedde8 
								
							 
						 
						
							
							
								
								Implement getelementptr instruction as well as the load and store forms  
							
							... 
							
							
							
							that incorporate gep
llvm-svn: 1036 
							
						 
						
							2001-10-29 19:32:19 +00:00  
				
					
						
							
							
								 
						
							
								13babb6805 
								
							 
						 
						
							
							
								
								Remember to print out the next instruction if stepping over an external method call  
							
							... 
							
							
							
							llvm-svn: 1028 
							
						 
						
							2001-10-29 16:05:19 +00:00  
				
					
						
							
							
								 
						
							
								689049e1cd 
								
							 
						 
						
							
							
								
								Fix problem next'ing over an external method  
							
							... 
							
							
							
							llvm-svn: 1027 
							
						 
						
							2001-10-29 14:08:33 +00:00  
				
					
						
							
							
								 
						
							
								9cd1451b89 
								
							 
						 
						
							
							
								
								Fix some illegal uses of the ## operator  
							
							... 
							
							
							
							llvm-svn: 1013 
							
						 
						
							2001-10-28 22:38:22 +00:00  
				
					
						
							
							
								 
						
							
								578a840b29 
								
							 
						 
						
							
							
								
								Add methods print<TYPE> for String, Pointer, and each primitive type.  
							
							... 
							
							
							
							llvm-svn: 994 
							
						 
						
							2001-10-28 20:52:27 +00:00  
				
					
						
							
							
								 
						
							
								009f8108bc 
								
							 
						 
						
							
							
								
								Implement a -trace command line option and a trace option in the interpreter.  
							
							... 
							
							
							
							llvm-svn: 989 
							
						 
						
							2001-10-27 08:43:52 +00:00  
				
					
						
							
							
								 
						
							
								0b00b31c78 
								
							 
						 
						
							
							
								
								* Make pointer values work better by treating them uniformly as 64 bit values.  
							
							... 
							
							
							
							This causes code that is generated by gcc to work better.
* Implement mul & div
* Export malloc, free, and pow
* add strtol, atoi, and atol to the runtime library
llvm-svn: 988 
							
						 
						
							2001-10-27 08:28:11 +00:00  
				
					
						
							
							
								 
						
							
								6642eec003 
								
							 
						 
						
							
							
								
								Provide argv for commands  
							
							... 
							
							
							
							llvm-svn: 987 
							
						 
						
							2001-10-27 05:54:31 +00:00  
				
					
						
							
							
								 
						
							
								15157b88e9 
								
							 
						 
						
							
							
								
								* Implement exit() builtin function  
							
							... 
							
							
							
							* Implement linked in runtime library with puts(char*) in it
* implement builtin putchar(int) function
llvm-svn: 985 
							
						 
						
							2001-10-27 04:15:57 +00:00  
				
					
						
							
							
								 
						
							
								d299dbac0e 
								
							 
						 
						
							
							
								
								Enhancements to pass argc & argv to main if required  
							
							... 
							
							
							
							llvm-svn: 909 
							
						 
						
							2001-10-18 21:55:32 +00:00  
				
					
						
							
							
								 
						
							
								67beacef4f 
								
							 
						 
						
							
							
								
								Implement ulong & long support  
							
							... 
							
							
							
							llvm-svn: 843 
							
						 
						
							2001-10-15 19:18:26 +00:00  
				
					
						
							
							
								 
						
							
								78244c4667 
								
							 
						 
						
							
							
								
								Implement initializers for structs and pointers  
							
							... 
							
							
							
							llvm-svn: 823 
							
						 
						
							2001-10-15 13:25:40 +00:00  
				
					
						
							
							
								 
						
							
								c62e2e5bf7 
								
							 
						 
						
							
							
								
								Implement global variables.  Struct and Pointer initializers are not implemented yet though  
							
							... 
							
							
							
							llvm-svn: 818 
							
						 
						
							2001-10-15 05:51:48 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								da55810666 
								
							 
						 
						
							
							
								
								Commit more code over to new cast style  
							
							... 
							
							
							
							llvm-svn: 697 
							
						 
						
							2001-10-02 03:41:24 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								4b717c0edc 
								
							 
						 
						
							
							
								
								Add support for new style casts  
							
							... 
							
							
							
							llvm-svn: 694 
							
						 
						
							2001-10-01 16:18:37 +00:00  
				
					
						
							
							
								 
						
							
								707d4db319 
								
							 
						 
						
							
							
								
								File #include file  
							
							... 
							
							
							
							llvm-svn: 665 
							
						 
						
							2001-09-28 22:56:43 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								f4a0d70778 
								
							 
						 
						
							
							
								
								Use the correct style casts  
							
							... 
							
							
							
							llvm-svn: 546 
							
						 
						
							2001-09-10 20:12:04 +00:00  
				
					
						
							
							
								 
						
							
								baf08eb2a7 
								
							 
						 
						
							
							
								
								Add support for external methods  
							
							... 
							
							
							
							llvm-svn: 529 
							
						 
						
							2001-09-10 04:50:17 +00:00  
				
					
						
							
							
								 
						
							
								676d4118cf 
								
							 
						 
						
							
							
								
								Genericize support for calling functions a bit  
							
							... 
							
							
							
							Add external method support
llvm-svn: 528 
							
						 
						
							2001-09-10 04:49:44 +00:00  
				
					
						
							
							
								 
						
							
								8564037d97 
								
							 
						 
						
							
							
								
								Annotations are now const  
							
							... 
							
							
							
							llvm-svn: 470 
							
						 
						
							2001-09-07 16:59:15 +00:00  
				
					
						
							
							
								 
						
							
								2c1a98ef08 
								
							 
						 
						
							
							
								
								Lots of new functionality  
							
							... 
							
							
							
							llvm-svn: 372 
							
						 
						
							2001-08-27 05:16:50 +00:00  
				
					
						
							
							
								 
						
							
								d7ff578767 
								
							 
						 
						
							
							
								
								Initial checkin of interpreter  
							
							... 
							
							
							
							llvm-svn: 361 
							
						 
						
							2001-08-23 17:05:04 +00:00