aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
Commit message (Collapse)AuthorAgeFilesLines
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-5/+6
| | | | | | | be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2217 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comment to reflect class name change.Chris Lattner2002-04-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2213 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extranous #includeChris Lattner2002-04-081-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2183 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove asmwriter library from link line, because the useful contents of itChris Lattner2002-04-071-2/+1
| | | | | | | have been incorporated into the vmcore library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2153 91177308-0d34-0410-b5e6-96231b3b80d8
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-076-68/+72
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2144 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-03-292-49/+49
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2036 91177308-0d34-0410-b5e6-96231b3b80d8
* Change from Method to FunctionChris Lattner2002-03-262-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1992 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove runtime library in favor of users linking against real libraries.Chris Lattner2002-03-111-14/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1853 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not link in runtime library anymore, assume that user manually links inChris Lattner2002-03-111-0/+2
| | | | | | | | libraries. Code should be generalized to allow lli to take -lc -lm arguments in the future (todo) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1852 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a bunch of new functions to support the SPECINT mcfChris Lattner2002-03-081-0/+84
| | | | | | | benchmark git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1841 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove hack. This is better fixed in Makefile.commonChris Lattner2002-02-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1795 91177308-0d34-0410-b5e6-96231b3b80d8
* Build with newer compiler, with same bugChris Lattner2002-02-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1793 91177308-0d34-0410-b5e6-96231b3b80d8
* Keep track of memory allocated by alloca so that it is freed appropriatelyChris Lattner2002-02-192-5/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1776 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement exp functionChris Lattner2002-02-181-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1774 91177308-0d34-0410-b5e6-96231b3b80d8
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-122-4/+7
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1746 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new abort-on-exceptions flagChris Lattner2002-02-121-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1737 91177308-0d34-0410-b5e6-96231b3b80d8
* Make array bound checks optional and disabled by default.Chris Lattner2002-02-111-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1725 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the clock() functionChris Lattner2002-01-231-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1573 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate opt libraryChris Lattner2002-01-211-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1516 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-206-90/+102
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* * Support the new -q flag for automated testsChris Lattner2001-12-141-39/+32
| | | | | | | | * Remove unsized array support * Add pointer indexing support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1477 91177308-0d34-0410-b5e6-96231b3b80d8
* Build runtime library with local GCCASChris Lattner2001-12-131-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1447 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement sprintfChris Lattner2001-12-131-11/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1445 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-042-5/+5
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-37/+38
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-031-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1405 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-1/+1
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
* Move DataTypes.h from llvm/Support to just SupportChris Lattner2001-11-262-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1399 91177308-0d34-0410-b5e6-96231b3b80d8
* Use pointertype where appropriateChris Lattner2001-11-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1392 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove invalid,unneccesary ## tokenChris Lattner2001-11-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1391 91177308-0d34-0410-b5e6-96231b3b80d8
* * Implement array indexing in lliChris Lattner2001-11-262-24/+69
| | | | | | | * Add external atoi method as well as floor, and srand git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1355 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename cruftChris Lattner2001-11-141-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1299 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement some more rand functions for em3d benchmarkChris Lattner2001-11-131-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1291 91177308-0d34-0410-b5e6-96231b3b80d8
* Print percentages for profiling info betterChris Lattner2001-11-121-1/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1274 91177308-0d34-0410-b5e6-96231b3b80d8
* Print profile info if exit() is calledChris Lattner2001-11-121-26/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1268 91177308-0d34-0410-b5e6-96231b3b80d8
* Hack a structure profiling option togetherChris Lattner2001-11-122-1/+49
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1267 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct problem that allows indirect function callsChris Lattner2001-11-071-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1179 91177308-0d34-0410-b5e6-96231b3b80d8
* * Switch to operation on pointers with PointerTy more consistentlyChris Lattner2001-11-073-76/+149
| | | | | | | | | | | | | | | | | | | | | * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1177 91177308-0d34-0410-b5e6-96231b3b80d8
* *Print Stack traces better.Chris Lattner2001-11-073-27/+64
| | | | | | | | | * 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1170 91177308-0d34-0410-b5e6-96231b3b80d8
* * Use cached writer to speed up printing and get symbolic types more ↵Chris Lattner2001-11-073-15/+54
| | | | | | | | | consistently * When a segfault or bus error occurs, stop the program, print a stack trace, and dump the user in the debugger mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1169 91177308-0d34-0410-b5e6-96231b3b80d8
* Add %p format to printf, which MUST be used when printing pointer values.Chris Lattner2001-11-071-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1166 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement log and drand48 for TSP bmChris Lattner2001-11-061-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1165 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement sqrt, implement printf better, simpler.Chris Lattner2001-11-061-16/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1161 91177308-0d34-0410-b5e6-96231b3b80d8
* Be lenient on types so that programs that are not very typesafe will workChris Lattner2001-11-031-14/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1104 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement xor operatorChris Lattner2001-10-301-0/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1050 91177308-0d34-0410-b5e6-96231b3b80d8
* callExternalMethod now returns the return value of the functionChris Lattner2001-10-301-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1048 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a gross function name map that must be used when linking staticallyChris Lattner2001-10-301-18/+42
| | | | | | | This is for use with purify git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1047 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add some assertions for checking internal error conditionsChris Lattner2001-10-301-32/+90
| | | | | | | | | | * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1046 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't fail to load runtime if running LLI from the current directoryChris Lattner2001-10-301-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1044 91177308-0d34-0410-b5e6-96231b3b80d8
* Print out a label if we step into the first instruction of a basic blockChris Lattner2001-10-291-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1038 91177308-0d34-0410-b5e6-96231b3b80d8