aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Interface to class MachineCodeForBasicBlock.Vikram S. Adve2002-07-082-0/+148
| | | | | | | Moved here from MachineInstr.h to make it an annotation on BasicBlock. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2823 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved class MachineCodeForBasicBlock to MachineCodeForBasicBlock.{cpp,h}.Vikram S. Adve2002-07-081-97/+83
| | | | | | | | | An (explicit or implicit) operand may now be both a def and a use. Also add a set of regs used by each instruction. dump() no longer takes an optional argument, which doesn't work in gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2821 91177308-0d34-0410-b5e6-96231b3b80d8
* Added two more helper functions for instruction creation.Vikram S. Adve2002-07-081-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2819 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved MachineCodeForBB to be an annotation on BasicBlock.Vikram S. Adve2002-07-081-7/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2818 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new << to allow printing modules by reference.Anand Shukla2002-07-031-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2814 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix commentChris Lattner2002-06-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2803 91177308-0d34-0410-b5e6-96231b3b80d8
* added include<iostream> for cerrAnand Shukla2002-06-251-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2800 91177308-0d34-0410-b5e6-96231b3b80d8
* We must with with GCC 2.95 :(Chris Lattner2002-06-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2787 91177308-0d34-0410-b5e6-96231b3b80d8
* changes to make it compatible with 64bit gccAnand Shukla2002-06-259-12/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2786 91177308-0d34-0410-b5e6-96231b3b80d8
* Added setSuccessor() method to terminator instructionsAnand Shukla2002-06-252-1/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2784 91177308-0d34-0410-b5e6-96231b3b80d8
* MEGAPATCH checkin.Chris Lattner2002-06-2518-116/+828
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-06-2523-276/+310
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2777 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow const bb's to be checked for containment in a loopChris Lattner2002-06-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2754 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the interface to local dce and constpropChris Lattner2002-05-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2750 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert RegClass::IsColorUsedArr from a dynamically allocated array toChris Lattner2002-05-232-11/+11
| | | | | | | a vector. This makes asserting on array bounds easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2731 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new setSuccessor method to terminator instructionsChris Lattner2002-05-232-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2730 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid #including CommandLine.hChris Lattner2002-05-223-28/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2710 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a new command line option, -debug, which is meant to unify all ofChris Lattner2002-05-221-0/+21
| | | | | | | | | the random debugging macros scattered throughout llvm. The new DEBUG(x) macro should be used instead of special purpose debug macros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2709 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to update existing variables with values read from the command lineChris Lattner2002-05-221-9/+48
| | | | | | | | | | to certain classes. This is nice because it means that in header files we can just declare a value, and still have that value be set based on a command-line argument. The difference is now that the #include of CommandLine.h does not need to go into the header file as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2708 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify interface to ConstantFoldTerminatorChris Lattner2002-05-211-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2697 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose CFG simplification passChris Lattner2002-05-211-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2696 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanups, rename IsPowerOf2 to isPowerOf2Chris Lattner2002-05-191-27/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2662 91177308-0d34-0410-b5e6-96231b3b80d8
* Added log2 for log-base-2 and also modified IsPower2 to use it.Vikram S. Adve2002-05-191-9/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2653 91177308-0d34-0410-b5e6-96231b3b80d8
* Added parameter IntRegSize for standard general-purpose register size.Vikram S. Adve2002-05-191-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2652 91177308-0d34-0410-b5e6-96231b3b80d8
* New function CreateSignExtensionInstructions.Vikram S. Adve2002-05-192-56/+98
| | | | | | | | | Methods now take MachineCodeForInstruction& as an argument and record temporary values in it directly, instead of return the temps. Really simplifies callers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2651 91177308-0d34-0410-b5e6-96231b3b80d8
* Many functions that returned a single MachineInstr now take aVikram S. Adve2002-05-191-18/+20
| | | | | | | vector of MachineInstr* to return multiple ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2650 91177308-0d34-0410-b5e6-96231b3b80d8
* Better interface to generating machine instr for common casesVikram S. Adve2002-05-191-0/+127
| | | | | | | (many places still need to be updated to use this interface). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2648 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineInstr now inherits from Annotable.Vikram S. Adve2002-05-191-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2647 91177308-0d34-0410-b5e6-96231b3b80d8
* Annotation class for MachineInstr.Vikram S. Adve2002-05-191-0/+96
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2643 91177308-0d34-0410-b5e6-96231b3b80d8
* Add integer register size field.Vikram S. Adve2002-05-191-6/+11
| | | | | | | | Make all sizes and offsets uint64_t instead of uint. Fixed GetIndexedOffset to handle mixed array and struct indices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2641 91177308-0d34-0410-b5e6-96231b3b80d8
* Invoke inst has side effects!Chris Lattner2002-05-141-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2619 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method to check to see if two _Instructions_ dominate each otherChris Lattner2002-05-131-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2616 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for LICM passChris Lattner2002-05-101-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2612 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to call the derived visit versions from the ranged iterator.Chris Lattner2002-05-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2607 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit abort so optimized build knows that the function does not returnChris Lattner2002-05-101-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2605 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an explicit abort so that the optimized build knows the function doesChris Lattner2002-05-101-0/+1
| | | | | | | not return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2604 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of Statistic classChris Lattner2002-05-101-0/+69
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2599 91177308-0d34-0410-b5e6-96231b3b80d8
* remove deprecated getInstType() methodChris Lattner2002-05-102-5/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2595 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for the PiNodeInserter passChris Lattner2002-05-101-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2592 91177308-0d34-0410-b5e6-96231b3b80d8
* Add expr reassociation pass prototypeChris Lattner2002-05-081-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2558 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Sumant Kowshik2002-05-081-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2552 91177308-0d34-0410-b5e6-96231b3b80d8
* Spell aggressive rightChris Lattner2002-05-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2549 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix misspellingChris Lattner2002-05-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2548 91177308-0d34-0410-b5e6-96231b3b80d8
* These files are supersumed by include/llvm/Transforms/Scalar.hChris Lattner2002-05-078-172/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2534 91177308-0d34-0410-b5e6-96231b3b80d8
* New header file to replace all of the Scalar/*.h files.Chris Lattner2002-05-071-0/+120
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2533 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin headers for Utils libraryChris Lattner2002-05-072-0/+109
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2528 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup implementation a bit + commentsChris Lattner2002-05-071-19/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2527 91177308-0d34-0410-b5e6-96231b3b80d8
* Update header after moving fileChris Lattner2002-05-073-12/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2522 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove long dead fileChris Lattner2002-05-071-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2521 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor code out to the Transform Utils libraryChris Lattner2002-05-072-42/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2519 91177308-0d34-0410-b5e6-96231b3b80d8