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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Vikram S. Adve [Tue, 28 Aug 2001 23:07:19 +0000 (23:07 +0000)]
Implementation of instruction scheduling for LLVM.
Currently schedules one basic block at a time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@396
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 23:06:49 +0000 (23:06 +0000)]
Class that encapsulates priority heuristics for instruction scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@395
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 23:06:02 +0000 (23:06 +0000)]
Scheduling DAG for instruction scheduling. Currently for a single basic block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@394
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 23:04:38 +0000 (23:04 +0000)]
Moved debug options declaration to header file, and moved
a function to MachineInstr.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@393
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 23:02:39 +0000 (23:02 +0000)]
Moved function PrintMachineInstructions here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@392
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 22:36:35 +0000 (22:36 +0000)]
analyze() now checks to see that we don't analyze the same method twice.
Needs a mechnanism to override this check (e.g., after a transformation).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@391
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 22:35:21 +0000 (22:35 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@390
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 21:40:27 +0000 (21:40 +0000)]
Simplification transformations to normalize the code for later passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@389
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 21:35:26 +0000 (21:35 +0000)]
Use const int instead of #define.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@388
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 21:34:56 +0000 (21:34 +0000)]
Add copy and assignment operators for POIterator, and
static constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@387
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 28 Aug 2001 21:33:33 +0000 (21:33 +0000)]
Added InstrSched library to link line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@386
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 18:54:45 +0000 (18:54 +0000)]
I suck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@385
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 16:00:15 +0000 (16:00 +0000)]
Initial checkin of TargetData code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@384
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:52:13 +0000 (15:52 +0000)]
Remove target specific stuff from Type classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@383
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:51:43 +0000 (15:51 +0000)]
Remove target specific method from MemAccessInst class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@382
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:51:16 +0000 (15:51 +0000)]
Convert to use the new factored out TargetData class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@381
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:50:41 +0000 (15:50 +0000)]
Factor code out to the TargetData class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@380
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:50:12 +0000 (15:50 +0000)]
Use the new TargetData class to factor out some of the shared code
between the static compilers and the interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@379
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:49:36 +0000 (15:49 +0000)]
Remove target specific method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@378
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 15:49:16 +0000 (15:49 +0000)]
Remove target specific code, move to TargetData.cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@377
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 05:19:10 +0000 (05:19 +0000)]
Support passing a data pointer to annotation factory methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@376
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 05:18:35 +0000 (05:18 +0000)]
Demolish explicit source list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 05:17:47 +0000 (05:17 +0000)]
Extend annotations to pass data pointers around to the functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 05:17:20 +0000 (05:17 +0000)]
Add another TODO: sigh
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 27 Aug 2001 05:16:50 +0000 (05:16 +0000)]
Lots of new functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372
91177308-0d34-0410-b5e6-
96231b3b80d8