oota-llvm.git
23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 years agoBuild lli first
Chris Lattner [Fri, 7 Sep 2001 16:58:57 +0000 (16:58 +0000)]
Build lli first

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

23 years agoSymboltables are sorted in the bytecode, so no problems here!
Chris Lattner [Fri, 7 Sep 2001 16:58:39 +0000 (16:58 +0000)]
Symboltables are sorted in the bytecode, so no problems here!

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

23 years agoCleanup
Chris Lattner [Fri, 7 Sep 2001 16:57:29 +0000 (16:57 +0000)]
Cleanup

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

23 years agoSupport abstract types
Chris Lattner [Fri, 7 Sep 2001 16:57:07 +0000 (16:57 +0000)]
Support abstract types
Remove constant pool support

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

23 years agoSupport a abstract, opaque, and recursive types
Chris Lattner [Fri, 7 Sep 2001 16:56:42 +0000 (16:56 +0000)]
Support a abstract, opaque, and recursive types
Remove lockty, remove fillerty
Make type lookup more efficient
Support shared generic factory code

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

23 years agoTypes and constnats are wierd objects in the symtabs
Chris Lattner [Fri, 7 Sep 2001 16:48:17 +0000 (16:48 +0000)]
Types and constnats are wierd objects in the symtabs
Support abstract types in symtab

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

23 years agoModules must have a valid, nonnull type. Make them void
Chris Lattner [Fri, 7 Sep 2001 16:47:42 +0000 (16:47 +0000)]
Modules must have a valid, nonnull type.  Make them void

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

23 years agoSupport new setName interface
Chris Lattner [Fri, 7 Sep 2001 16:47:18 +0000 (16:47 +0000)]
Support new setName interface

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

23 years ago* Support new setname interface
Chris Lattner [Fri, 7 Sep 2001 16:47:03 +0000 (16:47 +0000)]
* Support new setname interface
* Add assertion for sanity checking

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

23 years ago* Cnstants are now global objects
Chris Lattner [Fri, 7 Sep 2001 16:46:31 +0000 (16:46 +0000)]
* Cnstants are now global objects
* ConstantPools no longer exist
* Constants are global objects in the LLVM system
* Constants are structurally equilivant if they are pointer equilivant
* Support abstract & opaque types
* Support setName on constants even though they don't track names
* Constnats don't get copy ctors anymore
* ConstPoolVal::equals is no longer useful [use ptr equivalency]
* Support generic factory classes to create and maintain constants

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

23 years agoSupport new setName itf
Chris Lattner [Fri, 7 Sep 2001 16:44:17 +0000 (16:44 +0000)]
Support new setName itf

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

23 years agoAnnotations are const objects now
Chris Lattner [Fri, 7 Sep 2001 16:44:01 +0000 (16:44 +0000)]
Annotations are const objects now

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

23 years agoTypes and constants are wierd things in symbol tables now
Chris Lattner [Fri, 7 Sep 2001 16:43:50 +0000 (16:43 +0000)]
Types and constants are wierd things in symbol tables now

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

23 years ago* Eliminate reference to ConstantPool class
Chris Lattner [Fri, 7 Sep 2001 16:43:22 +0000 (16:43 +0000)]
* Eliminate reference to ConstantPool class
* Constants are global objects that are not allocated or freed

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

23 years agoConstant pool is dead
Chris Lattner [Fri, 7 Sep 2001 16:42:51 +0000 (16:42 +0000)]
Constant pool is dead

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

23 years agoConstants are now global unique objects
Chris Lattner [Fri, 7 Sep 2001 16:42:26 +0000 (16:42 +0000)]
Constants are now global unique objects

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

23 years ago* Eliminate constant pool dependancies:
Chris Lattner [Fri, 7 Sep 2001 16:42:08 +0000 (16:42 +0000)]
* Eliminate constant pool dependancies:
  * Eliminate DoRemoveUnusedConstants

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

23 years ago* Supoprt global constants
Chris Lattner [Fri, 7 Sep 2001 16:41:30 +0000 (16:41 +0000)]
* Supoprt global constants
* Remove support for local constant pools
* Eliminate constant pool merging method, which is no longer neccesary
* Disable invalid optimization (todo: fix it)

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

23 years ago* Support global constants
Chris Lattner [Fri, 7 Sep 2001 16:40:34 +0000 (16:40 +0000)]
* Support global constants
* Eliminate need for constant pool

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

23 years agoannotations are now const
Chris Lattner [Fri, 7 Sep 2001 16:40:04 +0000 (16:40 +0000)]
annotations are now const

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

23 years ago* Emit bytecode using a deque instead of a vector to be faster
Chris Lattner [Fri, 7 Sep 2001 16:39:41 +0000 (16:39 +0000)]
* Emit bytecode using a deque instead of a vector to be faster
* Internal rep no longer has a constant pool
* Support emission of recursive types
* Don't output a constant pool for an external method
* The bytecode writer is no longer a module analyzer

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

23 years ago* Remove support for internal constant pool
Chris Lattner [Fri, 7 Sep 2001 16:37:43 +0000 (16:37 +0000)]
* Remove support for internal constant pool
* Support globally unique constants
* Support recursive and forward referenced types
* Support abstract types
* Add new BCR_TRACE macro to enable debugging of why the bytecode reader
  occasionally refuses to read something

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

23 years ago* Assembly writer is not a module analyzer anymore
Chris Lattner [Fri, 7 Sep 2001 16:36:04 +0000 (16:36 +0000)]
* Assembly writer is not a module analyzer anymore
* There is no constant pool anymore

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

23 years ago* Add support for forward referencing types
Chris Lattner [Fri, 7 Sep 2001 16:35:17 +0000 (16:35 +0000)]
* Add support for forward referencing types
* Add support for upreferences for recursive types
* Remove support for ConstantPool.h
* Add support for globally unique Constants
* Add support for the opaque type

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

23 years agoAdd support for forward referencing types
Chris Lattner [Fri, 7 Sep 2001 16:33:01 +0000 (16:33 +0000)]
Add support for forward referencing types

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

23 years agoAdd support for an opaque type
Chris Lattner [Fri, 7 Sep 2001 16:32:43 +0000 (16:32 +0000)]
Add support for an opaque type

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

23 years agoRemove #include of nonexistant header file
Chris Lattner [Fri, 7 Sep 2001 16:32:10 +0000 (16:32 +0000)]
Remove #include of nonexistant header file

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

23 years ago* Slot calc is now simpler and not based on module analyzer.
Chris Lattner [Fri, 7 Sep 2001 16:31:52 +0000 (16:31 +0000)]
* Slot calc is now simpler and not based on module analyzer.
* Add new SC_DEBUG option to enable debugging of why stuff doesn't work

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

23 years agoModule analyzer no longer has to iterate over constant pool
Chris Lattner [Fri, 7 Sep 2001 16:31:23 +0000 (16:31 +0000)]
Module analyzer no longer has to iterate over constant pool

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

23 years agoSimplify code by eliminating need to hang onto constant pool references
Chris Lattner [Fri, 7 Sep 2001 16:31:04 +0000 (16:31 +0000)]
Simplify code by eliminating need to hang onto constant pool references

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

23 years ago* Fixed mapped_iterator to actually work with functors
Chris Lattner [Fri, 7 Sep 2001 16:30:28 +0000 (16:30 +0000)]
* Fixed mapped_iterator to actually work with functors
* Implement mapto function that works like map in a functional programming language

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

23 years agoConstant pools no longer exist
Chris Lattner [Fri, 7 Sep 2001 16:29:55 +0000 (16:29 +0000)]
Constant pools no longer exist

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

23 years agoEliminate DoConstantPoolMerging. ConstantPools no longer exist
Chris Lattner [Fri, 7 Sep 2001 16:29:40 +0000 (16:29 +0000)]
Eliminate DoConstantPoolMerging.  ConstantPools no longer exist

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

23 years agoYou no longer have to delete constants! They are located in a global
Chris Lattner [Fri, 7 Sep 2001 16:29:18 +0000 (16:29 +0000)]
You no longer have to delete constants!  They are located in a global
constant pool instead of in local ones.

Change bool handling to prevent modification of bool values

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

23 years agoAnnotations are now passed around as const objects
Chris Lattner [Fri, 7 Sep 2001 16:28:25 +0000 (16:28 +0000)]
Annotations are now passed around as const objects

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

23 years agoUse a deque instead of a vector for greater efficiency writing bytecode
Chris Lattner [Fri, 7 Sep 2001 16:27:49 +0000 (16:27 +0000)]
Use a deque instead of a vector for greater efficiency writing bytecode

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

23 years agoClean stuff up.
Chris Lattner [Fri, 7 Sep 2001 16:27:25 +0000 (16:27 +0000)]
Clean stuff up.
Types are not named, they are described

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

23 years agoSimplify SlotCalculator. SlotCalculator is now not a ModuleAnalyzer
Chris Lattner [Fri, 7 Sep 2001 16:27:05 +0000 (16:27 +0000)]
Simplify SlotCalculator.  SlotCalculator is now not a ModuleAnalyzer

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

23 years agoSimplify analyzer
Chris Lattner [Fri, 7 Sep 2001 16:26:36 +0000 (16:26 +0000)]
Simplify analyzer

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

23 years ago* Fix long standing problems that would affect inlining. How could this have worked?
Chris Lattner [Fri, 7 Sep 2001 16:26:13 +0000 (16:26 +0000)]
* Fix long standing problems that would affect inlining.  How could this have worked?
* Update to new setName interface

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

23 years agoAdd assertion to check for
Chris Lattner [Fri, 7 Sep 2001 16:25:42 +0000 (16:25 +0000)]
Add assertion to check for
alloca [int]
for example

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

23 years ago* Values are AbstactTypeUsers to support abstract types
Chris Lattner [Fri, 7 Sep 2001 16:25:23 +0000 (16:25 +0000)]
* Values are AbstactTypeUsers to support abstract types
* SetName now takes extra parameter to support naming types and constants without handles

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

23 years agoRemove extra whitespace at EOL
Chris Lattner [Fri, 7 Sep 2001 16:24:35 +0000 (16:24 +0000)]
Remove extra whitespace at EOL

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

23 years ago* Add support for Opaque & Abstract types.
Chris Lattner [Fri, 7 Sep 2001 16:23:59 +0000 (16:23 +0000)]
* Add support for Opaque & Abstract types.
* Remove silly enum values that are never going to be used
* What used to be a types "name" is now it's "description"
* Add a new iterator to type to allow users to iterate over subtypes

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

23 years agoSupport abstract types by keeping on the use list of the abstract type.
Chris Lattner [Fri, 7 Sep 2001 16:21:36 +0000 (16:21 +0000)]
Support abstract types by keeping on the use list of the abstract type.

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

23 years agoSymTabValues no longer hold constant pools
Chris Lattner [Fri, 7 Sep 2001 16:21:04 +0000 (16:21 +0000)]
SymTabValues no longer hold constant pools

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

23 years agoSymTabValue no longer includes ValueHolder for Module. Include it ourself
Chris Lattner [Fri, 7 Sep 2001 16:20:46 +0000 (16:20 +0000)]
SymTabValue no longer includes ValueHolder for Module. Include it ourself

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

23 years ago* Support new setName interface
Chris Lattner [Fri, 7 Sep 2001 16:20:18 +0000 (16:20 +0000)]
* Support new setName interface
* Make the iterator a little nicer

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

23 years agoSupport new setName interface
Chris Lattner [Fri, 7 Sep 2001 16:19:55 +0000 (16:19 +0000)]
Support new setName interface

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

23 years ago* Add new DerivedType base class that goes between Type and the derived types
Chris Lattner [Fri, 7 Sep 2001 16:19:29 +0000 (16:19 +0000)]
* Add new DerivedType base class that goes between Type and the derived types
* Implement abstract types
* Add new Opaque derived type

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

23 years agoImplement support for globally unique constants. Constants no longer live
Chris Lattner [Fri, 7 Sep 2001 16:18:19 +0000 (16:18 +0000)]
Implement support for globally unique constants.  Constants no longer live
in a module or method local pool, they are global to the llvm system.

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

23 years agoAdd support for walking type graphs
Chris Lattner [Fri, 7 Sep 2001 16:17:24 +0000 (16:17 +0000)]
Add support for walking type graphs

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

23 years agoChanging setName semantics
Chris Lattner [Fri, 7 Sep 2001 16:16:57 +0000 (16:16 +0000)]
Changing setName semantics

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

23 years agoMake annotations operations const with a mutable annotation list so that
Chris Lattner [Fri, 7 Sep 2001 16:16:35 +0000 (16:16 +0000)]
Make annotations operations const with a mutable annotation list so that
we can annotate Types.  A better solution would be make types nonconst.

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

23 years agoFixed the "output constant pool even if he have no constants" issue
Chris Lattner [Fri, 7 Sep 2001 16:13:58 +0000 (16:13 +0000)]
Fixed the "output constant pool even if he have no constants" issue

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

23 years agowhoo hoo I did something! :)
Chris Lattner [Fri, 7 Sep 2001 16:10:35 +0000 (16:10 +0000)]
whoo hoo I did something! :)

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

23 years agoMake fib be more real
Chris Lattner [Sat, 1 Sep 2001 01:47:52 +0000 (01:47 +0000)]
Make fib be more real

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

23 years ago*** empty log message ***
Ruchira Sasanka [Fri, 31 Aug 2001 20:59:58 +0000 (20:59 +0000)]
*** empty log message ***

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

23 years ago*** empty log message ***
Ruchira Sasanka [Fri, 31 Aug 2001 20:30:42 +0000 (20:30 +0000)]
*** empty log message ***

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

23 years agoAdded directory LiveVar/
Vikram S. Adve [Tue, 28 Aug 2001 23:29:31 +0000 (23:29 +0000)]
Added directory LiveVar/

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

23 years agoMakefile for tools/tests/
Vikram S. Adve [Tue, 28 Aug 2001 23:28:25 +0000 (23:28 +0000)]
Makefile for tools/tests/

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

23 years agoDriver to test IsPowerOf2. Could be extended for other library routines.
Vikram S. Adve [Tue, 28 Aug 2001 23:28:10 +0000 (23:28 +0000)]
Driver to test IsPowerOf2.  Could be extended for other library routines.

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

23 years agoAdd testcodegen target, and restrict which tests are run for it.
Vikram S. Adve [Tue, 28 Aug 2001 23:26:44 +0000 (23:26 +0000)]
Add testcodegen target, and restrict which tests are run for it.

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

23 years agoAdded nonterminals for arithmetic operations where one operand is constant.
Vikram S. Adve [Tue, 28 Aug 2001 23:25:46 +0000 (23:25 +0000)]
Added nonterminals for arithmetic operations where one operand is constant.

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

23 years agoChanged link line.
Vikram S. Adve [Tue, 28 Aug 2001 23:23:35 +0000 (23:23 +0000)]
Changed link line.

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

23 years agoAdd calls to NormalizeMethod() and to ScheduleInstructionsWithSSA().
Vikram S. Adve [Tue, 28 Aug 2001 23:23:14 +0000 (23:23 +0000)]
Add calls to NormalizeMethod() and to ScheduleInstructionsWithSSA().

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

23 years agoMakefile for InstrSched/
Vikram S. Adve [Tue, 28 Aug 2001 23:17:22 +0000 (23:17 +0000)]
Makefile for InstrSched/

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

23 years agoRemove source list.
Vikram S. Adve [Tue, 28 Aug 2001 23:16:59 +0000 (23:16 +0000)]
Remove source list.

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

23 years agoAdded directory InstrSched.
Vikram S. Adve [Tue, 28 Aug 2001 23:16:13 +0000 (23:16 +0000)]
Added directory InstrSched.

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

23 years agoMajor changes too hard to document :-)
Vikram S. Adve [Tue, 28 Aug 2001 23:12:57 +0000 (23:12 +0000)]
Major changes too hard to document :-)

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

23 years agoAdded function MachineInstr::operandIsDefined(i) and decl for
Vikram S. Adve [Tue, 28 Aug 2001 23:11:46 +0000 (23:11 +0000)]
Added function MachineInstr::operandIsDefined(i) and decl for
function PrintMachineInstructions.

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

23 years agoExtensive additions for supporting instruction scheduling.
Vikram S. Adve [Tue, 28 Aug 2001 23:10:41 +0000 (23:10 +0000)]
Extensive additions for supporting instruction scheduling.

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

23 years agoAdded class MachineSchedInfo and several supporting classes
Vikram S. Adve [Tue, 28 Aug 2001 23:09:36 +0000 (23:09 +0000)]
Added class MachineSchedInfo and several supporting classes
as a machine description for instruction scheduling.

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