Commit Graph

181146 Commits

Author SHA1 Message Date
Chris Lattner 43840bd6f6 Executables have moved into centralized location
llvm-svn: 499
2001-09-07 22:58:33 +00:00
Chris Lattner 07c7c19f7d Support TOOLNAME and USEDLIBS options for easier tool building
llvm-svn: 498
2001-09-07 22:57:58 +00:00
Chris Lattner a18d083dcc Remove old old file
llvm-svn: 497
2001-09-07 22:52:07 +00:00
Chris Lattner 2cf137b57a Convert llc driver to standard tool format
llvm-svn: 496
2001-09-07 22:20:50 +00:00
Chris Lattner c6d8db65c8 Provide a way to change the incoming value for a phi node
llvm-svn: 495
2001-09-07 22:19:55 +00:00
Chris Lattner 7170360d74 Add llc path to setup
Make code gen simpler, don't drop extra files all over the place

llvm-svn: 494
2001-09-07 22:13:44 +00:00
Chris Lattner 5e65e4212b Uhm... that was really bad
llvm-svn: 493
2001-09-07 21:26:51 +00:00
Chris Lattner ed22606da2 Clean up driver
llvm-svn: 492
2001-09-07 21:26:31 +00:00
Chris Lattner c6b8a071b6 Make makefile not depend on where stuff is installed!!!!
llvm-svn: 491
2001-09-07 21:24:25 +00:00
Chris Lattner 064286b9cf Updates to work with new lack of constant pool
llvm-svn: 490
2001-09-07 21:22:57 +00:00
Chris Lattner e99c9acb84 Remove unneeded #includes
llvm-svn: 489
2001-09-07 21:22:28 +00:00
Chris Lattner b7d0c37f5c Remove unnecesary #include add dump calls pulled out of .h file
llvm-svn: 488
2001-09-07 21:21:03 +00:00
Chris Lattner bbf765695f * Remove lots of #includes
llvm-svn: 487
2001-09-07 21:19:42 +00:00
Chris Lattner 8fb5258faa * Remove lots of unnecesary #includes
* Remove extra flyers
* Remove dependence on stringExtras by eliminating printIndent calls

llvm-svn: 486
2001-09-07 21:18:16 +00:00
Chris Lattner 6b9a933694 * 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.

llvm-svn: 485
2001-09-07 21:07:10 +00:00
Chris Lattner 313ece8a3e * Add tag so emacs knows it's a c++ file
* Remove frivolous flyers

llvm-svn: 484
2001-09-07 21:04:59 +00:00
Chris Lattner feb62c321e Add tags so emacs knows these are C++ files
llvm-svn: 483
2001-09-07 21:04:20 +00:00
Chris Lattner d2a6069518 Remove extra space
llvm-svn: 482
2001-09-07 21:03:14 +00:00
Chris Lattner aa271e6c35 Remove ReversePostOrderTraversal declaration
llvm-svn: 481
2001-09-07 21:02:50 +00:00
Chris Lattner 02e8c974dd * 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=

llvm-svn: 480
2001-09-07 21:02:14 +00:00
Chris Lattner fc8566a1ed Check opaque, abstract, and recursive type handling
llvm-svn: 479
2001-09-07 20:59:20 +00:00
Chris Lattner 6f728cf288 NEw file
llvm-svn: 478
2001-09-07 19:29:23 +00:00
Chris Lattner 1cedcf1c31 Moved functionality into the other constant pool stuff
llvm-svn: 477
2001-09-07 18:00:19 +00:00
Chris Lattner 2833dd3fed Follow the golden rule of the coding standards guide: Make the code look
like the rest of the system.

llvm-svn: 476
2001-09-07 17:38:10 +00:00
Chris Lattner 23fcc08d38 The header file for a translation unit should always be included first
System headers should be last

llvm-svn: 475
2001-09-07 17:18:30 +00:00
Chris Lattner 74d07801bf A file should always include it's private header file *FIRST* see the
coding guidelines

llvm-svn: 474
2001-09-07 17:15:18 +00:00
Chris Lattner dbc082f7f7 Constant pool is eliminated
llvm-svn: 473
2001-09-07 17:08:28 +00:00
Chris Lattner 330f87d7fe Add support for iteration through type graphs
Static constructors destroy genericity

llvm-svn: 472
2001-09-07 17:04:29 +00:00
Chris Lattner c3f679f2fe Remove support for const pool merging, which is obsolete now.
llvm-svn: 471
2001-09-07 16:59:35 +00:00
Chris Lattner 8564037d97 Annotations are now const
llvm-svn: 470
2001-09-07 16:59:15 +00:00
Chris Lattner 754d3cf7e3 Build lli first
llvm-svn: 469
2001-09-07 16:58:57 +00:00
Chris Lattner 5cc42aa810 Symboltables are sorted in the bytecode, so no problems here!
llvm-svn: 468
2001-09-07 16:58:39 +00:00
Chris Lattner 5f3b276293 Cleanup
llvm-svn: 467
2001-09-07 16:57:29 +00:00
Chris Lattner 97d79f144c Support abstract types
Remove constant pool support

llvm-svn: 466
2001-09-07 16:57:07 +00:00
Chris Lattner 2bd66ebee9 Support a abstract, opaque, and recursive types
Remove lockty, remove fillerty
Make type lookup more efficient
Support shared generic factory code

llvm-svn: 465
2001-09-07 16:56:42 +00:00
Chris Lattner 9e0f1cb3ad Types and constnats are wierd objects in the symtabs
Support abstract types in symtab

llvm-svn: 464
2001-09-07 16:48:17 +00:00
Chris Lattner f50b723d9c Modules must have a valid, nonnull type. Make them void
llvm-svn: 463
2001-09-07 16:47:42 +00:00
Chris Lattner 5c764a5a9b Support new setName interface
llvm-svn: 462
2001-09-07 16:47:18 +00:00
Chris Lattner e8dd6ad040 * Support new setname interface
* Add assertion for sanity checking

llvm-svn: 461
2001-09-07 16:47:03 +00:00
Chris Lattner 49d855ca31 * 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

llvm-svn: 460
2001-09-07 16:46:31 +00:00
Chris Lattner 2d189a5981 Support new setName itf
llvm-svn: 459
2001-09-07 16:44:17 +00:00
Chris Lattner da010ca1b9 Annotations are const objects now
llvm-svn: 458
2001-09-07 16:44:01 +00:00
Chris Lattner d707ec62b6 Types and constants are wierd things in symbol tables now
llvm-svn: 457
2001-09-07 16:43:50 +00:00
Chris Lattner dae05dc937 * Eliminate reference to ConstantPool class
* Constants are global objects that are not allocated or freed

llvm-svn: 456
2001-09-07 16:43:22 +00:00
Chris Lattner e57fc205f4 Constant pool is dead
llvm-svn: 455
2001-09-07 16:42:51 +00:00
Chris Lattner 6d7bce9f3c Constants are now global unique objects
llvm-svn: 454
2001-09-07 16:42:26 +00:00
Chris Lattner 07e158de3c * Eliminate constant pool dependancies:
* Eliminate DoRemoveUnusedConstants

llvm-svn: 453
2001-09-07 16:42:08 +00:00
Chris Lattner 030772df99 * 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)

llvm-svn: 452
2001-09-07 16:41:30 +00:00
Chris Lattner bbb229655b * Support global constants
* Eliminate need for constant pool

llvm-svn: 451
2001-09-07 16:40:34 +00:00
Chris Lattner 4eb6d9fd85 annotations are now const
llvm-svn: 450
2001-09-07 16:40:04 +00:00