Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use CallSites for call sites, instead of CallInsts. A revolutionary concept. | Brian Gaeke | 2003-11-07 | 1 | -7/+7 | |
| | | | | llvm-svn: 9784 | |||||
* | Refactor the return-from-function code into popStackAndReturnValueToCaller(). | Brian Gaeke | 2003-11-07 | 1 | -37/+41 | |
| | | | | | | Make external function calls slightly less special; now they get a stack frame. llvm-svn: 9765 | |||||
* | Be friendly to gcc 3.4... good compiler. Nice compiler. | Chris Lattner | 2003-11-05 | 1 | -1/+0 | |
| | | | | llvm-svn: 9726 | |||||
* | Use regular old malloc to emulate malloc/alloca instructions. | Brian Gaeke | 2003-11-05 | 1 | -2/+1 | |
| | | | | llvm-svn: 9713 | |||||
* | Remove a comment which no longer applies. | Brian Gaeke | 2003-11-05 | 1 | -5/+0 | |
| | | | | llvm-svn: 9712 | |||||
* | Reduce the number of #includes. | Brian Gaeke | 2003-10-24 | 1 | -186/+22 | |
| | | | | | | | | | | | | | CurFrame, TraceMode, and the CachedWriter are history. ArrayChecksEnabled and non-QuietMode are history. The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history. ExecutionContext now keeps Values for each stack frame in a std::map. Stop pre-initializing Values on the stack to 42. Remove some dead variables, excess whitespace and commented-out code. executeInstruction() is now part of run(). printValue() and print() are history. llvm-svn: 9489 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | Interpret the new varargs intrinsics correctly | Chris Lattner | 2003-10-18 | 1 | -16/+6 | |
| | | | | llvm-svn: 9222 | |||||
* | Fix spelling. | Misha Brukman | 2003-10-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 9021 | |||||
* | Never set any signal handlers. | Brian Gaeke | 2003-10-10 | 1 | -37/+2 | |
| | | | | | | Never call setjmp(), longjmp() or strsignal(). llvm-svn: 9014 | |||||
* | Change FunctionInfo from being an annotation put on Functions to be | Chris Lattner | 2003-09-17 | 1 | -7/+6 | |
| | | | | | | something which is mapped from functions. llvm-svn: 8580 | |||||
* | Make getOperandValue and executeCastOperation methods of Interpreter. | Brian Gaeke | 2003-09-05 | 1 | -3/+3 | |
| | | | | | | This lets us protect a few more ExecutionEngine methods. llvm-svn: 8367 | |||||
* | Remove printOperandInfo(), and simplify run(). | Brian Gaeke | 2003-09-05 | 1 | -30/+0 | |
| | | | | llvm-svn: 8362 | |||||
* | Remove support for printing values from a module by name, only used | Brian Gaeke | 2003-09-05 | 1 | -17/+0 | |
| | | | | | | | w/ interactive keyboard entry of names. With that, Support.cpp is history. llvm-svn: 8360 | |||||
* | Remove support for interactive (step finish next) instructions. | Brian Gaeke | 2003-09-05 | 1 | -115/+0 | |
| | | | | | | | | | Remove printCurrentInstruction, printStackFrame and infoValue (only used interactively) and other unused methods of Interpreter. Fold UserInput.cpp containing only callMainFunction() into Interpreter.cpp. Remove unused Profile flag. llvm-svn: 8359 | |||||
* | Remove support for breakpoints (not used). | Brian Gaeke | 2003-09-04 | 1 | -31/+7 | |
| | | | | | | Remove some dead code and whitespace. llvm-svn: 8346 | |||||
* | Interpreter cleanups: | Brian Gaeke | 2003-09-04 | 1 | -79/+2 | |
| | | | | | | | | | | | | Get rid of support for DebugMode (make it always off). Mung some comments. Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff which have been disabled forever. Get rid of -abort-on-exception (make it always on). Get rid of user interaction stuff (debug mode innards). Simplify Interpreter's callMainFunction(). llvm-svn: 8344 | |||||
* | Remove redundant const qualifier | Chris Lattner | 2003-07-23 | 1 | -3/+3 | |
| | | | | llvm-svn: 7254 | |||||
* | Add support for atexit function, remove support for __main function | Chris Lattner | 2003-05-14 | 1 | -4/+3 | |
| | | | | llvm-svn: 6194 | |||||
* | switch main LLI core execution to use an InstVisitor instead of a switch ↵ | Chris Lattner | 2003-05-10 | 1 | -50/+36 | |
| | | | | | | statement llvm-svn: 6081 | |||||
* | Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c | Chris Lattner | 2003-05-10 | 1 | -33/+47 | |
| | | | | llvm-svn: 6074 | |||||
* | Implement varargs support for LLI! | Chris Lattner | 2003-05-08 | 1 | -73/+23 | |
| | | | | llvm-svn: 6043 | |||||
* | A large number of simple changes: | Chris Lattner | 2003-05-08 | 1 | -18/+19 | |
| | | | | | | | * s/Method/Function * Kill some obsolete (external) functions that used to be to support tracing llvm-svn: 6041 | |||||
* | Add support for recording arguments passed through the ... of a varargs function | Chris Lattner | 2003-05-08 | 1 | -10/+16 | |
| | | | | llvm-svn: 6040 | |||||
* | Fix problem where we would read 64 bits worth of pointer information, even ↵ | Chris Lattner | 2003-04-25 | 1 | -10/+10 | |
| | | | | | | on 32 bit targets! llvm-svn: 5930 | |||||
* | Fix a problem with setcc instructions and pointers | Chris Lattner | 2003-04-23 | 1 | -6/+15 | |
| | | | | llvm-svn: 5886 | |||||
* | Implement &|^ on bool values | Chris Lattner | 2003-04-23 | 1 | -0/+3 | |
| | | | | llvm-svn: 5884 | |||||
* | Kill using declarations | Chris Lattner | 2003-04-22 | 1 | -96/+101 | |
| | | | | | | Kill code for invalid operations on pointers llvm-svn: 5856 | |||||
* | Implement cast to bool | Chris Lattner | 2003-04-22 | 1 | -0/+2 | |
| | | | | llvm-svn: 5855 | |||||
* | Get rid of extraneous arguments to implementation functions | Chris Lattner | 2003-04-22 | 1 | -31/+31 | |
| | | | | llvm-svn: 5852 | |||||
* | Add support to LLI for switch instruction | Chris Lattner | 2003-04-22 | 1 | -0/+22 | |
| | | | | llvm-svn: 5851 | |||||
* | Fix wierd idiom | Chris Lattner | 2003-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 5831 | |||||
* | Fix typeo | Chris Lattner | 2003-02-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 5624 | |||||
* | Handle value promotion properly to work with tracing better | Chris Lattner | 2003-01-13 | 1 | -1/+21 | |
| | | | | llvm-svn: 5253 | |||||
* | Substantial changes to refactor LLI to incorporate both the Jello JIT and | Chris Lattner | 2002-12-23 | 1 | -223/+23 | |
| | | | | | | the traditional LLI interpreter llvm-svn: 5125 | |||||
* | Namespacify more | Chris Lattner | 2002-12-08 | 1 | -10/+10 | |
| | | | | llvm-svn: 4956 | |||||
* | Add support to count the number of dynamic instructions executed by LLI | Chris Lattner | 2002-12-08 | 1 | -0/+8 | |
| | | | | llvm-svn: 4955 | |||||
* | Make command line arguments setup be endian correct!! | Chris Lattner | 2002-11-07 | 1 | -0/+22 | |
| | | | | llvm-svn: 4605 | |||||
* | Fix two problems: | Chris Lattner | 2002-10-30 | 1 | -31/+31 | |
| | | | | | | | | | * Load Implementation can cause unaligned memory accesses, which caused problems for sparc. * cast from pointer to pointer would zero the upper 32 bits of the pointer which obviously causes problems on 64 bit hosts. llvm-svn: 4454 | |||||
* | Fix a major bug in lli | Chris Lattner | 2002-10-26 | 1 | -3/+4 | |
| | | | | llvm-svn: 4289 | |||||
* | - Fix LLI so that it simulates the endianness of the target machine | Chris Lattner | 2002-10-15 | 1 | -92/+173 | |
| | | | | | | correctly, despite the fact that the host machine might not be the same. llvm-svn: 4180 | |||||
* | Expose TD to ExternalFunctions.cpp | Chris Lattner | 2002-10-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 4020 | |||||
* | * Fix a bug that was causing lli to misrun: | Chris Lattner | 2002-09-13 | 1 | -1/+1 | |
| | | | | | | | test/Regression/Transforms/DecomposeMultiDimRefs/mixedindices.c * Eliminate unneccesary #include llvm-svn: 3712 | |||||
* | Another portability patch graciously provided by Casey Carter | Chris Lattner | 2002-09-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 3698 | |||||
* | - Change getelementptr instruction to use long indexes instead of uint | Chris Lattner | 2002-09-11 | 1 | -1/+1 | |
| | | | | | | indexes for sequential types. llvm-svn: 3683 | |||||
* | - Renamed Type::isIntegral() to Type::isInteger() | Chris Lattner | 2002-09-03 | 1 | -1/+1 | |
| | | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574 | |||||
* | Implement ConstantPointerRef support, & ConstantExpr support for Cast, GEP & ↵ | Chris Lattner | 2002-08-27 | 1 | -31/+54 | |
| | | | | | | Add. llvm-svn: 3516 | |||||
* | Eliminated the MemAccessInst class, folding contents into GEP class. | Chris Lattner | 2002-08-22 | 1 | -4/+3 | |
| | | | | llvm-svn: 3487 | |||||
* | Load & StoreInst no longer derive from MemAccessInst, so we don't have | Chris Lattner | 2002-08-22 | 1 | -12/+5 | |
| | | | | | | to handle indexing anymore llvm-svn: 3485 | |||||
* | Remove support for NOT instruction | Chris Lattner | 2002-08-14 | 1 | -29/+0 | |
| | | | | llvm-svn: 3313 |