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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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