aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move the sparc target to a new lib/Target directoryChris Lattner2001-09-145-9/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@562 91177308-0d34-0410-b5e6-96231b3b80d8
* Move files.Chris Lattner2001-09-144-0/+2454
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@561 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the contents of the CodeGen/TargetMachine/Sparc directory to Target/SparcChris Lattner2001-09-147-4577/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@560 91177308-0d34-0410-b5e6-96231b3b80d8
* This checkin represents some cleanup of the backend, implementing the ↵Chris Lattner2001-09-1414-1886/+1837
| | | | | | | | | | | following things: 1. The TargetMachine structure is free to decide the process a particular target uses to generate code. 2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory. The Sparc.h file that is globally visible is just a stub. 3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@559 91177308-0d34-0410-b5e6-96231b3b80d8
* This checkin represents some cleanup of the backend, implementing the ↵Chris Lattner2001-09-142-2/+2
| | | | | | | | | | | | | | following things: 1. The TargetMachine structure is free to decide the process a particular target uses to generate code. 2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory. The Sparc.h file that is globally visible is just a stub. 3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort. NOTE! The BBLiveVar.cpp file dependant on the Sparc backend, and is therefore not generic/portale to other backends. This needs to be fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@558 91177308-0d34-0410-b5e6-96231b3b80d8
* Updates to use local header files.Chris Lattner2001-09-141-307/+18
| | | | | | | | Note that this reverted changes that Ruchira commited that broke the build and are unmaintainable without other checkins. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@557 91177308-0d34-0410-b5e6-96231b3b80d8
* Export the instruction forest support from the analysis libraryChris Lattner2001-09-141-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@556 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial instruction tree support for the analysis libraryChris Lattner2001-09-141-0/+285
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@555 91177308-0d34-0410-b5e6-96231b3b80d8
* Generic k-way tree supportChris Lattner2001-09-141-0/+52
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@554 91177308-0d34-0410-b5e6-96231b3b80d8
* More cleanups, preparing to revamp InstrForest to, among other things,Chris Lattner2001-09-126-25/+19
| | | | | | | not leak all its allocated memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@553 91177308-0d34-0410-b5e6-96231b3b80d8
* * Clean up InstrForestChris Lattner2001-09-125-551/+365
| | | | | | | | | | | | | * Fix ins sel problem, test case: void "foo" (int *%x, int *%y) begin seteq int *%x, %y ret void end git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@552 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate 'BasicNode' from InstrForest.Chris Lattner2001-09-117-164/+91
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@551 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate MainTreeNode functionChris Lattner2001-09-114-28/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@550 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove irrelevant gross K&R CismsChris Lattner2001-09-111-17/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@549 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle subtract in expression classifierChris Lattner2001-09-112-54/+99
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@548 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable destructors on constantsChris Lattner2001-09-111-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@547 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the correct style castsChris Lattner2001-09-102-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@546 91177308-0d34-0410-b5e6-96231b3b80d8
* Use correct style castsChris Lattner2001-09-103-24/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@545 91177308-0d34-0410-b5e6-96231b3b80d8
* Use correct style castsChris Lattner2001-09-101-1/+1
| | | | | | | Types are not all constant now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@544 91177308-0d34-0410-b5e6-96231b3b80d8
* Use type checking predicatesChris Lattner2001-09-101-14/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@543 91177308-0d34-0410-b5e6-96231b3b80d8
* Use correct castsChris Lattner2001-09-101-5/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@542 91177308-0d34-0410-b5e6-96231b3b80d8
* Use predicate for Value type testChris Lattner2001-09-102-24/+16
| | | | | | | Use builtin casts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@541 91177308-0d34-0410-b5e6-96231b3b80d8
* Use predicate for Value type testChris Lattner2001-09-102-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@540 91177308-0d34-0410-b5e6-96231b3b80d8
* ModuleTyID doesn't exist anyymoreChris Lattner2001-09-102-2/+1
| | | | | | | Use correct cast git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@539 91177308-0d34-0410-b5e6-96231b3b80d8
* getMethodType is now just getTypeChris Lattner2001-09-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@538 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for printing globalsChris Lattner2001-09-101-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@537 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to use correct type castChris Lattner2001-09-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@536 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for global variablesChris Lattner2001-09-101-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@535 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add capability of printing out a global variableChris Lattner2001-09-101-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@534 91177308-0d34-0410-b5e6-96231b3b80d8
* * Method::getType should return type cast as MethodType, eliminate getMethodTypeChris Lattner2001-09-103-29/+102
| | | | | | | | | * Make Type::*Ty not be const types * Add a new Type.def file to provide info about types * Add a full complement of casting methods to the Type class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@533 91177308-0d34-0410-b5e6-96231b3b80d8
* Update assertion to allow extra caseChris Lattner2001-09-101-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@532 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug I introduced (assertion failed: Unknown operand type), and convert ↵Chris Lattner2001-09-101-16/+11
| | | | | | to predicate style for type checks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@531 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement global variable supportChris Lattner2001-09-1014-29/+219
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@530 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for external methodsChris Lattner2001-09-101-0/+107
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@529 91177308-0d34-0410-b5e6-96231b3b80d8
* Genericize support for calling functions a bitChris Lattner2001-09-105-21/+34
| | | | | | | Add external method support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@528 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for tool specified linker optionsChris Lattner2001-09-102-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@527 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the definitions of 3 global functions that don't belong in the coreChris Lattner2001-09-091-102/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@526 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the subset of the GetConstantValueAsSignedInt function that is ↵Chris Lattner2001-09-091-0/+32
| | | | | | needed, locally. Remove the two support functions to inline their contents. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@525 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the subset of the GetConstantValueAsSignedInt function that is ↵Chris Lattner2001-09-091-19/+32
| | | | | | needed, locally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@524 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove 3 gross global functions that don't belong hereChris Lattner2001-09-091-20/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@523 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename contype to subtypeChris Lattner2001-09-093-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@522 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ADCE more robust, it still has problems, but it's getting closerChris Lattner2001-09-091-37/+181
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@521 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problems with freeing memory twiceChris Lattner2001-09-091-40/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@520 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename file to be consistent with header nameChris Lattner2001-09-091-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@519 91177308-0d34-0410-b5e6-96231b3b80d8
* Rerun backend tests if as or llc is changedChris Lattner2001-09-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@518 91177308-0d34-0410-b5e6-96231b3b80d8
* iFix dependence orderChris Lattner2001-09-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@517 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up Type class by removing mutable ConstRules member and use ↵Chris Lattner2001-09-093-1/+20
| | | | | | annotations insead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@516 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up ConstRules stuff to use annotations instead of a mutable member in TypeChris Lattner2001-09-091-34/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@515 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert ConstRules to use annotations to clean it up.Chris Lattner2001-09-097-36/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@514 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix automatic dependence on static libsChris Lattner2001-09-092-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@513 91177308-0d34-0410-b5e6-96231b3b80d8