aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in reid's checkinChris Lattner2004-05-261-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13787 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a section on the SymbolTable class.Reid Spencer2004-05-261-19/+247
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13786 91177308-0d34-0410-b5e6-96231b3b80d8
* Part of bug 122:Reid Spencer2004-05-266-143/+108
| | | | | | | | | | | 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
* Part of bug 122. Removed dependency of AsmWriter on SlotCalculator byReid Spencer2004-05-261-52/+426
| | | | | | | | | | incorporating a significantly simpler "SlotMachine" into this file. The SlotMachine is tailored for use by only the AsmWriter whose requirements for slot numbers are vastly different than from the Bytecode/Writer. Code change passes all Feature and Regression tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13784 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding scheduling class.Tanya Lattner2004-05-264-0/+492
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13783 91177308-0d34-0410-b5e6-96231b3b80d8
* Updating my cvs versions. THis is still in progress and much will be changed.Tanya Lattner2004-05-268-314/+598
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13782 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a (not very meaningful) default constructor for AllocInfo objects.Brian Gaeke2004-05-251-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13773 91177308-0d34-0410-b5e6-96231b3b80d8
* Put SlotTable.h inclusion back at front of list to be coding standardsReid Spencer2004-05-252-2/+2
| | | | | | | compliant. Thanks, Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13771 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the install-includes target to completely ignore the llvm/InternalReid Spencer2004-05-251-2/+2
| | | | | | | | directory. Headers located there are not public to LLVM but are shared between LLVM modules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13769 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the constructor explicit so we can't implicitly convert bool toReid Spencer2004-05-252-2/+2
| | | | | | | SlotTable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13766 91177308-0d34-0410-b5e6-96231b3b80d8
* Make some improvements suggested by Chris.Reid Spencer2004-05-252-16/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13765 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding the initial implementation of the SlotTable class. This class isReid Spencer2004-05-254-0/+618
| | | | | | | | | | | | | | 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
* Remove this file as well as it is no longer needed nor it compilesAlkis Evlogimenos2004-05-251-25/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13762 91177308-0d34-0410-b5e6-96231b3b80d8
* Document a couple functions.Reid Spencer2004-05-251-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13761 91177308-0d34-0410-b5e6-96231b3b80d8
* Make use of the doc_author and doc_code styles. <tt>'ify llvm names. MinorChris Lattner2004-05-251-12/+14
| | | | | | | other edits git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13760 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed to use SymbolTable's new iteration interfaces.Reid Spencer2004-05-251-6/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13759 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed to use SymbolTable's new lookup interface.Reid Spencer2004-05-251-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13758 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
* Added a bit on slot numbers.Reid Spencer2004-05-251-0/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13756 91177308-0d34-0410-b5e6-96231b3b80d8
* Made it illegal to pass a Type* through one of the Value* interfaces. TheReid Spencer2004-05-251-0/+4
| | | | | | | | SymbolTable will now assert if this is done. This didn't find any incorrect usage of SymbolTable but will prevent future mistakes until Type != Value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13755 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to SymbolTable's new iteration interface.Reid Spencer2004-05-259-132/+178
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13754 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to SymbolTable's new iteration interface. Remove tabs.Reid Spencer2004-05-251-14/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13753 91177308-0d34-0410-b5e6-96231b3b80d8
* Completely rewrote the class. SymbolTable now separates Type* from Value* in ↵Reid Spencer2004-05-251-108/+240
| | | | | | | | | | | | | 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@13752 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to SymbolTable's new lookup and iteration interfaces.Reid Spencer2004-05-254-76/+75
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13751 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused header file.Reid Spencer2004-05-251-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13750 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this pass simply invoke SymbolTable::strip().Reid Spencer2004-05-251-31/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13749 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove use of Type::TypeTy from an assert. It will go away soon.Reid Spencer2004-05-251-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13748 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of a wart: useless getFILE function is now a cast macro.Reid Spencer2004-05-251-42/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13747 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
* Fix a small typo.Reid Spencer2004-05-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13743 91177308-0d34-0410-b5e6-96231b3b80d8
* Recognize memalign and friends, and handle them specially.Vikram S. Adve2004-05-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13741 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement InstCombine:shift.ll:test16, which turns (X >> C1) & C2 != C3Chris Lattner2004-05-251-0/+35
| | | | | | | | | | | into (X & (C2 << C1)) != (C3 << C1), where the shift may be either left or right and the compare may be any one. This triggers 1546 times in 176.gcc alone, as it is a common pattern that occurs for bitfield accesses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13740 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2004-05-251-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13739 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement some helpersChris Lattner2004-05-251-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13738 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
* Implement instcombine/cast.ll:test16:Chris Lattner2004-05-251-0/+5
| | | | | | | Canonicalize cast X to bool into a setne instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13736 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new test16 and fix some other tests that were not properly writtenChris Lattner2004-05-251-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13735 91177308-0d34-0410-b5e6-96231b3b80d8
* Make doc_code shrink-to-fit. This only works in mozilla, but it doesn'tChris Lattner2004-05-241-2/+4
| | | | | | | hurt legibility on IE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13720 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner2004-05-244-10/+17
| | | | | | LeakDetector to fix memory leak bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13718 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in my previous checkinChris Lattner2004-05-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13717 91177308-0d34-0410-b5e6-96231b3b80d8
* Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner2004-05-244-17/+71
| | | | | | | 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
* Lots of minor typo fixes, some minor inaccuracies fixed, and some new material.Chris Lattner2004-05-241-37/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13715 91177308-0d34-0410-b5e6-96231b3b80d8
* new featureChris Lattner2004-05-241-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13714 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a couple of busted li'sChris Lattner2004-05-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13713 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a todo to make it clear that the section is not doneChris Lattner2004-05-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13712 91177308-0d34-0410-b5e6-96231b3b80d8
* Personally, I think that documentation is as important as code. IncreaseChris Lattner2004-05-241-17/+3
| | | | | | | the visibility of dox changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13711 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a div problem that was causing some wierd indentation. Get more div'yChris Lattner2004-05-241-2/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13710 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some notesChris Lattner2004-05-241-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13709 91177308-0d34-0410-b5e6-96231b3b80d8