summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed #include <iostream> and replaced streams with llvm streams.Bill Wendling2006-11-272-35/+36
| | | | llvm-svn: 31949
* For PR950:Reid Spencer2006-11-272-36/+181
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* Simplify IntrinsicLowering and clarify that it is only for use by theChris Lattner2006-11-151-1/+1
| | | | | | CBE and interpreter. llvm-svn: 31755
* Remove redundant <cmath>.Jim Laskey2006-11-082-2/+0
| | | | llvm-svn: 31561
* For PR950:Reid Spencer2006-11-082-20/+52
| | | | | | | | This patch converts the old SHR instruction into two instructions, AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not dependent on the sign of their operands. llvm-svn: 31542
* Remove a function prototype that is no longer needed (REM patch missed it)Reid Spencer2006-11-021-2/+0
| | | | llvm-svn: 31374
* For PR950:Reid Spencer2006-11-021-12/+50
| | | | | | Replace the REM instruction with UREM, SREM and FREM. llvm-svn: 31369
* Remove unnecessary sign conversions made possible by last patch.Reid Spencer2006-11-011-4/+0
| | | | llvm-svn: 31339
* Fix a bug in the interpreter where divides of unmatched signed operandsReid Spencer2006-11-011-8/+11
| | | | | | | would fail. E.g. udiv sint X, Y or sdiv uint X, Y would fail to find a type match in the switch statement and fail the operation. llvm-svn: 31338
* For PR950:Reid Spencer2006-10-261-11/+51
| | | | | | | | Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195
* For PR950:Reid Spencer2006-10-201-2/+2
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* initial changes to support JIT'ing from multiple module providers, implicitlyChris Lattner2006-08-161-1/+1
| | | | | | linking the program on the fly. llvm-svn: 29721
* Simplify TargetData ctor callChris Lattner2006-06-161-1/+1
| | | | llvm-svn: 28832
* Simplify interpreter construction.Chris Lattner2006-06-162-21/+11
| | | | llvm-svn: 28826
* Fix -pedantic warningsChris Lattner2006-06-011-2/+3
| | | | llvm-svn: 28635
* For PR786:Reid Spencer2006-05-241-1/+1
| | | | | | | | Minor tweaks in public headers and a few .cpp files so that LLVM can build successfully with -pedantic and projects using LLVM with -pedantic don't get warnings from LLVM. There's still more -pedantic warnings to fix. llvm-svn: 28453
* Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson2006-05-031-1/+1
| | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074
* Get JIT/Interpreter working on Windows again.Jeff Cohen2006-03-241-0/+5
| | | | llvm-svn: 27037
* remove the intrinsiclowering hookChris Lattner2006-03-232-13/+9
| | | | llvm-svn: 26970
* Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries.Chris Lattner2006-03-222-2/+19
| | | | | | Now you can build a tool with just the JIT or just the interpreter. llvm-svn: 26946
* The interpreter assumes that the caller of runFunction() must be lli, andJeff Cohen2006-02-073-8/+7
| | | | | | | | therefore the function being called must be a main() returning an int. The consequences when these assumptions are false are not good, so don't assume them. llvm-svn: 26031
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-1/+1
| | | | llvm-svn: 22523
* core changes for varargsAndrew Lenharth2005-06-182-13/+3
| | | | llvm-svn: 22254
* Convert tabs to spacesMisha Brukman2005-04-223-7/+8
| | | | llvm-svn: 21440
* * Remove trailing whitespaceMisha Brukman2005-04-214-113/+113
| | | | | | * Convert tabs to spaces llvm-svn: 21421
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-3/+3
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* If the interpreter tries to execute an external function, kill it. Of courseChris Lattner2005-01-211-6/+8
| | | | | | | | since we are dirty, special case __main. This should fix the infinite loop horrible stuff that happens on linux-alpha when configuring llvm-gcc. It might also help cygwin, who knows?? llvm-svn: 19729
* Improve compatiblity with HPUX on Itanium, patch by Duraid MadinaChris Lattner2005-01-161-1/+1
| | | | llvm-svn: 19586
* Silence warningsChris Lattner2005-01-081-2/+2
| | | | llvm-svn: 19392
* Silence VS warningsChris Lattner2005-01-081-4/+4
| | | | llvm-svn: 19389
* Use System/DynamicLibrary instead of Support/DynamicLinkerReid Spencer2004-11-291-3/+4
| | | | llvm-svn: 18357
* Implement ExecutionEngine::freeMachineCodeForFunction()Misha Brukman2004-11-071-0/+4
| | | | llvm-svn: 17601
* Fix library name.Reid Spencer2004-10-281-1/+1
| | | | llvm-svn: 17307
* Changes to support rand48 testsReid Spencer2004-10-271-0/+15
| | | | llvm-svn: 17284
* We won't use automakeReid Spencer2004-10-222-679/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+662
| | | | llvm-svn: 17136
* Add support for unreachableChris Lattner2004-10-162-0/+6
| | | | llvm-svn: 17056
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-4/+4
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+17
| | | | llvm-svn: 16885
* Convert code to compile with vc7.1.Reid Spencer2004-09-151-2/+3
| | | | | | Patch contributed by Paolo Invernizzi. Thanks Paolo! llvm-svn: 16368
* Changes For Bug 352Reid Spencer2004-09-013-4/+4
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Fixes for PR341Chris Lattner2004-07-151-2/+2
| | | | llvm-svn: 14848
* Fixes for PR341Chris Lattner2004-07-151-2/+2
| | | | llvm-svn: 14847
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14622
* Move the IntrinsicLowering header into the CodeGen directory, as per PR346Chris Lattner2004-06-202-2/+2
| | | | llvm-svn: 14266
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-172-21/+21
| | | | llvm-svn: 14201
* Add int ferror(FILE *)Brian Gaeke2004-06-161-0/+8
| | | | llvm-svn: 14194
* These #includes are long deadChris Lattner2004-05-271-2/+0
| | | | llvm-svn: 13856
* Get rid of a wart: useless getFILE function is now a cast macro.Reid Spencer2004-05-251-42/+2
| | | | llvm-svn: 13747
* Generalize the strlen size_t hack, for the benefit of the other externalBrian Gaeke2004-05-011-17/+33
| | | | | | functions with wrappers that either take or return size_ts. llvm-svn: 13296
OpenPOWER on IntegriCloud