| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix problems linking against the reoptimizer; _llvm_regAllocState must have | Brian Gaeke | 2003-11-10 | 1 | -2/+2 |
| | | | | | | | | externally-visible linkage, and SaveStateToModule must default to true for llc. I don't remember why I made it const; perhaps it should be deconstified. llvm-svn: 9858 | ||||
| * | Reorganize code for locality, improve comments | Chris Lattner | 2003-11-10 | 1 | -19/+23 |
| | | | | | llvm-svn: 9857 | ||||
| * | Adjust to new critical edge interface | Chris Lattner | 2003-11-10 | 2 | -15/+15 |
| | | | | | llvm-svn: 9853 | ||||
| * | Operand numbers are now ints. Save the register allocation of the value | Brian Gaeke | 2003-11-10 | 3 | -30/+40 |
| | | | | | | | | | each instruction produces as "operand" -1, and the other operands as 0 .. n, as before. PhyRegAlloc::saveState() is refactored into PhyRegAlloc::saveStateForValue(). llvm-svn: 9842 | ||||
| * | More additions | Chris Lattner | 2003-11-09 | 1 | -3/+4 |
| | | | | | llvm-svn: 9834 | ||||
| * | Fix PR95. I'm checking this patch in for Reid Spencer, who figured it out | Chris Lattner | 2003-11-09 | 1 | -3/+2 |
| | | | | | | | and wrote it up. Thanks!! llvm-svn: 9832 | ||||
| * | Add an assertion | Chris Lattner | 2003-11-09 | 1 | -0/+1 |
| | | | | | llvm-svn: 9831 | ||||
| * | Fix PR103 | Brian Gaeke | 2003-11-09 | 1 | -6/+3 |
| | | | | | llvm-svn: 9830 | ||||
| * | Do NOT inline self recursive calls into other functions. This is causing the | Chris Lattner | 2003-11-09 | 2 | -1/+10 |
| | | | | | | | | pool allocator no end of trouble, and doesn't make a lot of sense anyway. This does not solve the problem with mutually recursive functions, but they are much less common. llvm-svn: 9828 | ||||
| * | Untypo | Chris Lattner | 2003-11-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 9827 | ||||
| * | Add more functions | Chris Lattner | 2003-11-09 | 1 | -0/+8 |
| | | | | | llvm-svn: 9826 | ||||
| * | None of the __llvm_* functions call into the program. This makes the | Chris Lattner | 2003-11-09 | 1 | -0/+3 |
| | | | | | | | callgraph MUCH simpler for eh using program. llvm-svn: 9825 | ||||
| * | Add support for memmove | Chris Lattner | 2003-11-09 | 1 | -0/+9 |
| | | | | | llvm-svn: 9824 | ||||
| * | Remove #include of PassManager.h which was marked FIXME, and apparently is no | Brian Gaeke | 2003-11-09 | 1 | -3/+0 |
| | | | | | | | longer used. llvm-svn: 9823 | ||||
| * | Handle bzero and memset in the local analysis, because we were missing the fact | Chris Lattner | 2003-11-08 | 2 | -4/+17 |
| | | | | | | | that memset returns its argument!! llvm-svn: 9811 | ||||
| * | This doesn't use DSCallSiteIterator | Chris Lattner | 2003-11-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 9809 | ||||
| * | Fix two typos I found in comments. | Brian Gaeke | 2003-11-08 | 2 | -3/+3 |
| | | | | | llvm-svn: 9806 | ||||
| * | For some reason, LICM and GCSE like to crash the FunctionPassManager when they | Misha Brukman | 2003-11-08 | 1 | -2/+4 |
| | | | | | | | are being added as FunctionPasses... Sigh. llvm-svn: 9798 | ||||
| * | Implement vaarg instruction. This is not quite perfect: 2003-08-11-VaListArg | Brian Gaeke | 2003-11-07 | 2 | -0/+36 |
| | | | | | | | still causes a crash. But it's better than before. llvm-svn: 9794 | ||||
| * | Implement branching to a PC-relative constant (not a BasicBlock). | Misha Brukman | 2003-11-07 | 1 | -7/+7 |
| | | | | | llvm-svn: 9793 | ||||
| * | popStackAndReturnValueToCaller() must advance instruction pointer to normal | Brian Gaeke | 2003-11-07 | 1 | -5/+24 |
| | | | | | | | | | destination, if returning from an invoke. Implement 'unwind' instruction. llvm-svn: 9792 | ||||
| * | PreSelection is not optional, it performs a necessary and vital transformation | Misha Brukman | 2003-11-07 | 1 | -12/+15 |
| | | | | | | | | | | for the Sparc backend: breaking up constant expressions. Thus, we cannot have it guarded by a conditional, it should never be disabled. Also, it's now available for the JIT since it is a FunctionPass. llvm-svn: 9791 | ||||
| * | Remove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass. | Misha Brukman | 2003-11-07 | 1 | -15/+0 |
| | | | | | llvm-svn: 9790 | ||||
| * | Add stub version of unwind support | Brian Gaeke | 2003-11-07 | 2 | -0/+5 |
| | | | | | llvm-svn: 9789 | ||||
| * | visitCallInst --> visitCallSite. | Brian Gaeke | 2003-11-07 | 2 | -4/+7 |
| | | | | | | | Use visitCallSite to implement both CallInsts and InvokeInsts. llvm-svn: 9788 | ||||
| * | Make the operation of visitCallInst() only depend on the CallSite. | Brian Gaeke | 2003-11-07 | 1 | -7/+9 |
| | | | | | llvm-svn: 9787 | ||||
| * | Use CallSites for call sites, instead of CallInsts. A revolutionary concept. | Brian Gaeke | 2003-11-07 | 2 | -9/+10 |
| | | | | | llvm-svn: 9784 | ||||
| * | Switch to emitting MachineConstantPool the way it was meant to be done. | Misha Brukman | 2003-11-07 | 2 | -49/+8 |
| | | | | | llvm-svn: 9777 | ||||
| * | Switch to using the standard representation of the constant pool -- namely, the | Misha Brukman | 2003-11-07 | 1 | -338/+322 |
| | | | | | | | | MachineConstantPool. This involved refactoring the two classes involved in printing out Sparc assembly. In fact, they should share all this code anyway. llvm-svn: 9776 | ||||
| * | We accept TargetMachine as a const reference. | Misha Brukman | 2003-11-07 | 1 | -3/+3 |
| | | | | | llvm-svn: 9775 | ||||
| * | PreSelection and PeepholeOpts are now FunctionPasses. | Misha Brukman | 2003-11-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 9774 | ||||
| * | * Stop making a global for each constant that cannot live in an instruction; | Misha Brukman | 2003-11-07 | 1 | -36/+14 |
| | | | | | | | | | | it will be converted to a MachineConstantPool index during instruction selection * This is now eligible to become a FunctionPass since it does not have any side effects outside of the function it is processing. llvm-svn: 9773 | ||||
| * | * Use the MachineConstantPool for storing constants instead of a hash_set; | Misha Brukman | 2003-11-07 | 1 | -17/+41 |
| | | | | | | | | | * Do not create new globals for constants! Also, order #includes as per coding style guide llvm-svn: 9772 | ||||
| * | Use `basename $<` to get just the filename, not full path, for ease of reading. | Misha Brukman | 2003-11-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 9770 | ||||
| * | Declare FunctionPasses as such so that they can be used in FunctionPassManager. | Misha Brukman | 2003-11-07 | 3 | -3/+3 |
| | | | | | llvm-svn: 9768 | ||||
| * | Refactor the return-from-function code into popStackAndReturnValueToCaller(). | Brian Gaeke | 2003-11-07 | 2 | -37/+42 |
| | | | | | | | Make external function calls slightly less special; now they get a stack frame. llvm-svn: 9765 | ||||
| * | Hopefully this will fix PR98 | Chris Lattner | 2003-11-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 9762 | ||||
| * | Hopefully fix the objdir != srcdir issue | Chris Lattner | 2003-11-07 | 1 | -6/+12 |
| | | | | | llvm-svn: 9761 | ||||
| * | Fix warnings building on sparc | Chris Lattner | 2003-11-06 | 1 | -2/+2 |
| | | | | | llvm-svn: 9758 | ||||
| * | Various cleanups and efficiency improvements | Chris Lattner | 2003-11-06 | 1 | -38/+24 |
| | | | | | llvm-svn: 9753 | ||||
| * | Fix bug: PR93 | Chris Lattner | 2003-11-06 | 1 | -0/+29 |
| | | | | | llvm-svn: 9752 | ||||
| * | * Make the comment header 80 columns long | Misha Brukman | 2003-11-06 | 1 | -3/+3 |
| | | | | | | | * Alphabetize #includes llvm-svn: 9751 | ||||
| * | Let's not forget about our friends -- Constant Pool indices. | Misha Brukman | 2003-11-06 | 1 | -0/+1 |
| | | | | | llvm-svn: 9750 | ||||
| * | Fix the problem with running cleanups in bugpoint: We were deleting arguments | Chris Lattner | 2003-11-05 | 1 | -1/+4 |
| | | | | | | | of intrinsic functions, causing the verifier to fail. llvm-svn: 9745 | ||||
| * | Split behavior into two pieces | Chris Lattner | 2003-11-05 | 1 | -13/+13 |
| | | | | | llvm-svn: 9741 | ||||
| * | Yet more fixes for constant expr shifts | Chris Lattner | 2003-11-05 | 1 | -0/+6 |
| | | | | | llvm-svn: 9739 | ||||
| * | Further fixes for PR93 | Chris Lattner | 2003-11-05 | 1 | -1/+7 |
| | | | | | llvm-svn: 9738 | ||||
| * | no need for endl | Chris Lattner | 2003-11-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 9736 | ||||
| * | Add support for constant expr shifts | Chris Lattner | 2003-11-05 | 2 | -0/+9 |
| | | | | | llvm-svn: 9735 | ||||
| * | If we're not checking, don't check! | Chris Lattner | 2003-11-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 9732 | ||||

