summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Add a forward decl, oops.Chris Lattner2001-09-141-0/+1
| | | | llvm-svn: 573
* Chris seems fond of #include <vector>. Fix these. Also convert use list inChris Lattner2001-09-1421-45/+28
| | | | | | | | Value to a vector instead of a list. Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling llvm-svn: 572
* Add a commentChris Lattner2001-09-141-0/+1
| | | | llvm-svn: 571
* Minor reformatting, & protection fixesChris Lattner2001-09-142-58/+55
| | | | llvm-svn: 570
* Break scheduling infrastructure out of TargetMachine.cpp into SchedInfo.cppChris Lattner2001-09-142-212/+185
| | | | llvm-svn: 569
* Split Register specific stuff out from TargetMachine.h to RegInfo.hChris Lattner2001-09-144-109/+105
| | | | | | Get rid of unneccesary #includes from TargetMachine.h llvm-svn: 568
* Split Target/Machine.h into three files:Chris Lattner2001-09-149-606/+620
| | | | | | | | | * Machine.h * InstInfo.h * SchedInfo.h TODO: Split out reg info stuff llvm-svn: 567
* Make a new llvm/Target #include directory.Chris Lattner2001-09-1418-102/+71
| | | | | | | | Move files from lib/CodeGen/TargetMachine to lib/Target Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h} Prepare to split TargetMachine.h into several smaller files llvm-svn: 566
* Checkin changes to:Chris Lattner2001-09-144-22/+51
| | | | | | | | | 1. Clean up the TargetMachine structure. No more wierd pointers that have to be cast around and taken care of by the target. 2. Instruction Scheduling now takes the schedinfo as an argument. The same should be done with the instinfo, it just isn't now. llvm-svn: 565
* Checkin changes to:Chris Lattner2001-09-143-51/+19
| | | | | | | | | | | 1. Clean up the TargetMachine structure. No more wierd pointers that have to be cast around and taken care of by the target. 2. Instruction Scheduling now takes the schedinfo as an argument. The same should be done with the instinfo, it just isn't now. 3. Sparc.h is now just a factory method. Eventually this file will dissapear, but probably not until we have more than one backend. :) llvm-svn: 564
* Move files to new sparc directoryChris Lattner2001-09-143-0/+1839
| | | | llvm-svn: 563
* Move the sparc target to a new lib/Target directoryChris Lattner2001-09-144-8/+3
| | | | llvm-svn: 562
* Move files.Chris Lattner2001-09-144-0/+2454
| | | | llvm-svn: 561
* Move the contents of the CodeGen/TargetMachine/Sparc directory to Target/SparcChris Lattner2001-09-147-4577/+0
| | | | llvm-svn: 560
* This checkin represents some cleanup of the backend, implementing the ↵Chris Lattner2001-09-1412-1796/+1769
| | | | | | | | | | 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. llvm-svn: 559
* This checkin represents some cleanup of the backend, implementing the ↵Chris Lattner2001-09-141-1/+1
| | | | | | | | | | | | | 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. llvm-svn: 558
* 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. llvm-svn: 557
* Export the instruction forest support from the analysis libraryChris Lattner2001-09-141-1/+7
| | | | llvm-svn: 556
* Initial instruction tree support for the analysis libraryChris Lattner2001-09-141-0/+285
| | | | llvm-svn: 555
* Generic k-way tree supportChris Lattner2001-09-141-0/+52
| | | | llvm-svn: 554
* More cleanups, preparing to revamp InstrForest to, among other things,Chris Lattner2001-09-124-14/+10
| | | | | | not leak all its allocated memory. llvm-svn: 553
* * Clean up InstrForestChris Lattner2001-09-124-306/+210
| | | | | | | | | | | | * Fix ins sel problem, test case: void "foo" (int *%x, int *%y) begin seteq int *%x, %y ret void end llvm-svn: 552
* Eliminate 'BasicNode' from InstrForest.Chris Lattner2001-09-115-104/+61
| | | | llvm-svn: 551
* Eliminate MainTreeNode functionChris Lattner2001-09-113-26/+10
| | | | llvm-svn: 550
* Remove irrelevant gross K&R CismsChris Lattner2001-09-111-17/+1
| | | | llvm-svn: 549
* Handle subtract in expression classifierChris Lattner2001-09-112-54/+99
| | | | llvm-svn: 548
* Disable destructors on constantsChris Lattner2001-09-111-0/+8
| | | | llvm-svn: 547
* Use the correct style castsChris Lattner2001-09-102-3/+3
| | | | llvm-svn: 546
* Use correct style castsChris Lattner2001-09-103-24/+19
| | | | llvm-svn: 545
* Use correct style castsChris Lattner2001-09-101-1/+1
| | | | | | Types are not all constant now llvm-svn: 544
* Use type checking predicatesChris Lattner2001-09-101-14/+12
| | | | llvm-svn: 543
* Use correct castsChris Lattner2001-09-101-5/+3
| | | | llvm-svn: 542
* Use predicate for Value type testChris Lattner2001-09-101-12/+8
| | | | | | Use builtin casts llvm-svn: 541
* Use predicate for Value type testChris Lattner2001-09-101-2/+1
| | | | llvm-svn: 540
* ModuleTyID doesn't exist anyymoreChris Lattner2001-09-102-2/+1
| | | | | | Use correct cast llvm-svn: 539
* getMethodType is now just getTypeChris Lattner2001-09-101-2/+2
| | | | llvm-svn: 538
* Add support for printing globalsChris Lattner2001-09-101-0/+7
| | | | llvm-svn: 537
* Update to use correct type castChris Lattner2001-09-101-2/+2
| | | | llvm-svn: 536
* Add support for global variablesChris Lattner2001-09-101-2/+3
| | | | llvm-svn: 535
* * Add capability of printing out a global variableChris Lattner2001-09-101-0/+7
| | | | llvm-svn: 534
* * 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 llvm-svn: 533
* Update assertion to allow extra caseChris Lattner2001-09-101-3/+4
| | | | llvm-svn: 532
* Fix a bug I introduced (assertion failed: Unknown operand type), and convert ↵Chris Lattner2001-09-101-16/+11
| | | | | | to predicate style for type checks llvm-svn: 531
* Implement global variable supportChris Lattner2001-09-1013-26/+207
| | | | llvm-svn: 530
* Add support for external methodsChris Lattner2001-09-101-0/+107
| | | | llvm-svn: 529
* Genericize support for calling functions a bitChris Lattner2001-09-105-21/+34
| | | | | | Add external method support llvm-svn: 528
* Add support for tool specified linker optionsChris Lattner2001-09-102-4/+4
| | | | llvm-svn: 527
* Remove the definitions of 3 global functions that don't belong in the coreChris Lattner2001-09-091-102/+0
| | | | llvm-svn: 526
* 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. llvm-svn: 525
* Implement the subset of the GetConstantValueAsSignedInt function that is ↵Chris Lattner2001-09-091-19/+32
| | | | | | needed, locally. llvm-svn: 524
OpenPOWER on IntegriCloud