Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Fix flawed logic that was breaking several SPEC benchmarks, including gzip ↵ | Chris Lattner | 2003-11-05 | 1 | -3/+3 | |
| | | | | | | and crafty. llvm-svn: 9731 | |||||
* | We know exactly what the value of $< is, so instead of using `basename $<` to | Misha Brukman | 2003-11-05 | 1 | -8/+7 | |
| | | | | | | get just the filename and not the full path, just use the filename directly. llvm-svn: 9730 | |||||
* | Do not use a class before it is defined. | Chris Lattner | 2003-11-05 | 1 | -6/+9 | |
| | | | | | | Be gcc 3.4 clean llvm-svn: 9727 | |||||
* | Be friendly to gcc 3.4... good compiler. Nice compiler. | Chris Lattner | 2003-11-05 | 3 | -3/+1 | |
| | | | | llvm-svn: 9726 | |||||
* | Be gcc 3.4 clean | Chris Lattner | 2003-11-05 | 1 | -1/+3 | |
| | | | | llvm-svn: 9725 | |||||
* | Fix name collision | Chris Lattner | 2003-11-05 | 1 | -2/+2 | |
| | | | | llvm-svn: 9722 | |||||
* | Make code gcc 3.4 clean | Chris Lattner | 2003-11-05 | 4 | -6/+6 | |
| | | | | llvm-svn: 9719 | |||||
* | Abort when the user program calls abort, instead of printing a funny message ↵ | Brian Gaeke | 2003-11-05 | 1 | -4/+2 | |
| | | | | | | and calling exit(1). llvm-svn: 9716 | |||||
* | Fix bug with previous implementation: | Chris Lattner | 2003-11-05 | 1 | -4/+11 | |
| | | | | | | | | - // ~(c-X) == X-(c-1) == X+(-c+1) + // ~(c-X) == X-c-1 == X+(-c-1) Implement: C - ~X == X + (1+C) llvm-svn: 9715 | |||||
* | Use regular old malloc to emulate malloc/alloca instructions. | Brian Gaeke | 2003-11-05 | 1 | -2/+1 | |
| | | | | llvm-svn: 9713 | |||||
* | Remove a comment which no longer applies. | Brian Gaeke | 2003-11-05 | 1 | -5/+0 | |
| | | | | llvm-svn: 9712 | |||||
* | Minor cleanup, plus implement InstCombine/xor.ll:test17 | Chris Lattner | 2003-11-04 | 1 | -3/+17 | |
| | | | | llvm-svn: 9711 | |||||
* | Implement InstCombine/xor.ll:test(15|16) | Chris Lattner | 2003-11-04 | 1 | -1/+8 | |
| | | | | llvm-svn: 9708 | |||||
* | Change all machine basic block modifier functions in MRegisterInfo to | Alkis Evlogimenos | 2003-11-04 | 2 | -41/+54 | |
| | | | | | | | | | | | | | | | return the number of instructions added to/removed from the basic block passed as their first argument. Note: This is only needed because we use a std::vector instead of an ilist to keep MachineBasicBlock instructions. Inserting an instruction to a MachineBasicBlock invalidates all iterators to the basic block. The return value can be used to update an index to the machine basic block instruction vector and circumvent the iterator elimination problem but this is really not needed if we move to a better representation. llvm-svn: 9704 | |||||
* | Update verifySavedState()'s comment, so that it reflects its current | Brian Gaeke | 2003-11-04 | 1 | -1/+3 | |
| | | | | | | | status. In doFinalization(), skip over external functions, just like Anand's mapping info does. llvm-svn: 9703 | |||||
* | Add comments. | Brian Gaeke | 2003-11-04 | 1 | -0/+4 | |
| | | | | llvm-svn: 9697 | |||||
* | Fix problems in previous changes. This fixes several regressions last night. | Chris Lattner | 2003-11-04 | 1 | -5/+6 | |
| | | | | llvm-svn: 9694 | |||||
* | Checking in Chris's suggestions: | John Criswell | 2003-11-04 | 1 | -3/+32 | |
| | | | | | | | | | | Added assert() to ensure symbol table is well formed. Added code to remember the value that was found; resolving types can change the symbol table and invalidate the value of the iterator. Added comments to the ResolveTypes() function (mainly for my own benefit). Please feel free to correct the comments if they are not accurate. llvm-svn: 9693 |