| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't define the same register twice when loading a ConstantPointerRef to a reg | Misha Brukman | 2004-07-14 | 2 | -10/+6 |
| | | | | | llvm-svn: 14819 | ||||
| * | * Fix multiplication by powers of two and otherwise | Misha Brukman | 2004-07-14 | 2 | -10/+18 |
| | | | | | | | * Clarify variable name (StoreInst SI instead of LI) llvm-svn: 14818 | ||||
| * | Add Machine-CFG edges to SparcV9 MachineBasicBlocks. | Brian Gaeke | 2004-07-14 | 1 | -6/+20 |
| | | | | | llvm-svn: 14806 | ||||
| * | * Specify that FP arith options have 3 operands | Misha Brukman | 2004-07-13 | 2 | -26/+20 |
| | | | | | | | * Correctly load FP constants from the constant pool, should be refactored llvm-svn: 14799 | ||||
| * | Correctly load FP constants out of the constant pool. | Misha Brukman | 2004-07-12 | 2 | -12/+6 |
| | | | | | llvm-svn: 14782 | ||||
| * | Apple's MacOS X is another OS which does not provide alloca() via <alloca.h> | Misha Brukman | 2004-07-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 14781 | ||||
| * | Implement getModuleMatchQuality and getJITMatchQuality() for PowerPC | Misha Brukman | 2004-07-12 | 2 | -0/+23 |
| | | | | | llvm-svn: 14780 | ||||
| * | Implement TargetRegistrationListener | Chris Lattner | 2004-07-11 | 1 | -0/+26 |
| | | | | | llvm-svn: 14759 | ||||
| * | Delete the allocate*TargetMachine function, which is now dead. | Chris Lattner | 2004-07-11 | 2 | -10/+2 |
| | | | | | | | The shared command line options are now in a header that makes sense. llvm-svn: 14757 | ||||
| * | Delete the allocate*TargetMachine function, which is now dead . | Chris Lattner | 2004-07-11 | 5 | -37/+5 |
| | | | | | | | The shared command line options are now in a header that makes sense. llvm-svn: 14756 | ||||
| * | Delete the allocate*TargetMachine function, which is now dead . | Chris Lattner | 2004-07-11 | 1 | -6/+0 |
| | | | | | llvm-svn: 14755 | ||||
| * | Implement a couple of methods that TargetMachineRegistry now provides. See, | Chris Lattner | 2004-07-11 | 1 | -0/+60 |
| | | | | | | | I told you this file wasn't useless :) llvm-svn: 14749 | ||||
| * | Make these format a bit nicer | Chris Lattner | 2004-07-11 | 6 | -6/+6 |
| | | | | | llvm-svn: 14747 | ||||
| * | Auto-registrate target | Chris Lattner | 2004-07-11 | 9 | -6/+84 |
| | | | | | llvm-svn: 14745 | ||||
| * | Add compilability | Chris Lattner | 2004-07-11 | 3 | -0/+3 |
| | | | | | llvm-svn: 14744 | ||||
| * | Initial impl of this file. Yes this is pretty useless right now, but it | Chris Lattner | 2004-07-11 | 1 | -0/+21 |
| | | | | | | | will grow in time. llvm-svn: 14743 | ||||
| * | * Add support for indexing into structures, thanks to Chris (x86) | Misha Brukman | 2004-07-09 | 2 | -120/+188 |
| | | | | | | | | | | | | | The large diff is because of indentation of a whole region * Fix querying predecessor blocks in SelectPHINodes(), thanks to Brian (v8) * Add support for external functions malloc() and free() * Fix some code indentation Remember, kids: It's not plagiarism if you "creatively borrow" from your sources. It's called "research"! llvm-svn: 14723 | ||||
| * | Read/write the offset value for stack-relative loads via correct instr operand. | Misha Brukman | 2004-07-09 | 1 | -7/+5 |
| | | | | | llvm-svn: 14722 | ||||
| * | 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 | ||||
| * | 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 | ||||
| * | Support 'ret float' | Brian Gaeke | 2004-07-08 | 1 | -0/+3 |
| | | | | | llvm-svn: 14681 | ||||
| * | * 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 | ||||
| * | 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 | ||||
| * | * 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 | ||||
| * | * 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 | ||||
| * | 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 | 13 | -2/+15 |
| | | | | | llvm-svn: 14622 | ||||
| * | Add FIXME notes for spilling int/fp regs (need to calculate stack space). | Misha Brukman | 2004-07-02 | 1 | -0/+2 |
| | | | | | llvm-svn: 14581 | ||||
| * | Fix use-before-def thinko | Brian Gaeke | 2004-07-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 14570 | ||||
| * | Fix potential problems with unreachable basic blocks. | Chris Lattner | 2004-07-02 | 1 | -0/+10 |
| | | | | | | | | Also, while noone's looking, add support for constant expressions. Wait, I said not to look! llvm-svn: 14566 | ||||
| * | Fix all of those problems that the PPC backend has running 176.gcc :) | Chris Lattner | 2004-07-02 | 1 | -0/+6 |
| | | | | | llvm-svn: 14565 | ||||
| * | Remove dead blocks | Chris Lattner | 2004-07-02 | 1 | -0/+6 |
| | | | | | llvm-svn: 14564 | ||||
| * | Add M_TERMINATOR_FLAG to terminator instructions (branches and returns). | Brian Gaeke | 2004-07-02 | 1 | -46/+48 |
| | | | | | | | Also, the RETURN instructions are not used in the sparcv9 backend. llvm-svn: 14559 | ||||
| * | RETURN instructions are not used in the sparc backend. | Brian Gaeke | 2004-07-02 | 3 | -9/+0 |
| | | | | | | | When in doubt, stamp it out!! llvm-svn: 14558 | ||||
| * | * Follow the PowerPC convention of leaving 24 bytes for linking on the stack. | Misha Brukman | 2004-07-01 | 1 | -2/+5 |
| | | | | | | | * Also leave space for spilling integer registers (this should be calculated) llvm-svn: 14554 | ||||
| * | * Get rid of constant-expr handling code: we use the ConstantExpr lowering pass | Misha Brukman | 2004-07-01 | 2 | -200/+164 |
| | | | | | | | | | * Use the SetCC handling code in the format of Brian's V8 * Add FIXMEs where calls to functions are being made without adding them to the Module first... they cause missing symbols at assembly-time. llvm-svn: 14553 | ||||
| * | Wrap long line | Misha Brukman | 2004-07-01 | 1 | -1/+2 |
| | | | | | llvm-svn: 14552 | ||||
| * | * Do not allocate r0 as we use it indiscriminantly in the instr selector. | Misha Brukman | 2004-07-01 | 1 | -4/+4 |
| | | | | | | | * Do not define CR register class because we don't (yet) have the i4 type llvm-svn: 14551 | ||||
| * | Check if operand has an allocated reg before requesting it. | Misha Brukman | 2004-07-01 | 2 | -0/+2 |
| | | | | | llvm-svn: 14550 | ||||
| * | Handle targets where alignment can be bigger than the size of the data. | Chris Lattner | 2004-07-01 | 1 | -4/+4 |
| | | | | | | | Contributed by Vladimir Prus! llvm-svn: 14534 | ||||
| * | Fix indentation to be 2 spaces. | Misha Brukman | 2004-06-30 | 1 | -8/+8 |
| | | | | | llvm-svn: 14512 | ||||

