summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* The prototype for ParseCommandLineOptions changed at some point, but thisChris Lattner2004-06-032-2/+2
| | | | | | | was never updated. I guess GCC just ignores the prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13995 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust argument to match destination data typeChris Lattner2004-06-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13993 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use identifiers that start with an _Chris Lattner2004-06-031-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13992 91177308-0d34-0410-b5e6-96231b3b80d8
* Only use the non-standards-compliant std::distance on the compiler that isChris Lattner2004-06-032-8/+10
| | | | | | | buggy, not for all compilers that are not GCC 3 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13990 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix case of doxygen directive \p.Misha Brukman2004-06-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13985 91177308-0d34-0410-b5e6-96231b3b80d8
* Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, itsBrian Gaeke2004-06-031-2/+2
| | | | | | | only concrete implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13977 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete the V9 specific findOptimalStorageSize method, inlining it into all ↵Chris Lattner2004-06-021-12/+6
| | | | | | | | | | | callers. Substantially clean up all target implementations by having the OPTIONAL get*Info methods return a pointer instead of a reference. This allows us to have default implementations! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13950 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new CopyFile functionChris Lattner2004-06-022-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13944 91177308-0d34-0410-b5e6-96231b3b80d8
* On win32, process.h provides some of the traditional stuff that unistdChris Lattner2004-06-012-0/+8
| | | | | | | provides. This seems like a relatively clean way to get it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13936 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull Interval class out of LiveIntervals.Alkis Evlogimenos2004-05-301-50/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13910 91177308-0d34-0410-b5e6-96231b3b80d8
* Add comparator useful for natural comparisons on collections withAlkis Evlogimenos2004-05-302-0/+12
| | | | | | | pointers to objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13909 91177308-0d34-0410-b5e6-96231b3b80d8
* When spilling an register, introduce a new temporary for each of itsAlkis Evlogimenos2004-05-301-4/+6
| | | | | | | | spills. This allows for more flexibility when allocating registers for spill code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13907 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove defs vector from live intervals.Alkis Evlogimenos2004-05-291-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13892 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bizzare problems when you include Config/dlfcn and Config/windows.h inChris Lattner2004-05-282-4/+4
| | | | | | | the same xlation unit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13885 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate this form of SymbolTable::remove. It ignores the type argumentChris Lattner2004-05-281-4/+3
| | | | | | | anyway. Add a form that takes a type_iterator for the C backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13873 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new function for the JITChris Lattner2004-05-282-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13869 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a pair of functions to hide system specific details of mapping a file in ↵Chris Lattner2004-05-282-2/+22
| | | | | | for reading. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13863 91177308-0d34-0410-b5e6-96231b3b80d8
* An "autoconf wrapper" for the infamous windows.h fileChris Lattner2004-05-272-0/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13849 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a check for a new header file.John Criswell2004-05-272-0/+6
| | | | | | | | My apologies for changing config.h.in. Now you will all have to re-configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13846 91177308-0d34-0410-b5e6-96231b3b80d8
* Beta-test moving a header from include/Support into the llvm hierarchy:Chris Lattner2004-05-271-32/+0
| | | | | | | it seems to work :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13814 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved header from include/Support/ to include/llvm/SystemChris Lattner2004-05-271-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13810 91177308-0d34-0410-b5e6-96231b3b80d8
* Add constructors that take a BasicBlock to append to, to the rest ofAlkis Evlogimenos2004-05-275-28/+129
| | | | | | | the llvm::Instruction hierarchy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13800 91177308-0d34-0410-b5e6-96231b3b80d8
* Inline trivial constructors.Alkis Evlogimenos2004-05-261-8/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13797 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide the correct patch for bug 345. The solution is to add a setTypeNameReid Spencer2004-05-261-4/+5
| | | | | | | | | function to llvmAsmParser.y and then use it in the one place in the grammar that needs it. Also had to make Type::setName public because setTypeName needs it in order to retain compatibility with setValueName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13795 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten up checking on SymbolTable interface to make it illegal to pass aReid Spencer2004-05-261-2/+4
| | | | | | | Type* where a Value* is expected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13794 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor common initialization code in private init() functions.Alkis Evlogimenos2004-05-264-10/+37
| | | | | | | | This is a first step in supplying append to basic block constructors for all instruction types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13793 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelling of doxygen directive.Misha Brukman2004-05-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13791 91177308-0d34-0410-b5e6-96231b3b80d8
* Part of bug 122:Reid Spencer2004-05-262-10/+7
| | | | | | | | | | | This change removes the BuildBytecodeInfo flag from the SlotCalculator class. This flag was needed to distinguish between the Bytecode/Writer and the AsmWriter. Now that AsmWriter doesn't use SlotCalculator, we can remove this flag and simplify some code. Also, some minor name changes to CachedWriter.h needed to be committed (missed in previous commit). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13785 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the constructor explicit so we can't implicitly convert bool toReid Spencer2004-05-251-1/+1
| | | | | | | SlotTable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13766 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding the initial implementation of the SlotTable class. This class isReid Spencer2004-05-251-0/+194
| | | | | | | | | | | | | | the Abstract Data Type that holds slot number values and associates them with Type* and Value*. The SlotTable is simply the holder of the slot numbers and provides a controlled interface for building the table. It does not enforce any particular idiom or functionality for manipulating the slot numbers. This is part of bug_122. The SlotCalculator and SlotMachine classes will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13764 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed unused, useless header file.Reid Spencer2004-05-251-53/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13757 91177308-0d34-0410-b5e6-96231b3b80d8
* Give Type its own dump() method in preparation for Type != Value.Reid Spencer2004-05-251-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13746 91177308-0d34-0410-b5e6-96231b3b80d8
* Completely rewrote the class. SymbolTable now separates Type* from Value* in ↵Reid Spencer2004-05-251-82/+335
| | | | | | | | | | | | | preparation\ for making Type not derive from Value. There are now separate interfaces \ for looking up, finding, and inserting Types and Values. There are also \ three separate iterator interfaces, one for type planes, one for the types \ (type type plane), and one for values within a type plane. See the \ documentation in the Header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13745 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert dump() method to call Type::dump() instead of Value::dump().Reid Spencer2004-05-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13744 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some helpersChris Lattner2004-05-251-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13737 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner2004-05-242-5/+6
| | | | | | LeakDetector to fix memory leak bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13718 91177308-0d34-0410-b5e6-96231b3b80d8
* Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner2004-05-242-3/+37
| | | | | | | to set the parent when a MachineBasicBlock is added to a MachineFunction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13716 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed clone to be const.Tanya Lattner2004-05-241-1/+1
| | | | | | | Changed copy constructor to set parent, prev, and next pointers to null. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13706 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the new GC intrinsicsChris Lattner2004-05-231-12/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13686 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new prototypeChris Lattner2004-05-231-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13685 91177308-0d34-0410-b5e6-96231b3b80d8
* Several *major* changes to the AA interfaces:Chris Lattner2004-05-231-11/+43
| | | | | | | | | | | 1. Provide interfaces so that clients can update alias analyses to reflect the changes made by the transformations. 2. Change how alias analysis implementations work overall. In particular, now clients will automatically forward to chained AA implementations: they don't have to remember to do it themselves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13678 91177308-0d34-0410-b5e6-96231b3b80d8
* Add interfaces to update value numbering resultsChris Lattner2004-05-231-5/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13677 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename a methodChris Lattner2004-05-231-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13676 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed up my changes to add support for cloning Machine Instructions.Tanya Lattner2004-05-231-7/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13665 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove virtual destructor from InstVisitor. This class should never beAlkis Evlogimenos2004-05-231-2/+0
| | | | | | | | | used through a base pointer/reference so inproper destruction should never be an issue. Removing this last virtual function also saves 4 bytes off each InstVisitor instance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13664 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding support to clone MachineInstrTanya Lattner2004-05-231-1/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13661 91177308-0d34-0410-b5e6-96231b3b80d8
* Remember the set of leaders. Also compute on demand and cache the equivVikram S. Adve2004-05-232-64/+104
| | | | | | | | class for each leader. Finally, rename Elem2ECLeaderMap to Elem2LeaderMap (most of the changed lines are only due to the latter). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13651 91177308-0d34-0410-b5e6-96231b3b80d8
* Add getCaller() method.Vikram S. Adve2004-05-231-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13650 91177308-0d34-0410-b5e6-96231b3b80d8
* Complete rewrite of the code that merges DS graphs for equivalence classesVikram S. Adve2004-05-231-0/+176
| | | | | | | | | | of functions called at a common call site. The rewrite inlines the resulting graphs bottom-up on the SCCs of the CBU call graph. It also simplifies the merging of equivalence classes by exploiting the fact that functions in non-trivial SCCs are already merged. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13645 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix size/offset assertion to allow negative offsets and folded nodes.Vikram S. Adve2004-05-232-2/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13644 91177308-0d34-0410-b5e6-96231b3b80d8