oota-llvm.git
22 years agoBreak scheduling infrastructure out of TargetMachine.cpp into SchedInfo.cpp
Chris Lattner [Fri, 14 Sep 2001 15:43:58 +0000 (15:43 +0000)]
Break scheduling infrastructure out of TargetMachine.cpp into SchedInfo.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@569 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoSplit Register specific stuff out from TargetMachine.h to RegInfo.h
Chris Lattner [Fri, 14 Sep 2001 06:20:10 +0000 (06:20 +0000)]
Split Register specific stuff out from TargetMachine.h to RegInfo.h
Get rid of unneccesary #includes from TargetMachine.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@568 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoSplit Target/Machine.h into three files:
Chris Lattner [Fri, 14 Sep 2001 06:08:03 +0000 (06:08 +0000)]
Split Target/Machine.h into three files:
* Machine.h
* InstInfo.h
* SchedInfo.h

TODO: Split out reg info stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@567 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMake a new llvm/Target #include directory.
Chris Lattner [Fri, 14 Sep 2001 05:34:53 +0000 (05:34 +0000)]
Make a new llvm/Target #include directory.
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@566 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoCheckin changes to:
Chris Lattner [Fri, 14 Sep 2001 04:32:55 +0000 (04:32 +0000)]
Checkin changes to:
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@565 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoCheckin changes to:
Chris Lattner [Fri, 14 Sep 2001 04:32:38 +0000 (04:32 +0000)]
Checkin changes to:
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.  :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@564 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMove files to new sparc directory
Chris Lattner [Fri, 14 Sep 2001 03:56:45 +0000 (03:56 +0000)]
Move files to new sparc directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@563 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMove the sparc target to a new lib/Target directory
Chris Lattner [Fri, 14 Sep 2001 03:55:11 +0000 (03:55 +0000)]
Move the sparc target to a new lib/Target directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@562 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMove files.
Chris Lattner [Fri, 14 Sep 2001 03:47:57 +0000 (03:47 +0000)]
Move files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@561 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMove the contents of the CodeGen/TargetMachine/Sparc directory to Target/Sparc
Chris Lattner [Fri, 14 Sep 2001 03:46:34 +0000 (03:46 +0000)]
Move the contents of the CodeGen/TargetMachine/Sparc directory to Target/Sparc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@560 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoThis checkin represents some cleanup of the backend, implementing the following things:
Chris Lattner [Fri, 14 Sep 2001 03:37:52 +0000 (03:37 +0000)]
This checkin represents some cleanup of the backend, implementing the 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

22 years agoThis checkin represents some cleanup of the backend, implementing the following things:
Chris Lattner [Fri, 14 Sep 2001 03:37:22 +0000 (03:37 +0000)]
This checkin represents some cleanup of the backend, implementing the 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

22 years agoUpdates to use local header files.
Chris Lattner [Fri, 14 Sep 2001 03:33:32 +0000 (03:33 +0000)]
Updates to use local header files.

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

22 years agoExport the instruction forest support from the analysis library
Chris Lattner [Fri, 14 Sep 2001 01:42:42 +0000 (01:42 +0000)]
Export the instruction forest support from the analysis library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@556 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoInitial instruction tree support for the analysis library
Chris Lattner [Fri, 14 Sep 2001 01:42:26 +0000 (01:42 +0000)]
Initial instruction tree support for the analysis library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@555 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoGeneric k-way tree support
Chris Lattner [Fri, 14 Sep 2001 01:42:01 +0000 (01:42 +0000)]
Generic k-way tree support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@554 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMore cleanups, preparing to revamp InstrForest to, among other things,
Chris Lattner [Wed, 12 Sep 2001 16:34:03 +0000 (16:34 +0000)]
More cleanups, preparing to revamp InstrForest to, among other things,
not leak all its allocated memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@553 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Clean up InstrForest
Chris Lattner [Wed, 12 Sep 2001 01:28:49 +0000 (01:28 +0000)]
* Clean up InstrForest
* 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

22 years agoEliminate 'BasicNode' from InstrForest.
Chris Lattner [Tue, 11 Sep 2001 23:52:11 +0000 (23:52 +0000)]
Eliminate 'BasicNode' from InstrForest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@551 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoEliminate MainTreeNode function
Chris Lattner [Tue, 11 Sep 2001 23:22:43 +0000 (23:22 +0000)]
Eliminate MainTreeNode function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@550 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove irrelevant gross K&R Cisms
Chris Lattner [Tue, 11 Sep 2001 23:13:38 +0000 (23:13 +0000)]
Remove irrelevant gross K&R Cisms

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@549 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoHandle subtract in expression classifier
Chris Lattner [Tue, 11 Sep 2001 04:27:34 +0000 (04:27 +0000)]
Handle subtract in expression classifier

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@548 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoDisable destructors on constants
Chris Lattner [Tue, 11 Sep 2001 04:27:19 +0000 (04:27 +0000)]
Disable destructors on constants

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@547 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse the correct style casts
Chris Lattner [Mon, 10 Sep 2001 20:12:04 +0000 (20:12 +0000)]
Use the correct style casts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@546 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse correct style casts
Chris Lattner [Mon, 10 Sep 2001 20:11:44 +0000 (20:11 +0000)]
Use correct style casts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@545 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse correct style casts
Chris Lattner [Mon, 10 Sep 2001 20:11:28 +0000 (20:11 +0000)]
Use correct style casts
Types are not all constant now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@544 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse type checking predicates
Chris Lattner [Mon, 10 Sep 2001 20:10:26 +0000 (20:10 +0000)]
Use type checking predicates

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@543 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse correct casts
Chris Lattner [Mon, 10 Sep 2001 20:10:02 +0000 (20:10 +0000)]
Use correct casts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@542 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse predicate for Value type test
Chris Lattner [Mon, 10 Sep 2001 20:09:50 +0000 (20:09 +0000)]
Use predicate for Value type test
Use builtin casts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@541 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUse predicate for Value type test
Chris Lattner [Mon, 10 Sep 2001 20:09:28 +0000 (20:09 +0000)]
Use predicate for Value type test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@540 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoModuleTyID doesn't exist anyymore
Chris Lattner [Mon, 10 Sep 2001 20:09:08 +0000 (20:09 +0000)]
ModuleTyID doesn't exist anyymore
Use correct cast

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@539 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agogetMethodType is now just getType
Chris Lattner [Mon, 10 Sep 2001 20:08:52 +0000 (20:08 +0000)]
getMethodType is now just getType

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@538 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd support for printing globals
Chris Lattner [Mon, 10 Sep 2001 20:08:19 +0000 (20:08 +0000)]
Add support for printing globals

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@537 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUpdate to use correct type cast
Chris Lattner [Mon, 10 Sep 2001 20:08:08 +0000 (20:08 +0000)]
Update to use correct type cast

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@536 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd support for global variables
Chris Lattner [Mon, 10 Sep 2001 20:07:57 +0000 (20:07 +0000)]
Add support for global variables

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@535 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Add capability of printing out a global variable
Chris Lattner [Mon, 10 Sep 2001 20:06:47 +0000 (20:06 +0000)]
* Add capability of printing out a global variable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@534 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Method::getType should return type cast as MethodType, eliminate getMethodType
Chris Lattner [Mon, 10 Sep 2001 20:06:17 +0000 (20:06 +0000)]
* Method::getType should return type cast as MethodType, eliminate getMethodType
* 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

22 years agoUpdate assertion to allow extra case
Chris Lattner [Mon, 10 Sep 2001 20:02:12 +0000 (20:02 +0000)]
Update assertion to allow extra case

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@532 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoFix a bug I introduced (assertion failed: Unknown operand type), and convert to predi...
Chris Lattner [Mon, 10 Sep 2001 19:43:38 +0000 (19:43 +0000)]
Fix a bug I introduced (assertion failed: Unknown operand type), and convert to predicate style for type checks

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@531 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoImplement global variable support
Chris Lattner [Mon, 10 Sep 2001 07:58:01 +0000 (07:58 +0000)]
Implement global variable support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@530 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd support for external methods
Chris Lattner [Mon, 10 Sep 2001 04:50:17 +0000 (04:50 +0000)]
Add support for external methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@529 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoGenericize support for calling functions a bit
Chris Lattner [Mon, 10 Sep 2001 04:49:44 +0000 (04:49 +0000)]
Genericize support for calling functions a bit
Add external method support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@528 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd support for tool specified linker options
Chris Lattner [Mon, 10 Sep 2001 04:49:26 +0000 (04:49 +0000)]
Add support for tool specified linker options

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@527 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove the definitions of 3 global functions that don't belong in the core
Chris Lattner [Sun, 9 Sep 2001 23:02:07 +0000 (23:02 +0000)]
Remove the definitions of 3 global functions that don't belong in the core

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@526 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoImplement the subset of the GetConstantValueAsSignedInt function that is needed,...
Chris Lattner [Sun, 9 Sep 2001 23:01:47 +0000 (23:01 +0000)]
Implement the subset of the GetConstantValueAsSignedInt function that is 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

22 years agoImplement the subset of the GetConstantValueAsSignedInt function that is needed,...
Chris Lattner [Sun, 9 Sep 2001 23:01:32 +0000 (23:01 +0000)]
Implement the subset of the GetConstantValueAsSignedInt function that is needed, locally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@524 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove 3 gross global functions that don't belong here
Chris Lattner [Sun, 9 Sep 2001 23:00:59 +0000 (23:00 +0000)]
Remove 3 gross global functions that don't belong here

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@523 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRename contype to subtype
Chris Lattner [Sun, 9 Sep 2001 22:26:58 +0000 (22:26 +0000)]
Rename contype to subtype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@522 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMake ADCE more robust, it still has problems, but it's getting closer
Chris Lattner [Sun, 9 Sep 2001 22:26:47 +0000 (22:26 +0000)]
Make ADCE more robust, it still has problems, but it's getting closer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@521 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoFix problems with freeing memory twice
Chris Lattner [Sun, 9 Sep 2001 22:26:29 +0000 (22:26 +0000)]
Fix problems with freeing memory twice

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@520 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRename file to be consistent with header name
Chris Lattner [Sun, 9 Sep 2001 21:59:43 +0000 (21:59 +0000)]
Rename file to be consistent with header name

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@519 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRerun backend tests if as or llc is changed
Chris Lattner [Sun, 9 Sep 2001 21:58:36 +0000 (21:58 +0000)]
Rerun backend tests if as or llc is changed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@518 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoiFix dependence order
Chris Lattner [Sun, 9 Sep 2001 21:03:12 +0000 (21:03 +0000)]
iFix dependence order

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@517 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoClean up Type class by removing mutable ConstRules member and use annotations insead
Chris Lattner [Sun, 9 Sep 2001 21:02:38 +0000 (21:02 +0000)]
Clean up Type class by removing mutable ConstRules member and use annotations insead

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@516 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoClean up ConstRules stuff to use annotations instead of a mutable member in Type
Chris Lattner [Sun, 9 Sep 2001 21:01:20 +0000 (21:01 +0000)]
Clean up ConstRules stuff to use annotations instead of a mutable member in Type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@515 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoConvert ConstRules to use annotations to clean it up.
Chris Lattner [Sun, 9 Sep 2001 21:00:23 +0000 (21:00 +0000)]
Convert ConstRules to use annotations to clean it up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@514 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoFix automatic dependence on static libs
Chris Lattner [Sun, 9 Sep 2001 20:59:28 +0000 (20:59 +0000)]
Fix automatic dependence on static libs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@513 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoHandle cast float-to-float or cast double-to-double.
Vikram S. Adve [Sun, 9 Sep 2001 20:35:34 +0000 (20:35 +0000)]
Handle cast float-to-float or cast double-to-double.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@512 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoFix build breakage. :(
Chris Lattner [Sun, 9 Sep 2001 19:52:23 +0000 (19:52 +0000)]
Fix build breakage. :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@511 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoI really don't like it when people break the build.
Chris Lattner [Sun, 9 Sep 2001 19:41:52 +0000 (19:41 +0000)]
I really don't like it when people break the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@510 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove extraneous space
Chris Lattner [Sun, 9 Sep 2001 19:35:33 +0000 (19:35 +0000)]
Remove extraneous space

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@509 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove extra #include
Chris Lattner [Sun, 9 Sep 2001 19:34:25 +0000 (19:34 +0000)]
Remove extra #include

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@508 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago*** empty log message ***
Ruchira Sasanka [Sat, 8 Sep 2001 17:23:06 +0000 (17:23 +0000)]
*** empty log message ***

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@507 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago*** empty log message ***
Ruchira Sasanka [Sat, 8 Sep 2001 14:32:00 +0000 (14:32 +0000)]
*** empty log message ***

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@506 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoCommitted for compliation. Not yet final.
Ruchira Sasanka [Sat, 8 Sep 2001 14:22:50 +0000 (14:22 +0000)]
Committed for compliation. Not yet final.
--Ruchira

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@505 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago--Ruchira
Ruchira Sasanka [Sat, 8 Sep 2001 14:10:34 +0000 (14:10 +0000)]
--Ruchira

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@504 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoNew testcase to deal with lists
Chris Lattner [Fri, 7 Sep 2001 23:00:46 +0000 (23:00 +0000)]
New testcase to deal with lists

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@503 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoNew file for supporting abstract types
Chris Lattner [Fri, 7 Sep 2001 23:00:03 +0000 (23:00 +0000)]
New file for supporting abstract types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@502 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMake use of the new TOOLNAME/USEDLIBS options provided in Makefile.common
Chris Lattner [Fri, 7 Sep 2001 22:59:25 +0000 (22:59 +0000)]
Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@501 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoExecutables all live in a nice centralized location now
Chris Lattner [Fri, 7 Sep 2001 22:58:50 +0000 (22:58 +0000)]
Executables all live in a nice centralized location now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@500 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoExecutables have moved into centralized location
Chris Lattner [Fri, 7 Sep 2001 22:58:33 +0000 (22:58 +0000)]
Executables have moved into centralized location

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@499 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoSupport TOOLNAME and USEDLIBS options for easier tool building
Chris Lattner [Fri, 7 Sep 2001 22:57:58 +0000 (22:57 +0000)]
Support TOOLNAME and USEDLIBS options for easier tool building

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@498 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove old old file
Chris Lattner [Fri, 7 Sep 2001 22:52:07 +0000 (22:52 +0000)]
Remove old old file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@497 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoConvert llc driver to standard tool format
Chris Lattner [Fri, 7 Sep 2001 22:20:50 +0000 (22:20 +0000)]
Convert llc driver to standard tool format

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@496 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoProvide a way to change the incoming value for a phi node
Chris Lattner [Fri, 7 Sep 2001 22:19:55 +0000 (22:19 +0000)]
Provide a way to change the incoming value for a phi node

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@495 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd llc path to setup
Chris Lattner [Fri, 7 Sep 2001 22:13:44 +0000 (22:13 +0000)]
Add llc path to setup
Make code gen simpler, don't drop extra files all over the place

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@494 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUhm... that was really bad
Chris Lattner [Fri, 7 Sep 2001 21:26:51 +0000 (21:26 +0000)]
Uhm... that was really bad

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@493 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoClean up driver
Chris Lattner [Fri, 7 Sep 2001 21:26:31 +0000 (21:26 +0000)]
Clean up driver

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@492 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMake makefile not depend on where stuff is installed!!!!
Chris Lattner [Fri, 7 Sep 2001 21:24:25 +0000 (21:24 +0000)]
Make makefile not depend on where stuff is installed!!!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@491 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoUpdates to work with new lack of constant pool
Chris Lattner [Fri, 7 Sep 2001 21:22:57 +0000 (21:22 +0000)]
Updates to work with new lack of constant pool

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@490 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove unneeded #includes
Chris Lattner [Fri, 7 Sep 2001 21:22:28 +0000 (21:22 +0000)]
Remove unneeded #includes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@489 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove unnecesary #include add dump calls pulled out of .h file
Chris Lattner [Fri, 7 Sep 2001 21:21:03 +0000 (21:21 +0000)]
Remove unnecesary #include add dump calls pulled out of .h file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@488 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Remove lots of #includes
Chris Lattner [Fri, 7 Sep 2001 21:19:42 +0000 (21:19 +0000)]
* Remove lots of #includes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@487 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Remove lots of unnecesary #includes
Chris Lattner [Fri, 7 Sep 2001 21:18:16 +0000 (21:18 +0000)]
* Remove lots of unnecesary #includes
* Remove extra flyers
* Remove dependence on stringExtras by eliminating printIndent calls

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@486 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Remove lots of annoying extra #includes
Chris Lattner [Fri, 7 Sep 2001 21:07:10 +0000 (21:07 +0000)]
* Remove lots of annoying extra #includes
* Elminate dependecy on stringextras.h by moving dump's into .cpp files
* Kill InOutIterator class because it breaks iterator semantics to work like that
   - Copy ctor on iterator doesn't work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@485 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Add tag so emacs knows it's a c++ file
Chris Lattner [Fri, 7 Sep 2001 21:04:59 +0000 (21:04 +0000)]
* Add tag so emacs knows it's a c++ file
* Remove frivolous flyers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@484 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd tags so emacs knows these are C++ files
Chris Lattner [Fri, 7 Sep 2001 21:04:20 +0000 (21:04 +0000)]
Add tags so emacs knows these are C++ files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@483 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove extra space
Chris Lattner [Fri, 7 Sep 2001 21:03:14 +0000 (21:03 +0000)]
Remove extra space

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@482 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove ReversePostOrderTraversal declaration
Chris Lattner [Fri, 7 Sep 2001 21:02:50 +0000 (21:02 +0000)]
Remove ReversePostOrderTraversal declaration

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@481 91177308-0d34-0410-b5e6-96231b3b80d8

22 years ago* Don't predefine ReversePostOrderTraversal because it adds a dependence on vector
Chris Lattner [Fri, 7 Sep 2001 21:02:14 +0000 (21:02 +0000)]
* Don't predefine ReversePostOrderTraversal because it adds a dependence on vector
* static ctor/dtor is actually a REALLY good idea
* Remove explicit copy ctor and op=

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@480 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoCheck opaque, abstract, and recursive type handling
Chris Lattner [Fri, 7 Sep 2001 20:59:20 +0000 (20:59 +0000)]
Check opaque, abstract, and recursive type handling

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@479 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoNEw file
Chris Lattner [Fri, 7 Sep 2001 19:29:23 +0000 (19:29 +0000)]
NEw file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@478 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoMoved functionality into the other constant pool stuff
Chris Lattner [Fri, 7 Sep 2001 18:00:19 +0000 (18:00 +0000)]
Moved functionality into the other constant pool stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@477 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoFollow the golden rule of the coding standards guide: Make the code look
Chris Lattner [Fri, 7 Sep 2001 17:38:10 +0000 (17:38 +0000)]
Follow the golden rule of the coding standards guide: Make the code look
like the rest of the system.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@476 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoThe header file for a translation unit should always be included first
Chris Lattner [Fri, 7 Sep 2001 17:18:30 +0000 (17:18 +0000)]
The header file for a translation unit should always be included first
System headers should be last

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@475 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoA file should always include it's private header file *FIRST* see the
Chris Lattner [Fri, 7 Sep 2001 17:15:18 +0000 (17:15 +0000)]
A file should always include it's private header file *FIRST* see the
coding guidelines

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@474 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoConstant pool is eliminated
Chris Lattner [Fri, 7 Sep 2001 17:08:28 +0000 (17:08 +0000)]
Constant pool is eliminated

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@473 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAdd support for iteration through type graphs
Chris Lattner [Fri, 7 Sep 2001 17:04:29 +0000 (17:04 +0000)]
Add support for iteration through type graphs
Static constructors destroy genericity

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@472 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoRemove support for const pool merging, which is obsolete now.
Chris Lattner [Fri, 7 Sep 2001 16:59:35 +0000 (16:59 +0000)]
Remove support for const pool merging, which is obsolete now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@471 91177308-0d34-0410-b5e6-96231b3b80d8

22 years agoAnnotations are now const
Chris Lattner [Fri, 7 Sep 2001 16:59:15 +0000 (16:59 +0000)]
Annotations are now const

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@470 91177308-0d34-0410-b5e6-96231b3b80d8