| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | The uid mapping is no more | Chris Lattner | 2004-07-08 | 1 | -12/+1 |
| | | | | | llvm-svn: 14708 | ||||
| * | Eliminate uses of the UniqueID field on Type objects | Chris Lattner | 2004-07-08 | 1 | -23/+18 |
| | | | | | llvm-svn: 14707 | ||||
| * | Do not call Type::getUniqueID | Chris Lattner | 2004-07-08 | 1 | -4/+12 |
| | | | | | llvm-svn: 14706 | ||||
| * | Add support for __fixdfdi(), __floatdisf(), and __floatdidf() external functions | Misha Brukman | 2004-07-08 | 2 | -6/+22 |
| | | | | | llvm-svn: 14703 | ||||
| * | * Use several Function* for external functions instead of a std::map | Misha Brukman | 2004-07-08 | 2 | -52/+78 |
| | | | | | | | * Non-const FP values must be loaded into int regs (for vararg fns) via memory llvm-svn: 14701 | ||||
| * | * Add support for loading FP constants from the constant pool | Misha Brukman | 2004-07-08 | 2 | -20/+88 |
| | | | | | | | * Load FP values into int regs as well for vararg functions; without memory ops! llvm-svn: 14700 | ||||
| * | * Fix header comment, excise references to X86 | Misha Brukman | 2004-07-08 | 2 | -30/+46 |
| | | | | | | | * Add suport for printing out references to constant pool indices llvm-svn: 14699 | ||||
| * | Eliminate the SignedType and UnsignedType classes. | Chris Lattner | 2004-07-08 | 1 | -49/+19 |
| | | | | | llvm-svn: 14695 | ||||
| * | Support setcc on fp values. | Brian Gaeke | 2004-07-08 | 1 | -12/+21 |
| | | | | | llvm-svn: 14687 | ||||
| * | Add floating-point branches and compares. Compares don't complete | Brian Gaeke | 2004-07-08 | 2 | -0/+52 |
| | | | | | | | | until the next cycle, and there's no interlock, so they effectively have a delay slot. llvm-svn: 14686 | ||||
| * | Fix bug where SwitchSection would fail to change to ".bss" successfully. | Brian Gaeke | 2004-07-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 14685 | ||||
| * | Fix bug involving bool arguments to binary operators. | Brian Gaeke | 2004-07-08 | 1 | -2/+2 |
| | | | | | | | Fix typo in comment. llvm-svn: 14684 | ||||
| * | Fix bug in copying long constants to register pairs. We were getting | Brian Gaeke | 2004-07-08 | 1 | -2/+17 |
| | | | | | | | | | the top and bottom halves backwards...how embarrassing. Support 'cast long to long' and other similar no-op casts to long. Support 'ret long'. llvm-svn: 14683 | ||||
| * | Disable some code that isn't helping matters | Chris Lattner | 2004-07-08 | 1 | -1/+6 |
| | | | | | llvm-svn: 14682 | ||||
| * | Support 'ret float' | Brian Gaeke | 2004-07-08 | 1 | -0/+3 |
| | | | | | llvm-svn: 14681 | ||||
| * | Add viewCFG() and viewCFGOnly() APIs. | Alkis Evlogimenos | 2004-07-08 | 1 | -1/+77 |
| | | | | | llvm-svn: 14679 | ||||
| * | There is no error message to print out, end sentence with `!' | Misha Brukman | 2004-07-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 14678 | ||||
| * | Make error message consistent with the rest of LLVM by saying that bytecode | Reid Spencer | 2004-07-07 | 1 | -2/+2 |
| | | | | | | | is read, not parsed. llvm-svn: 14677 | ||||
| * | Fix for bug 391. | Reid Spencer | 2004-07-07 | 3 | -1/+14 |
| | | | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674 | ||||
| * | * Use a map for caching lookups to external functions (fp div/rem) | Misha Brukman | 2004-07-07 | 2 | -40/+56 |
| | | | | | | | * Tabs to spaces llvm-svn: 14673 | ||||
| * | * Wrap long lines (comments and code) | Misha Brukman | 2004-07-07 | 1 | -11/+13 |
| | | | | | | | * Tabs to spaces llvm-svn: 14672 | ||||
| * | Fix regressions in these testcases: | Chris Lattner | 2004-07-07 | 1 | -1/+2 |
| | | | | | | | | | | Regression.Assembler.2002-01-24-BadSymbolTableAssert Regression.Assembler.2002-01-24-ValueRefineAbsType Found through the nightly tester :) llvm-svn: 14671 | ||||
| * | Add fmod() to the Module being compiled so that it gets a stub in the asm file | Misha Brukman | 2004-07-07 | 2 | -6/+16 |
| | | | | | llvm-svn: 14670 | ||||
| * | The bytecode reader wants to be able to read types that are not quite resolved | Chris Lattner | 2004-07-07 | 1 | -1/+2 |
| | | | | | | | yet, then resolve them in it's own sweet time. We must support this. llvm-svn: 14666 | ||||
| * | Headers moved | Chris Lattner | 2004-07-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 14665 | ||||
| * | Move all of the DSA headers into the Analysis/DataStructure subdir. | Chris Lattner | 2004-07-07 | 14 | -29/+31 |
| | | | | | llvm-svn: 14663 | ||||
| * | As much as I hate to say it, the whole setNode interface for DSNodeHandles | Chris Lattner | 2004-07-07 | 2 | -11/+7 |
| | | | | | | | | | | | | | is HOPELESSLY broken. The problem is that the embedded getNode call can change the offset of the node handle in unpredictable ways. As it turns out, all of the clients of this method really want to set both the node and the offset, thus it is more efficient (and less buggy) to just do both of them in one method call. This fixes some obscure bugs handling non-forwarded node handles. llvm-svn: 14660 | ||||
| * | When folding constant expr gep's, don't force the use of long indices. | Chris Lattner | 2004-07-07 | 1 | -3/+6 |
| | | | | | llvm-svn: 14658 | ||||
| * | Disable coalescing. | Alkis Evlogimenos | 2004-07-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 14655 | ||||
| * | Make sure people don't make functiontypes with an invalid return type | Chris Lattner | 2004-07-06 | 1 | -0/+2 |
| | | | | | llvm-svn: 14654 | ||||
| * | * Add support for calling vararg functions (must pass doubles in int regs too) | Misha Brukman | 2004-07-06 | 2 | -136/+178 |
| | | | | | | | | | | | | | * Make visitSetCondInst() share condition-generating code with EmitComparison() * There are 13 FPRs for function-passing arguments, not 8 * Do not rely on registers being sequential, use an array lookup * In unimplemented switch cases, send an error and abort instead of silent fall-through * Add doInitialization() for adding function prototypes for external math fns * Minor changes: fix indentation, spacing, code clarity llvm-svn: 14653 | ||||
| * | Use the more compact `bl' instead of cryptic (but equivalent) `bcl 20,31' | Misha Brukman | 2004-07-06 | 2 | -4/+4 |
| | | | | | llvm-svn: 14652 | ||||
| * | Work around apparent Apple compiler bug which was making all mangled | Brian Gaeke | 2004-07-06 | 1 | -2/+2 |
| | | | | | | | names start with l0_. llvm-svn: 14651 | ||||
| * | Check to make sure types are sized before calling getTypeSize on them. | Chris Lattner | 2004-07-06 | 1 | -13/+15 |
| | | | | | llvm-svn: 14649 | ||||
| * | It doesn't matter what the 2nd operand is; if the GEP has 2 operands and | Brian Gaeke | 2004-07-06 | 1 | -2/+1 |
| | | | | | | | the first is a zero, we should leave it alone. llvm-svn: 14648 | ||||
| * | Add helper function. | Brian Gaeke | 2004-07-06 | 1 | -2/+14 |
| | | | | | | | | Don't touch GEPs for which DecomposeArrayRef is not going to do anything special (e.g., < 2 indices, or 2 indices and the last one is a constant.) llvm-svn: 14647 | ||||
| * | Find bugs sooner rather than later. In this case, don't allow the creation | Chris Lattner | 2004-07-06 | 2 | -11/+8 |
| | | | | | | | of instructions that don't have a first-class or void type. llvm-svn: 14646 | ||||
| * | Do not crash when joining two intervals of registers of different | Alkis Evlogimenos | 2004-07-06 | 1 | -1/+10 |
| | | | | | | | | classes: just ignore that move. Thanks to Vladimir Prus who found the bug! llvm-svn: 14644 | ||||
| * | * Add utility functions: convert SetCC => PPC opcode and invert PPC opcode | Misha Brukman | 2004-07-06 | 2 | -68/+98 |
| | | | | | | | | | | * If SetCondInst is folded into BranchInst (and it is the only user), do not emit code for SetCondInst * Fix assembly opcodes in comments in visitSetCondInst() * Fix codegen of conditional branches llvm-svn: 14643 | ||||
| * | Implement rem.ll:test3 | Chris Lattner | 2004-07-06 | 1 | -0/+18 |
| | | | | | llvm-svn: 14640 | ||||
| * | Fix a minor bug where we would go into infinite loops on some constants | Chris Lattner | 2004-07-06 | 1 | -1/+2 |
| | | | | | llvm-svn: 14638 | ||||
| * | Implement InstCombine/sub.ll:test15: X % -Y === X % Y | Chris Lattner | 2004-07-06 | 1 | -2/+9 |
| | | | | | | | | Also, remove X % -1 = 0, because it's not true for unsigneds, and the signed case is superceeded by this new handling. llvm-svn: 14637 | ||||
| * | Fix a bug in the unreachable block elim pass. Dropping all references on a | Chris Lattner | 2004-07-06 | 1 | -4/+11 |
| | | | | | | | | | basic block clear()'s all of the operands lists, including phis. This caused removePredecessor to get confused later. Because of this, we just nuke (without prejudice) PHI nodes in unreachable blocks. llvm-svn: 14635 | ||||
| * | Remove definition and use of OtherVal enumerator. This just fixes a thinko. | Reid Spencer | 2004-07-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 14634 | ||||
| * | Finalize bytecode dumping. The "handleFinish" method was getting called | Reid Spencer | 2004-07-05 | 4 | -29/+38 |
| | | | | | | | | | too soon so the function data was not getting dumped (it was generated after the call handleFinish). Also cleaned up the output format for proper indentation. llvm-svn: 14627 | ||||
| * | Correctly compute the ration of iterations/#intervals. | Alkis Evlogimenos | 2004-07-04 | 1 | -2/+6 |
| | | | | | llvm-svn: 14626 | ||||
| * | Add #includes | Chris Lattner | 2004-07-04 | 3 | -0/+3 |
| | | | | | llvm-svn: 14625 | ||||
| * | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 54 | -2/+73 |
| | | | | | llvm-svn: 14622 | ||||
| * | - remove use of isa<Type>(Val) since there's no inheritance relationship | Reid Spencer | 2004-07-04 | 1 | -4/+3 |
| | | | | | | | | any more. Needed for bug 122 - #include <iostream> since Value.h doesn't include it any more. llvm-svn: 14621 | ||||
| * | Remove use of Type::TypeTy which is no longer defined. This change needed | Reid Spencer | 2004-07-04 | 1 | -1/+1 |
| | | | | | | | for bug 122 since the "Type Type" concept is gone now. llvm-svn: 14620 | ||||

