summaryrefslogtreecommitdiff
path: root/include/llvm
Commit message (Collapse)AuthorAge
* Add support for removing an option from a genericparserChris Lattner2002-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2998 91177308-0d34-0410-b5e6-96231b3b80d8
* Change to avoid bug in GCC 3.0.4Chris Lattner2002-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2997 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved to Reoptimizer/Mapping directoryMehwish Nagda2002-07-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2991 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin CommandLine 2.0Chris Lattner2002-07-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2982 91177308-0d34-0410-b5e6-96231b3b80d8
* changed first arg of parseBytecodeBuffer to unsigned charAnand Shukla2002-07-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2978 91177308-0d34-0410-b5e6-96231b3b80d8
* changed first arg og parseBytecodeBuffer to ucharAnand Shukla2002-07-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2977 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename removeDeadNodes to removeTriviallyDeadNodesChris Lattner2002-07-18
| | | | | | | Add new removeDeadNodes method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2968 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify saveOrigFunctionCallsChris Lattner2002-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2967 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for a top-down propagation pass.Vikram S. Adve2002-07-18
| | | | | | | | | | Each DSGraph now keeps a list of pending callers that have not been inlined into the function represented by that graph. It also keeps a copy of the original call nodes before the BU pass eliminates some of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2965 91177308-0d34-0410-b5e6-96231b3b80d8
* * s/method/functionChris Lattner2002-07-18
| | | | | | | | | * BIG CHANGE: The root of the call "graph" is considered to be the external node, not the "Root". This means that users using graph iterators like df_begin() will start from the external node. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2957 91177308-0d34-0410-b5e6-96231b3b80d8
* First cut at implementing bottom up analysisChris Lattner2002-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2944 91177308-0d34-0410-b5e6-96231b3b80d8
* Make getelementptr ConstExpr take a vector of constants not valuesChris Lattner2002-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2943 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix prototype to make function.Chris Lattner2002-07-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2939 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Mehwish Nagda2002-07-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2912 91177308-0d34-0410-b5e6-96231b3b80d8
* Ensure ConstExpr constants are unique.Vikram S. Adve2002-07-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2910 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a static version of Instruction::getOpcodeName(opCode) thatVikram S. Adve2002-07-14
| | | | | | | | can be invoked with only an opcode (i.e., without an instruction). Move all opCode->opCodeName translations there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2892 91177308-0d34-0410-b5e6-96231b3b80d8
* Added subclass ConstantExpr to represent expressions consructed fromVikram S. Adve2002-07-14
| | | | | | | | | | constants using operators such as cast, getelementptr, add, shl, etc. Note that a ConstantExpr can be of any type, so classof() in most other subclasses (that discriminate by type) have to check that it is also not a ConstantExpr. This is why isConstantExpr() is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2891 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a couple of virtual functions to support subclass ConstantExpr.Vikram S. Adve2002-07-14
| | | | | | | | | Note that a ConstantExpr can be of any type, so classof() in most other subclasses (that discriminate by type) have to check that it is also not a ConstantExpr. This is why isConstantExpr() is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2890 91177308-0d34-0410-b5e6-96231b3b80d8
* initial version: for emitfuncs passAnand Shukla2002-07-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2886 91177308-0d34-0410-b5e6-96231b3b80d8
* * Nodes now keep track of any global variables contained within themChris Lattner2002-07-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2877 91177308-0d34-0410-b5e6-96231b3b80d8
* added std:: to vectorAnand Shukla2002-07-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2874 91177308-0d34-0410-b5e6-96231b3b80d8
* New implementation of data structure analysisChris Lattner2002-07-10
| | | | | | | | This diff is completely meaningless because this is a replacement implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2872 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: cast (bool) has higher precedence than %... who knew!Vikram S. Adve2002-07-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2864 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for marking each operand as a %hh, %hm, %lm or %lo.Vikram S. Adve2002-07-10
| | | | | | | | Represent previous bools and these ones with flags in a single byte per operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2863 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a few more methods for creating instructions.Vikram S. Adve2002-07-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2862 91177308-0d34-0410-b5e6-96231b3b80d8
* Put caller-saving code *before* argument copying code!Vikram S. Adve2002-07-10
| | | | | | | (This file has a minor change required for this fix.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2854 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor change in comments.Vikram S. Adve2002-07-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2853 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow specifying a module for context instead of a slot calculator directlyChris Lattner2002-07-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2851 91177308-0d34-0410-b5e6-96231b3b80d8
* added std:: to hash_setAnand Shukla2002-07-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2846 91177308-0d34-0410-b5e6-96231b3b80d8
* Include header in the compiler-neutral locationChris Lattner2002-07-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2843 91177308-0d34-0410-b5e6-96231b3b80d8
* cpMem<->Reg functions now support CC registers (int and FP) correctly.Vikram S. Adve2002-07-08
| | | | | | | | | | | | | A scratch register has to be provided when needed to do the copy. Also, cpMem<->Reg functions now return a vector of machine instructions. Added several get{Class,Type} functions. Suggest/Color methods may modify the MachineInstr (and always did), so don't make that argument const! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2824 91177308-0d34-0410-b5e6-96231b3b80d8
* Interface to class MachineCodeForBasicBlock.Vikram S. Adve2002-07-08
| | | | | | | 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-08
| | | | | | | | | 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-08
| | | | 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-08
| | | | 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-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2814 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix commentChris Lattner2002-06-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2803 91177308-0d34-0410-b5e6-96231b3b80d8
* added include<iostream> for cerrAnand Shukla2002-06-25
| | | | 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-25
| | | | 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-25
| | | | 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-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2784 91177308-0d34-0410-b5e6-96231b3b80d8
* MEGAPATCH checkin.Chris Lattner2002-06-25
| | | | | | | 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-25
| | | | 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-03
| | | | 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-26
| | | | 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-23
| | | | | | | 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-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2730 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid #including CommandLine.hChris Lattner2002-05-22
| | | | 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-22
| | | | | | | | | 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-22
| | | | | | | | | | 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