| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Eliminate unused class | Chris Lattner | 2003-10-19 | 1 | -5/+0 | |
| | | | | | llvm-svn: 9270 | |||||
| * | Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵ | Chris Lattner | 2003-10-19 | 12 | -17/+17 | |
| | | | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269 | |||||
| * | * Multiplications by 2^X are turned into shifts. This factors code out of the | Chris Lattner | 2003-10-19 | 1 | -95/+201 | |
| | | | | | | | | | | | | getelementptr code path for use by other code paths (like malloc and alloca). * Optimize comparisons with zero * Generate neg, not, inc, and dec instructions, when possible. This gives some code size wins, which might translate into performance. We'll see tommorow in the nightly tester. llvm-svn: 9267 | |||||
| * | Add some new instructions. Wheee | Chris Lattner | 2003-10-19 | 1 | -1/+21 | |
| | | | | | llvm-svn: 9266 | |||||
| * | .string adds an implicit zero at the end. This is not what we wanted. | Chris Lattner | 2003-10-19 | 1 | -1/+1 | |
| | | | | | | | This fixes PR#44. llvm-svn: 9252 | |||||
| * | Add debugtype, make output marginally more nice | Chris Lattner | 2003-10-19 | 1 | -3/+4 | |
| | | | | | llvm-svn: 9251 | |||||
| * | Fix PR #47 | Chris Lattner | 2003-10-19 | 1 | -3/+3 | |
| | | | | | llvm-svn: 9250 | |||||
| * | Fix bug: Jello/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.llx | Chris Lattner | 2003-10-19 | 1 | -9/+21 | |
| | | | | | | | This also fixes miscompilation of 176.gcc. llvm-svn: 9249 | |||||
| * | Without this option, the -run-llc mode does not work with shared objects at | Chris Lattner | 2003-10-18 | 1 | -0/+1 | |
| | | | | | | | | all, making it pointless for use with the code generator debugger. With it, it works like a charm. llvm-svn: 9245 | |||||
| * | Fix warning | Chris Lattner | 2003-10-18 | 1 | -0/+1 | |
| | | | | | llvm-svn: 9236 | |||||
| * | add support for new linkage types | Chris Lattner | 2003-10-18 | 2 | -8/+18 | |
| | | | | | llvm-svn: 9228 | |||||
| * | Fix PR#50 | Chris Lattner | 2003-10-18 | 1 | -6/+6 | |
| | | | | | llvm-svn: 9227 | |||||
| * | Add support for the new varargs intrinsics and instructions | Chris Lattner | 2003-10-18 | 4 | -20/+38 | |
| | | | | | llvm-svn: 9226 | |||||
| * | ADd support for the new varargs instructions | Chris Lattner | 2003-10-18 | 1 | -1/+2 | |
| | | | | | llvm-svn: 9225 | |||||
| * | Add support for the new varargs intrinsics | Chris Lattner | 2003-10-18 | 1 | -26/+36 | |
| | | | | | llvm-svn: 9224 | |||||
| * | Update the sparc backend to at least compile correctly with the new varargs ↵ | Chris Lattner | 2003-10-18 | 2 | -4/+16 | |
| | | | | | | | stuff even if it's not all implemented yet. llvm-svn: 9223 | |||||
| * | Interpret the new varargs intrinsics correctly | Chris Lattner | 2003-10-18 | 3 | -28/+13 | |
| | | | | | llvm-svn: 9222 | |||||
| * | Updated to emit the final 1.0 bytecode format. This supports weak linkage, | Chris Lattner | 2003-10-18 | 2 | -22/+40 | |
| | | | | | | | more efficient encoding of varargs calls, and the new varargs intrinsics. llvm-svn: 9221 | |||||
| * | * New revised variable argument handling support | Chris Lattner | 2003-10-18 | 5 | -149/+290 | |
| | | | | | | | | * More dense bytecode encoding for varargs calls (like printf) * Eliminated the extremely old bytecode format. rev #0 is now 1.0 llvm-svn: 9220 | |||||
| * | New revised variable argument handling support | Chris Lattner | 2003-10-18 | 2 | -5/+108 | |
| | | | | | llvm-svn: 9219 | |||||
| * | Chris says it's better to assert that TheModule is valid than silently return 0. | Misha Brukman | 2003-10-17 | 1 | -2/+1 | |
| | | | | | llvm-svn: 9212 | |||||
| * | You can't just blat the address into memory, you have to blat its | Brian Gaeke | 2003-10-17 | 1 | -4/+7 | |
| | | | | | | | displacement. llvm-svn: 9210 | |||||
| * | Don't release the Module, as that invalidates the Module* within the | Misha Brukman | 2003-10-17 | 1 | -2/+2 | |
| | | | | | | | | ModuleProvider, which has bad consequences in lli::callAsMain() which tries to access that same Module*. llvm-svn: 9205 | |||||
| * | Implement replaceMachineCodeForFunction() for x86. | Brian Gaeke | 2003-10-17 | 1 | -0/+7 | |
| | | | | | llvm-svn: 9204 | |||||
| * | Refactor jump insertion code from CompilationCallback() into insertJumpAtAddr(). | Brian Gaeke | 2003-10-17 | 1 | -27/+33 | |
| | | | | | | | | | Make insertFarJumpAtAddr() return void, because nothing uses its return value. Remove some commented-out code. Implement replaceMachineCodeForFunction() for SPARC. llvm-svn: 9203 | |||||
| * | Add prototype for replaceMachineCodeForFunction(). | Brian Gaeke | 2003-10-17 | 2 | -0/+3 | |
| | | | | | llvm-svn: 9202 | |||||
| * | Return the Module that we just materialized. | Misha Brukman | 2003-10-17 | 1 | -2/+5 | |
| | | | | | llvm-svn: 9201 | |||||
| * | Tidy up doxygen comment for getPointerToFunction(). | Brian Gaeke | 2003-10-17 | 1 | -0/+10 | |
| | | | | | | | Add prototypes for recompileAndRelinkFunction() and runJITOnFunction(). llvm-svn: 9200 | |||||
| * | Refactor running the JIT passes on a single function into the new method, | Brian Gaeke | 2003-10-17 | 1 | -7/+35 | |
| | | | | | | | | | | runJITOnFunction(). Add new method for recompiling and patching in new versions of functions, recompileAndRelinkFunction(). llvm-svn: 9199 | |||||
| * | Remove extra blank line. | Brian Gaeke | 2003-10-17 | 1 | -1/+0 | |
| | | | | | llvm-svn: 9196 | |||||
| * | Do not crash on empty structures | Chris Lattner | 2003-10-17 | 1 | -0/+5 | |
| | | | | | llvm-svn: 9195 | |||||
| * | Tighten up handling of checks for shift instructions | Chris Lattner | 2003-10-17 | 1 | -2/+4 | |
| | | | | | llvm-svn: 9191 | |||||
| * | Eliminate some extraneous code in SlotCalculator::insertVal(). | Alkis Evlogimenos | 2003-10-17 | 6 | -64/+62 | |
| | | | | | | | | | | Rename SlotCalculator::getValSlot() to SlotCalculator::getSlot(), SlotCalculator::insertValue() to SlotCalculator::getOrCreateSlot(), SlotCalculator::insertVal() to SlotCalculator::insertValue(), and SlotCalculator::doInsertVal() to SlotCalculator::doInsertValue(). llvm-svn: 9190 | |||||
| * | Fix typo in comment. | Brian Gaeke | 2003-10-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 9187 | |||||
| * | Fix a typo in a comment, and zap a blank line. | Brian Gaeke | 2003-10-16 | 1 | -2/+1 | |
| | | | | | llvm-svn: 9184 | |||||
| * | Add separator between different types of readers. | Misha Brukman | 2003-10-16 | 1 | -0/+1 | |
| | | | | | llvm-svn: 9183 | |||||
| * | JIT.cpp: | Misha Brukman | 2003-10-16 | 2 | -5/+7 | |
| | | | | | | | | | | | | | * #include "llvm/ModuleProvider" * alphabetize #includes * omit extraneous parens in pointer expressions VM.cpp: * #include "llvm/ModuleProvider" * alphabetize #includes llvm-svn: 9182 | |||||
| * | * Reorder includes as per the style guide | Misha Brukman | 2003-10-16 | 1 | -6/+22 | |
| | | | | | | | | | * Move the constructors from .h file here * Document ExecutionEngine::create() * Catch exception possibly thrown by ModuleProvider::releaseModule() llvm-svn: 9181 | |||||
| * | Minor cleanups | Chris Lattner | 2003-10-16 | 1 | -30/+28 | |
| | | | | | llvm-svn: 9177 | |||||
| * | Add support for 'weak' linkage. | Chris Lattner | 2003-10-16 | 5 | -11/+46 | |
| | | | | | llvm-svn: 9171 | |||||
| * | Add support for 'weak' linkage. | Chris Lattner | 2003-10-16 | 2 | -4/+25 | |
| | | | | | | | | | For now, we translate linkonce into weak linkage in the bytecode format because we don't have enough bits to represent it. We will rev the bytecode version soon anyways, so this will be fixed in the near future. llvm-svn: 9170 | |||||
| * | Completely rewrite support for the Value::use_* list. Now, all operations on | Chris Lattner | 2003-10-16 | 1 | -37/+11 | |
| | | | | | | | | | | | | | | | | | | | | this list (except use_size()) are constant time. Before the killUse method (used whenever something stopped using a value) was linear time, and thus very very slow for large programs. This speeds GCCAS up _substantially_ on large programs: almost 2x for 176.gcc: 176.gcc: 77.07s -> 37.38s 177.mesa: 7.59s -> 5.57s 252.eon: 21.02s -> 19.52s (*) 253.perlbmk: 11.40s -> 13.05s 254.gap: 7.25s -> 7.42s 252.eon would speed up a whole lot more, but optimization time is being dominated by the inlining pass, which needs to be fixed. llvm-svn: 9160 | |||||
| * | This code does not require random access use_lists | Chris Lattner | 2003-10-16 | 1 | -7/+2 | |
| | | | | | llvm-svn: 9156 | |||||
| * | Eliminate using declaration | Chris Lattner | 2003-10-16 | 1 | -29/+35 | |
| | | | | | | | Rewrite code to work with use_lists what are either random access or bidirectional llvm-svn: 9155 | |||||
| * | #include vector which we will need here soon | Chris Lattner | 2003-10-15 | 1 | -0/+1 | |
| | | | | | llvm-svn: 9144 | |||||
| * | Fix up error message. | Brian Gaeke | 2003-10-15 | 1 | -1/+2 | |
| | | | | | llvm-svn: 9139 | |||||
| * | Decrease usage of use_size() | Chris Lattner | 2003-10-15 | 9 | -22/+22 | |
| | | | | | llvm-svn: 9135 | |||||
| * | Cleanup | Chris Lattner | 2003-10-15 | 1 | -5/+2 | |
| | | | | | llvm-svn: 9133 | |||||
| * | Generalize abstract interpreter interface to allow linking in an arbitrary ↵ | Chris Lattner | 2003-10-14 | 1 | -18/+23 | |
| | | | | | | | number of shared objects llvm-svn: 9129 | |||||
| * | Order #includes as per the style guide. | Misha Brukman | 2003-10-14 | 1 | -3/+3 | |
| | | | | | llvm-svn: 9128 | |||||

