aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove warning that is no longer applicableChris Lattner2002-09-161-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3771 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment line of the makefileChris Lattner2002-09-162-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3770 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle whitespace in LIBRARYNAME gracefullyChris Lattner2002-09-162-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3769 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix FunctionInlining pass assertion failure:Chris Lattner2002-09-161-1/+1
| | | | | | | ilist:104: failed assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing end()!"' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3768 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typeoChris Lattner2002-09-161-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3767 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compile problem on linux. Noone should ever #include <inttypes.h>Chris Lattner2002-09-161-1/+1
| | | | | | | directly. Instead, include Support/DataTypes.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3766 91177308-0d34-0410-b5e6-96231b3b80d8
* Run the cee pass testsChris Lattner2002-09-161-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3765 91177308-0d34-0410-b5e6-96231b3b80d8
* Checking testcases for cee passChris Lattner2002-09-163-0/+186
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3764 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix: test/Regression/LLC/badidx.c problemChris Lattner2002-09-163-22/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3763 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplicate sparc entry.Vikram S. Adve2002-09-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3762 91177308-0d34-0410-b5e6-96231b3b80d8
* Use .o files instead of .a files for several cases (that don't actuallyVikram S. Adve2002-09-161-2/+2
| | | | | | | need them) until other Makefiles can be updated to build archives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3761 91177308-0d34-0410-b5e6-96231b3b80d8
* Print information about files that were removedChris Lattner2002-09-161-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3760 91177308-0d34-0410-b5e6-96231b3b80d8
* New preselection pass that specializes LLVM code for a target machine,Vikram S. Adve2002-09-161-0/+16
| | | | | | | | while remaining in legal portable LLVM form and preserving type information and type safety. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3759 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved these files to the utils directory.Nick Hildenbrandt2002-09-163-83/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3758 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ilist_iterator constructor from a node reference.Vikram S. Adve2002-09-162-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3756 91177308-0d34-0410-b5e6-96231b3b80d8
* Extract most of the transformation into an externally accessibleVikram S. Adve2002-09-161-27/+31
| | | | | | | | function -- DecomposeArrayRef(GetElementPtrInst* GEP) -- that can be invoked on a single instruction at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3755 91177308-0d34-0410-b5e6-96231b3b80d8
* Change several entries to use the .o instead of .a to expose pass options.Vikram S. Adve2002-09-161-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3754 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all registered optimization passes available to llc.Vikram S. Adve2002-09-161-90/+151
| | | | | | | | | Eliminate duplicate tracing options and use those defined by the trace passes. Making the tracing step a module pass that runs before any llc-specific passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3753 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for optimization passes that use a TargetMachine object.Vikram S. Adve2002-09-162-7/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3752 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow transformation DecomposeArrayRef(GetElementPtrInst* GEP) toVikram S. Adve2002-09-161-1/+8
| | | | | | | be invoked on a single instruction at a time, for use in other passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3751 91177308-0d34-0410-b5e6-96231b3b80d8
* Add routines to update or erase operands (and to do so without externalVikram S. Adve2002-09-163-1/+16
| | | | | | | assumptions about which operand number stores what operand). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3750 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Vikram S. Adve2002-09-161-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3749 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for passes that use a TargetMachine object.Vikram S. Adve2002-09-161-13/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3748 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method MachineOperand::hasAllocatedReg().Vikram S. Adve2002-09-161-3/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3747 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a version of ChooseRegOrImmed to handle numerical constantsVikram S. Adve2002-09-161-0/+8
| | | | | | | introduced by InstrSelection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3746 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method adjustAlignment so that stack slot alignments can be computedVikram S. Adve2002-09-161-3/+9
| | | | | | | in a target-dependent manner (because of the dang OFFSET in Sparc v9). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3745 91177308-0d34-0410-b5e6-96231b3b80d8
* Use ulong instead of uint for size expressions.Vikram S. Adve2002-09-161-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3744 91177308-0d34-0410-b5e6-96231b3b80d8
* Add methods to query about the representation of LLVM quantities (e.g.,Vikram S. Adve2002-09-163-0/+125
| | | | | | | | constants). Useful for target-dependent LLVM transformations like Preselection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3743 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't print out global names unnecesssarily. Also, expose passVikram S. Adve2002-09-161-3/+4
| | | | | | | constructors so passes can be inserted by TargetMachine.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3742 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Vikram S. Adve2002-09-161-4/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3741 91177308-0d34-0410-b5e6-96231b3b80d8
* Move all the code that creates code generation passes from Sparc.cpp toVikram S. Adve2002-09-164-106/+201
| | | | | | | | | TargetMachine.cpp, since it is entirely machine-independent. Also, add options to disable optional back-end passes (preselection and instr. scheduling). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3740 91177308-0d34-0410-b5e6-96231b3b80d8
* Add subdirectory PreSelection.Vikram S. Adve2002-09-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3739 91177308-0d34-0410-b5e6-96231b3b80d8
* New preselection pass that specializes LLVM code for a target machine,Vikram S. Adve2002-09-162-0/+296
| | | | | | | | while remaining in legal portable LLVM form and preserving type information and type safety. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3738 91177308-0d34-0410-b5e6-96231b3b80d8
* Dump routine now writes out allocated register numbers if available.Vikram S. Adve2002-09-161-4/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3737 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve and fix error in allocating stack slots: adjust alignment after addingVikram S. Adve2002-09-161-73/+43
| | | | | | | | base address of the relevant region (instead of assuming that each region is maximally aligned). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3736 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a version of ChooseRegOrImmed to handle numerical constantsVikram S. Adve2002-09-162-166/+236
| | | | | | | introduced by InstrSelection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3735 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an assertion.Vikram S. Adve2002-09-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3734 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporated changes in alloca and getElementPointer instructionAnand Shukla2002-09-165-233/+255
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3733 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporated changes in alloca instructionAnand Shukla2002-09-161-32/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3732 91177308-0d34-0410-b5e6-96231b3b80d8
* No longer need to sign-extend array indices to 64 bits since theyVikram S. Adve2002-09-152-12/+4
| | | | | | | are now longs and not unsigned ints. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3731 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify significantly (and fix syntax error).Vikram S. Adve2002-09-152-22/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3730 91177308-0d34-0410-b5e6-96231b3b80d8
* Use much better method to find the llvmbase directory.Vikram S. Adve2002-09-152-2/+16
| | | | | | | Also, add -h option to print usage information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3729 91177308-0d34-0410-b5e6-96231b3b80d8
* Check error condition after cvs returns. Also remove -c option.Vikram S. Adve2002-09-152-2/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3728 91177308-0d34-0410-b5e6-96231b3b80d8
* Shell-script to build current directory and then link one tool (default: opt)Vikram S. Adve2002-09-152-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3727 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typos in previous checkin.Vikram S. Adve2002-09-152-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3726 91177308-0d34-0410-b5e6-96231b3b80d8
* RegAllocCommon no longer includes CommandLine.h so we have to include itChris Lattner2002-09-152-0/+2
| | | | | | | here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3725 91177308-0d34-0410-b5e6-96231b3b80d8
* Break RA_DEBUG option into several levels to get better control overVikram S. Adve2002-09-1412-208/+234
| | | | | | | debug output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3724 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unnecessary include.Vikram S. Adve2002-09-143-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3723 91177308-0d34-0410-b5e6-96231b3b80d8
* Break RA_DEBUG option into several levels to get better output.Vikram S. Adve2002-09-143-0/+69
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3722 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed problem with printing struct definitions in the correct order.Nick Hildenbrandt2002-09-142-30/+100
| | | | | | | This allows for the Regression/Transforms/ScalarReplacement/scalarize.c to run correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3721 91177308-0d34-0410-b5e6-96231b3b80d8