aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove what little AIX support we have. It has never been tested and isn'tChris Lattner2006-07-155-169/+2
| | | | | | | complete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29156 91177308-0d34-0410-b5e6-96231b3b80d8
* The generated index array should be const.Chris Lattner2006-07-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29155 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an out-of-line virtual function to home class.Chris Lattner2006-07-142-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29154 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an out-of-line virtual method for X86DwarfWriter to give it a home.Chris Lattner2006-07-142-19/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29153 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit the string information for the asm writer as a single large stringChris Lattner2006-07-141-36/+69
| | | | | | | | | | | | | | | | | | | | and index into it, instead of emitting it like this: static const char * const OpStrs[] = { "PHINODE\n", // PHI 0, // INLINEASM "adc ", // ADC32mi "adc ", // ADC32mi8 ... The old way required thousands of relocations that slows down link time and dynamic load times. This also cuts about 10K off each of the X86 asmprinters, and should shrink the others as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29152 91177308-0d34-0410-b5e6-96231b3b80d8
* Add two helpers for escaping and unescaping strings.Chris Lattner2006-07-141-0/+50
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29151 91177308-0d34-0410-b5e6-96231b3b80d8
* Add two helper functionsChris Lattner2006-07-141-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29150 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate some ugly code, using ConstantExpr::getWithOperands instead.Chris Lattner2006-07-142-86/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29149 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new helper, simplify ConstantExpr::getWithOperandReplaced at Gabor'sChris Lattner2006-07-141-22/+57
| | | | | | | request :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29148 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another helper method.Chris Lattner2006-07-141-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29147 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed an issue where the user specified gcc was not the gcc we report to the ↵Patrick Jenkins2006-07-141-2/+10
| | | | | | nightly test server. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29144 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new method for bugpoint to useChris Lattner2006-07-141-0/+51
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29143 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new method for bugpoint to use.Chris Lattner2006-07-141-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29142 91177308-0d34-0410-b5e6-96231b3b80d8
* Hopefully the final attempt at making IndVars preserve LCSSA.Owen Anderson2006-07-141-2/+30
| | | | | | | This should fix PR 831. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29141 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing PPC64 extload/truncstoresChris Lattner2006-07-142-9/+99
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29140 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a noteChris Lattner2006-07-141-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29139 91177308-0d34-0410-b5e6-96231b3b80d8
* Bring the Xcode project up to date.Jim Laskey2006-07-131-437/+130
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29138 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up.Jim Laskey2006-07-131-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29137 91177308-0d34-0410-b5e6-96231b3b80d8
* Another fix in the rotate encodings, needed when the first two operands are notChris Lattner2006-07-131-1/+1
| | | | | | | the same. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29136 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Simplfy bit operations.Jim Laskey2006-07-132-181/+116
| | | | | | | 2. Coalesce instruction cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29135 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert this patch temporarily until PR831 is fixed.Chris Lattner2006-07-131-31/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29134 91177308-0d34-0410-b5e6-96231b3b80d8
* Syntax error. I will run perl -c before commiting perl scripts.Patrick Jenkins2006-07-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29133 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed some small bugs exposed when trying to get a sparc machine to run the ↵Patrick Jenkins2006-07-131-6/+6
| | | | | | script. Specifically some misnamed variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29132 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed a bug handling void function types.Jim Laskey2006-07-132-12/+21
| | | | | | | Requires rebuild of llvm-gcc4 (touch llvm-debug.cpp.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29131 91177308-0d34-0410-b5e6-96231b3b80d8
* Print negative immediates as negative values instead of large constantsChris Lattner2006-07-121-1/+1
| | | | | | | when using the immshifted addressing mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29130 91177308-0d34-0410-b5e6-96231b3b80d8
* Turn an if into an else if.Chris Lattner2006-07-121-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29129 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix encoding of rotates, such as rldiclChris Lattner2006-07-121-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29128 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle instructions in the map, but that map to a null pointer.Chris Lattner2006-07-121-1/+2
| | | | | | | This unbreaks smg2000. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29127 91177308-0d34-0410-b5e6-96231b3b80d8
* IndVars now (correctly) preserves LCSSA form.Owen Anderson2006-07-121-15/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29126 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement PPC64 relocations typesChris Lattner2006-07-123-5/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29125 91177308-0d34-0410-b5e6-96231b3b80d8
* An overaggressive #ifdef allows a function to fall off the bottom of theChris Lattner2006-07-121-2/+1
| | | | | | | | function instead of returning a value. This sometimes allowed the ppc32 jit to be used in 64-bit mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29123 91177308-0d34-0410-b5e6-96231b3b80d8
* Move base value of instruction to lookup table to prepare for case reduction.Jim Laskey2006-07-121-17/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29122 91177308-0d34-0410-b5e6-96231b3b80d8
* In addition to deleting calls, the inliner can constant fold them as well.Chris Lattner2006-07-121-2/+4
| | | | | | | | Handle this case, which doesn't require a new callgraph edge. This fixes a crash compiling MallocBench/gs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29121 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the callgraph representation to store the callsite along with theChris Lattner2006-07-125-70/+98
| | | | | | | | | | | | target CG node. This allows the inliner to properly update the callgraph when using the pruning inliner. The pruning inliner may not copy over all call sites from a callee to a caller, so the edges corresponding to those call sites should not be copied over either. This fixes PR827 and Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29120 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR827Chris Lattner2006-07-121-0/+843
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29119 91177308-0d34-0410-b5e6-96231b3b80d8
* Add information preventing several register class constraints from working.Chris Lattner2006-07-121-1/+9
| | | | | | | This implements PR828 and CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29118 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR828.Chris Lattner2006-07-121-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29117 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test failure on non-Apple systems.Evan Cheng2006-07-121-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29116 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove non-portable optimization that isn't worth itChris Lattner2006-07-121-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29115 91177308-0d34-0410-b5e6-96231b3b80d8
* The PPC64 JIT needs register numbers to encode instructions.Chris Lattner2006-07-111-35/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29114 91177308-0d34-0410-b5e6-96231b3b80d8
* Revamp this doc to be accurate w.r.t. building llvmgcc4Chris Lattner2006-07-111-52/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29113 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR826, testcase here: Regression/Verifier/2006-07-11-StoreStruct.llChris Lattner2006-07-111-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29112 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR826Chris Lattner2006-07-111-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29111 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit inc / dec of registers as one byte instruction.Evan Cheng2006-07-111-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29110 91177308-0d34-0410-b5e6-96231b3b80d8
* Profile builds should always have debug info enabled.Chris Lattner2006-07-111-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29109 91177308-0d34-0410-b5e6-96231b3b80d8
* Silence a warning produced in assertions-disabled modeChris Lattner2006-07-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29108 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Devang Patel2006-07-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29107 91177308-0d34-0410-b5e6-96231b3b80d8
* It was pointed out that DEBUG() is only available with -debug.Jim Laskey2006-07-114-7/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29106 91177308-0d34-0410-b5e6-96231b3b80d8
* Ensure that dump calls that are associated with asserts are removed fromJim Laskey2006-07-117-12/+23
| | | | | | | non-debug build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29105 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Support for c++ mangled names.Jim Laskey2006-07-114-4/+34
| | | | | | | 2. Support for private/protected class members. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29104 91177308-0d34-0410-b5e6-96231b3b80d8