summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
Commit message (Collapse)AuthorAgeFilesLines
...
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9312
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-203-0/+21
| | | | | | Header files will be on the way. llvm-svn: 9298
* Interpret the new varargs intrinsics correctlyChris Lattner2003-10-183-28/+13
| | | | llvm-svn: 9222
* Order #includes as per the style guide.Misha Brukman2003-10-141-3/+3
| | | | llvm-svn: 9128
* Don't include Config/stdio.h or <stdio.h>.Brian Gaeke2003-10-101-1/+0
| | | | llvm-svn: 9031
* Fix spelling.Misha Brukman2003-10-102-2/+2
| | | | llvm-svn: 9021
* Never set any signal handlers.Brian Gaeke2003-10-101-37/+2
| | | | | | Never call setjmp(), longjmp() or strsignal(). llvm-svn: 9014
* Rewrite head-of-file comment.Brian Gaeke2003-10-101-14/+16
| | | | | | | | | In lookupFunction(): Change to use "F" for Function argument instead of ancient "M". Remove commented-out code. Change to use GetAddressOfSymbol instead of dlsym. llvm-svn: 9013
* Do not read past the end of the contained type listChris Lattner2003-10-091-2/+2
| | | | llvm-svn: 8986
* Squelch warningChris Lattner2003-09-221-2/+2
| | | | llvm-svn: 8659
* Change FunctionInfo from being an annotation put on Functions to beChris Lattner2003-09-173-22/+9
| | | | | | something which is mapped from functions. llvm-svn: 8580
* Reorder #includes to follow LLVM conventionsChris Lattner2003-09-051-4/+4
| | | | llvm-svn: 8375
* ExecutionEngine.h, GenericValue.h --> include/llvm/ExecutionEngine/Brian Gaeke2003-09-051-2/+2
| | | | | | Build ExecutionEngine as library. llvm-svn: 8370
* Make getOperandValue and executeCastOperation methods of Interpreter.Brian Gaeke2003-09-052-3/+6
| | | | | | This lets us protect a few more ExecutionEngine methods. llvm-svn: 8367
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-053-110/+54
| | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366
* Remove printOperandInfo(), and simplify run().Brian Gaeke2003-09-051-30/+0
| | | | llvm-svn: 8362
* Remove support for printing values from a module by name, only usedBrian Gaeke2003-09-053-109/+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 Gaeke2003-09-054-186/+44
| | | | | | | | | 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 Gaeke2003-09-043-47/+8
| | | | | | Remove some dead code and whitespace. llvm-svn: 8346
* Interpreter cleanups:Brian Gaeke2003-09-044-317/+30
| | | | | | | | | | | | 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
* ExecutionEngine.cpp: Move execution engine creation stuff into a newBrian Gaeke2003-09-032-6/+9
| | | | | | | | | | | | | | | | | | static method here. Remove some extra blank lines. ExecutionEngine.h: Add its prototype. lli.cpp: Call it. Make creation method for each type of EE into a static method of its own subclass. Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter --> Interpreter::create Interpreter/Interpreter.h: Likewise. JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create JIT/VM.h: Likewise. llvm-svn: 8343
* Targets now configure themselves based on the source module, not on theChris Lattner2003-08-242-10/+28
| | | | | | ad-hoc "Config" flags llvm-svn: 8134
* Add preliminary support for "any" pointersize/endianness. This will needChris Lattner2003-08-241-1/+2
| | | | | | to change soon though. llvm-svn: 8123
* The JIT now passes the environment pointer to the main() function when itJohn Criswell2003-08-212-2/+4
| | | | | | | starts a program. This allows the GNU env program to compile and JIT under LLVM. llvm-svn: 8022
* Spell `necessary' correctly.Misha Brukman2003-08-181-1/+1
| | | | llvm-svn: 7944
* Deconstify parameter to getPointerToFunction().Brian Gaeke2003-08-131-1/+1
| | | | llvm-svn: 7822
* Remove redundant const qualifierChris Lattner2003-07-231-3/+3
| | | | llvm-svn: 7254
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-3/+3
| | | | | | system. llvm-svn: 7014
* Include <cmath> instead of <math.h>Brian Gaeke2003-06-231-10/+1
| | | | | | Remove isnan; it's too unportable to handle cleanly at this point. llvm-svn: 6866
* Use std::isnan instead of isnan. Brought back to you from theBrian Gaeke2003-06-171-1/+1
| | | | | | future, by the reconciliation of the C++ and C99 standards. Someday. llvm-svn: 6751
* Add support for atexit function, remove support for __main functionChris Lattner2003-05-145-14/+37
| | | | llvm-svn: 6194
* Make sure that globals are emitted AFTER the passmanager is set up for the JIT,Chris Lattner2003-05-121-0/+1
| | | | | | because the globals may refer to functions that need to be compiled! llvm-svn: 6105
* switch main LLI core execution to use an InstVisitor instead of a switch ↵Chris Lattner2003-05-102-67/+61
| | | | | | statement llvm-svn: 6081
* Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.cChris Lattner2003-05-102-34/+55
| | | | llvm-svn: 6074
* Implement varargs support for LLI!Chris Lattner2003-05-082-73/+56
| | | | llvm-svn: 6043
* A large number of simple changes:Chris Lattner2003-05-087-178/+95
| | | | | | | * 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 functionChris Lattner2003-05-082-10/+17
| | | | llvm-svn: 6040
* Remove two fields from TargetData which are target specific.Chris Lattner2003-04-261-1/+0
| | | | llvm-svn: 5963
* Only do the %ld -> %lld promotion when running a 64 bit bytecode on a 32 bit ↵Chris Lattner2003-04-251-1/+2
| | | | | | host llvm-svn: 5942
* Add __strdupChris Lattner2003-04-251-0/+7
| | | | llvm-svn: 5941
* MAke sure that LLI properly configures align_of(double)Chris Lattner2003-04-251-0/+1
| | | | llvm-svn: 5938
* Fix problem where we would read 64 bits worth of pointer information, even ↵Chris Lattner2003-04-251-10/+10
| | | | | | on 32 bit targets! llvm-svn: 5930
* Add memcpyChris Lattner2003-04-231-0/+7
| | | | llvm-svn: 5887
* Fix a problem with setcc instructions and pointersChris Lattner2003-04-231-6/+15
| | | | llvm-svn: 5886
* Implement a bunch of new external functionsChris Lattner2003-04-231-0/+54
| | | | llvm-svn: 5885
* Implement &|^ on bool valuesChris Lattner2003-04-231-0/+3
| | | | llvm-svn: 5884
* Add support for _IO_getc function used on linuxChris Lattner2003-04-231-0/+6
| | | | llvm-svn: 5883
* Kill using declarationsChris Lattner2003-04-221-96/+101
| | | | | | Kill code for invalid operations on pointers llvm-svn: 5856
* Implement cast to boolChris Lattner2003-04-221-0/+2
| | | | llvm-svn: 5855
* Get rid of extraneous arguments to implementation functionsChris Lattner2003-04-221-31/+31
| | | | llvm-svn: 5852
OpenPOWER on IntegriCloud