aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bug 122:Reid Spencer2004-07-171-1/+0
| | | | | | | We don't need to keep track of CPRs any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14922 91177308-0d34-0410-b5e6-96231b3b80d8
* bug 122:Reid Spencer2004-07-171-0/+5
| | | | | | | | Now that GlobalVariable is a constant (via derivation from GlobalValue), override the replaceUsesOfWithOnConstant method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14921 91177308-0d34-0410-b5e6-96231b3b80d8
* bug 122:Reid Spencer2004-07-171-4/+18
| | | | | | | | - derive from Constant - declare needed overrides from Constant class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14920 91177308-0d34-0410-b5e6-96231b3b80d8
* ****** ABOLISH ConstantPointerRef *****Reid Spencer2004-07-171-38/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14919 91177308-0d34-0410-b5e6-96231b3b80d8
* Extend constructor so that it can support GlobalValue's (with names).Reid Spencer2004-07-171-9/+7
| | | | | | | | Make GlobalValue a "classof" Constant Fix the classof(Value*) to include GlobalValue's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14918 91177308-0d34-0410-b5e6-96231b3b80d8
* Constant value not needed after CPR's disappear.Reid Spencer2004-07-171-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14917 91177308-0d34-0410-b5e6-96231b3b80d8
* It looks like physref->virtreg joining is working fine. Enable it by defaultChris Lattner2004-07-171-10/+19
| | | | | | | but make virtreg->virtreg joining stay off by default git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14916 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to emit the immediate byte for instructions like:Chris Lattner2004-07-171-0/+2
| | | | | | | | | shrd [mem], reg, imm This fixes the jit-ls failure on 186.crafty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14914 91177308-0d34-0410-b5e6-96231b3b80d8
* Reserve the correct amt of space.Chris Lattner2004-07-171-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14913 91177308-0d34-0410-b5e6-96231b3b80d8
* Hrm, I think we need a "Reid is buggy" bug ;-)Chris Lattner2004-07-171-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14912 91177308-0d34-0410-b5e6-96231b3b80d8
* We don't really need to #include IPO.h into this file.Misha Brukman2004-07-171-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14911 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial (outline only) draft of the System Library requirements, designReid Spencer2004-07-171-0/+201
| | | | | | | and details documentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14910 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a README to point users to the documentation on the design of thisReid Spencer2004-07-171-0/+14
| | | | | | | library which is a prerequisite for maintaining the library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14909 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix incorrect computation of mod/ref sets. Do not ask for mod/ref informationChris Lattner2004-07-171-21/+29
| | | | | | | for objects of size 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14908 91177308-0d34-0410-b5e6-96231b3b80d8
* Print modref information in a useful way.Chris Lattner2004-07-171-4/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14907 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanups: fold two loops into oneChris Lattner2004-07-171-3/+9
| | | | | | | New features: -print-all-alias-modref-info option, print more info git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14906 91177308-0d34-0410-b5e6-96231b3b80d8
* link.h causes problems on some platforms and is not needed on solaris, whereChris Lattner2004-07-172-18/+0
| | | | | | | the comment came from. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14905 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead fileChris Lattner2004-07-171-23/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14904 91177308-0d34-0410-b5e6-96231b3b80d8
* Add note about IA64 C++Chris Lattner2004-07-171-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14903 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix warning on 64-bit machinesBrian Gaeke2004-07-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14902 91177308-0d34-0410-b5e6-96231b3b80d8
* * Use LI(S) to copy constants into registers intead of ADDI(S) as the latter isMisha Brukman2004-07-162-154/+308
| | | | | | | | | | | | | a funky way to "use" R0 for a 0-valued operand * Add IMPLICIT_DEFs for incoming function arguments via registers to help the register allocator not clobber those registers * Implement comparisons with longs * Teach emitSelectOperation() to fold the SetCC operation Patch contributed by Nate Begeman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14901 91177308-0d34-0410-b5e6-96231b3b80d8
* * Store all non-volatile int registers R13-31 on the stack, restore on exitMisha Brukman2004-07-161-9/+11
| | | | | | | * Fix comment formatting git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14900 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix code formattingMisha Brukman2004-07-161-21/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14899 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement PowerPCInstrInfo::isMoveInstr(), patch by Nate BegemanMisha Brukman2004-07-161-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14898 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for TargetInstrInfo::isMoveInstr()Misha Brukman2004-07-161-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14897 91177308-0d34-0410-b5e6-96231b3b80d8
* * Enable allocation of registers r2-r10Misha Brukman2004-07-161-4/+7
| | | | | | | * Allocate registers 13-31 backwards (to be able to store them all at once) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14896 91177308-0d34-0410-b5e6-96231b3b80d8
* Add IMPLICIT_DEFS pseudo-instruction; patch by: Nate BegemanMisha Brukman2004-07-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14895 91177308-0d34-0410-b5e6-96231b3b80d8
* The generated instruction selector isn't (yet) functionalMisha Brukman2004-07-161-7/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14894 91177308-0d34-0410-b5e6-96231b3b80d8
* * Output non-lazy linking stubs for external global variablesMisha Brukman2004-07-163-138/+87
| | | | | | | | * Get rid of dead and #if 0'd code * Minor for loop speed-up: save end iterator instead of querying every time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14893 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly build shared objects on MacOS X for debugging code generatorsMisha Brukman2004-07-162-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14892 91177308-0d34-0410-b5e6-96231b3b80d8
* Define double alignment as 8 bytes now that assert(DoubleAlignment == ↵Misha Brukman2004-07-161-5/+3
| | | | | | | | | PointerSize) has been eliminated git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14891 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add spaces between words and numbers in comments printed out for longs/floatsMisha Brukman2004-07-163-6/+24
| | | | | | | * Print out IMPLICIT_DEFS as comments in the assembly, patch by Nate Begeman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14890 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammar.Misha Brukman2004-07-161-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14888 91177308-0d34-0410-b5e6-96231b3b80d8
* Add convinience constructor for function calls with two args.Alkis Evlogimenos2004-07-162-1/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14885 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a class for pseudo-instructions. Use it.Brian Gaeke2004-07-162-16/+14
| | | | | | | Add IMPLICIT_USE and IMPLICIT_DEF, a la X86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14884 91177308-0d34-0410-b5e6-96231b3b80d8
* Add what will eventually be the TSFlags. Big switch(opcode) statements are bad.Brian Gaeke2004-07-162-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14883 91177308-0d34-0410-b5e6-96231b3b80d8
* Add special handling for pseudo-instructions (print them as comments).Brian Gaeke2004-07-162-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14882 91177308-0d34-0410-b5e6-96231b3b80d8
* Add to-do list.Brian Gaeke2004-07-162-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14881 91177308-0d34-0410-b5e6-96231b3b80d8
* Do IMPLICIT_DEFs on incoming args' hard regs, to avoid confusing the regalloc.Brian Gaeke2004-07-164-40/+244
| | | | | | | | | Support single-fp incoming args. Support single-fp outgoing args ('call' operands). Support double-fp return values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14880 91177308-0d34-0410-b5e6-96231b3b80d8
* The powerpc is now gone. However it is now just known as the Skeleton target.Chris Lattner2004-07-165-277/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14877 91177308-0d34-0410-b5e6-96231b3b80d8
* Build skeleton targetChris Lattner2004-07-161-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14876 91177308-0d34-0410-b5e6-96231b3b80d8
* Build the skeleton targetChris Lattner2004-07-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14875 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of the rest of the skeleton targetChris Lattner2004-07-1612-4/+440
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14874 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial skeleton tablegen filesChris Lattner2004-07-163-0/+165
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14873 91177308-0d34-0410-b5e6-96231b3b80d8
* Add skeleton makefileChris Lattner2004-07-161-0/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14872 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial readmeChris Lattner2004-07-161-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14871 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the regressions handling unnamed global variablesChris Lattner2004-07-161-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14870 91177308-0d34-0410-b5e6-96231b3b80d8
* For 64-bit platform support, we now use the clEnumValEnd macro to terminateChris Lattner2004-07-161-6/+8
| | | | | | | cl::values lists git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14869 91177308-0d34-0410-b5e6-96231b3b80d8
* IA64 compatChris Lattner2004-07-166-6/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14867 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix IA64 compatibilityChris Lattner2004-07-162-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14866 91177308-0d34-0410-b5e6-96231b3b80d8