oota-llvm.git
22 years agoEach tools should not make tags
Chris Lattner [Sat, 13 Oct 2001 05:10:29 +0000 (05:10 +0000)]
Each tools should not make tags

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

22 years ago--corrected coalescing test: coalsed only if two are of the same reg class
Ruchira Sasanka [Fri, 12 Oct 2001 17:48:18 +0000 (17:48 +0000)]
--corrected coalescing test: coalsed only if two are of the same reg class

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

22 years agoadded support for implict operands in machine instruction
Ruchira Sasanka [Fri, 12 Oct 2001 17:47:23 +0000 (17:47 +0000)]
added support for implict operands in machine instruction

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

22 years ago--added support for implicit operands in machine instructions
Ruchira Sasanka [Fri, 12 Oct 2001 17:46:27 +0000 (17:46 +0000)]
--added support for implicit operands in machine instructions

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

22 years agoDelete *.s on clean.
Vikram S. Adve [Thu, 11 Oct 2001 04:24:10 +0000 (04:24 +0000)]
Delete *.s on clean.

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

22 years agoRecord implicitRefs for each machine instruction instead of
Vikram S. Adve [Thu, 11 Oct 2001 04:23:19 +0000 (04:23 +0000)]
Record implicitRefs for each machine instruction instead of
each VM instruction.

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

22 years agoAdd graph edges due to implicit refs in each machine instruction.
Vikram S. Adve [Thu, 11 Oct 2001 04:22:45 +0000 (04:22 +0000)]
Add graph edges due to implicit refs in each machine instruction.

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

22 years agoAdded a rule for building TAGS.
Vikram S. Adve [Wed, 10 Oct 2001 22:35:00 +0000 (22:35 +0000)]
Added a rule for building TAGS.

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

22 years agoRepeat some libs due to circular dependences between Sparc and other
Vikram S. Adve [Wed, 10 Oct 2001 20:58:57 +0000 (20:58 +0000)]
Repeat some libs due to circular dependences between Sparc and other
code gen libraries.

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

22 years agoDon't insert useful instructions in delay slot of a RETURN.
Vikram S. Adve [Wed, 10 Oct 2001 20:58:11 +0000 (20:58 +0000)]
Don't insert useful instructions in delay slot of a RETURN.

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

22 years agoInsert code to load constants used as Call or Return arguments.
Vikram S. Adve [Wed, 10 Oct 2001 20:56:33 +0000 (20:56 +0000)]
Insert code to load constants used as Call or Return arguments.
Also, note return value of a Call as an "implicitUse".

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

22 years agoMachine-independent code generation routines used in instruction
Vikram S. Adve [Wed, 10 Oct 2001 20:50:43 +0000 (20:50 +0000)]
Machine-independent code generation routines used in instruction
selection.  These used to live in several different places before.

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

22 years agoMoved code generation support routines to InstrSelectionSupport.{h,cpp}.
Vikram S. Adve [Wed, 10 Oct 2001 20:50:20 +0000 (20:50 +0000)]
Moved code generation support routines to InstrSelectionSupport.{h,cpp}.

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

22 years agoMoved code generation support routines to InstrSelectionSupport.cpp.
Vikram S. Adve [Wed, 10 Oct 2001 20:49:07 +0000 (20:49 +0000)]
Moved code generation support routines to InstrSelectionSupport.cpp.

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

22 years agoMoved first function to "simpleadd.ll".
Vikram S. Adve [Wed, 10 Oct 2001 20:12:15 +0000 (20:12 +0000)]
Moved first function to "simpleadd.ll".

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

22 years agotestmemory and sumarray now work with instruction selection.
Vikram S. Adve [Wed, 10 Oct 2001 20:10:48 +0000 (20:10 +0000)]
testmemory and sumarray now work with instruction selection.

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

22 years ago--removed %g regs being allocated - fix later
Ruchira Sasanka [Tue, 9 Oct 2001 23:36:13 +0000 (23:36 +0000)]
--removed %g regs being allocated - fix later

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

22 years agoAdd hack to get rid of malloc & free instructions for code generation
Chris Lattner [Thu, 4 Oct 2001 01:40:53 +0000 (01:40 +0000)]
Add hack to get rid of malloc & free instructions for code generation

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

22 years agoAdd comment
Chris Lattner [Wed, 3 Oct 2001 19:35:57 +0000 (19:35 +0000)]
Add comment

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

22 years agoSupport multiple global's definitions
Chris Lattner [Wed, 3 Oct 2001 19:35:04 +0000 (19:35 +0000)]
Support multiple global's definitions

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

22 years agoFactor parentness out of Module & GlobalVariable into GlobalValue
Chris Lattner [Wed, 3 Oct 2001 19:28:15 +0000 (19:28 +0000)]
Factor parentness out of Module & GlobalVariable into GlobalValue
Implement SymbolTable debug/dump utility

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

22 years agoRename getNullPointer to getNull
Chris Lattner [Wed, 3 Oct 2001 15:39:36 +0000 (15:39 +0000)]
Rename getNullPointer to getNull
Allow sharing of null pointer constants

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

22 years agoRename getNullPointer to getNull
Chris Lattner [Wed, 3 Oct 2001 15:39:24 +0000 (15:39 +0000)]
Rename getNullPointer to getNull

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

22 years agoAllow duplicate constant values as long as they are compatible.
Chris Lattner [Wed, 3 Oct 2001 15:39:04 +0000 (15:39 +0000)]
Allow duplicate constant values as long as they are compatible.
Clean up stuff a little bit with inMethod/ModuleContext functions

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

22 years agoShare ConstPoolPointer elements correctly
Chris Lattner [Wed, 3 Oct 2001 15:38:36 +0000 (15:38 +0000)]
Share ConstPoolPointer elements correctly

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

22 years agoFix broken testcase
Chris Lattner [Wed, 3 Oct 2001 14:59:11 +0000 (14:59 +0000)]
Fix broken testcase

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

22 years agoAdd check to make sure that we dont reference MEthodType's directly
Chris Lattner [Wed, 3 Oct 2001 14:59:05 +0000 (14:59 +0000)]
Add check to make sure that we dont reference MEthodType's directly

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

22 years ago* Both Method & GlobalVariable now subclass GlobalValue
Chris Lattner [Wed, 3 Oct 2001 14:53:21 +0000 (14:53 +0000)]
* Both Method & GlobalVariable now subclass GlobalValue
* ConstPoolPointerReference now represents a pointer to a GlobalValue
* Methods name references are now explicit pointers to methods
* Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion

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

22 years agoAdjust test cases to match the fact that methods are now explicit pointer values...
Chris Lattner [Wed, 3 Oct 2001 14:50:12 +0000 (14:50 +0000)]
Adjust test cases to match the fact that methods are now explicit pointer values, not explicit

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

22 years agoFirst try at a horrible global value reference wrapper
Chris Lattner [Wed, 3 Oct 2001 06:12:09 +0000 (06:12 +0000)]
First try at a horrible global value reference wrapper

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

22 years agoClean up parser, fix a bug that prevented this from working:
Chris Lattner [Wed, 3 Oct 2001 03:19:33 +0000 (03:19 +0000)]
Clean up parser, fix a bug that prevented this from working:

%ListNode3 = global %list { %list* null, int 4 }

because %list is name and the parser expected a literal {..} type there.

In addition, simplified rules that the fix (Allow any Types there, not just a StructType)
made obsolete.  Simplified type propogation a bit.

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

22 years ago* Add support for null as a constant
Chris Lattner [Wed, 3 Oct 2001 01:49:25 +0000 (01:49 +0000)]
* Add support for null as a constant
* Allow multiple definitions of a type with the same name as long as they are the same type
* Eagerly resolve types to allow #2 to work instead of after the whole const pool has been processed
* Change grammar to require a const before a local constant definition

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

22 years agoModify testcases for new LLVM const syntax
Chris Lattner [Wed, 3 Oct 2001 01:48:04 +0000 (01:48 +0000)]
Modify testcases for new LLVM const syntax

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

22 years agoCommit more code over to new cast style
Chris Lattner [Tue, 2 Oct 2001 03:41:24 +0000 (03:41 +0000)]
Commit more code over to new cast style

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

22 years agoConvert more code to use new style casts
Chris Lattner [Mon, 1 Oct 2001 20:11:19 +0000 (20:11 +0000)]
Convert more code to use new style casts
Eliminate old style casts from value.h

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

22 years agoAdd more support for new style casts
Chris Lattner [Mon, 1 Oct 2001 18:26:53 +0000 (18:26 +0000)]
Add more support for new style casts
Convert more code to use them

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

22 years agoAdd support for new style casts
Chris Lattner [Mon, 1 Oct 2001 16:18:37 +0000 (16:18 +0000)]
Add support for new style casts

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

22 years agoAdd support for newer cleaner isa, cast, dyn_cast
Chris Lattner [Mon, 1 Oct 2001 13:58:13 +0000 (13:58 +0000)]
Add support for newer cleaner isa, cast, dyn_cast

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

22 years agoUpdate comments
Chris Lattner [Mon, 1 Oct 2001 13:34:22 +0000 (13:34 +0000)]
Update comments

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

22 years agoPull predecessor and successor iterators out of the CFG*.h files, and plop them into
Chris Lattner [Mon, 1 Oct 2001 13:19:53 +0000 (13:19 +0000)]
Pull predecessor and successor iterators out of the CFG*.h files, and plop them into
the BasicBlock class where they should be.  pred_begin/pred_end become methods on BasicBlock,
and the cfg namespace isn't used anymore.

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

22 years agoPull predecessor and successor iterators out of the CFG*.h files, and plop them into
Chris Lattner [Mon, 1 Oct 2001 13:19:41 +0000 (13:19 +0000)]
Pull predecessor and successor iterators out of the CFG*.h files, and plop them into
the BasicBlock class where they should be.  pred_begin/pred_end become methods on BasicBlock,
and the cfg namespace isn't used anymore.

Also pull Interval stuff into the Interval class out of the global namespace

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

22 years agoComment out a paragraph that refers to a file that no longer exists
Chris Lattner [Mon, 1 Oct 2001 13:18:35 +0000 (13:18 +0000)]
Comment out a paragraph that refers to a file that no longer exists

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

22 years agoFix emission of return instructions
Chris Lattner [Mon, 1 Oct 2001 02:32:34 +0000 (02:32 +0000)]
Fix emission of return instructions

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

22 years agoAdd path to as so it doesn't find llvm as if that path is set.
Chris Lattner [Mon, 1 Oct 2001 00:50:36 +0000 (00:50 +0000)]
Add path to as so it doesn't find llvm as if that path is set.

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

22 years agoExclude a couple of tests that the regalloc stuff doesn't handle yet
Chris Lattner [Mon, 1 Oct 2001 00:40:49 +0000 (00:40 +0000)]
Exclude a couple of tests that the regalloc stuff doesn't handle yet

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

22 years agoAdd different "cast constant value" for several possible types.
Vikram S. Adve [Mon, 1 Oct 2001 00:23:12 +0000 (00:23 +0000)]
Add different "cast constant value" for several possible types.
Note these are actually generated by Phis with constant operands.

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

22 years agoAdd vector `implicitUses' to class MachineCodeForVMInstr to hold values
Vikram S. Adve [Mon, 1 Oct 2001 00:18:12 +0000 (00:18 +0000)]
Add vector `implicitUses' to class MachineCodeForVMInstr to hold values
that are used by the VM instruction but not explicit operands of the
m/c instruction.

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

22 years agoSeveral fixes:
Vikram S. Adve [Mon, 1 Oct 2001 00:12:53 +0000 (00:12 +0000)]
Several fixes:
(1) Avoid hard-coding some register numbers.
(2) Fix some incorrect branch opcodes.
(3) Don't try to move int register to float register!
(4) If an operand being forwarded is a constant and it doesn't fit
    into the immed field of the copy machine instruction, then
    generate a load-constant instead of a copy.
(5) Use (unsigned long) 0 for copying a pointer via "add 0, ptr -> ptr2".

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

22 years agoremoving phy regaloc - incorrect file
Ruchira Sasanka [Sun, 30 Sep 2001 23:52:14 +0000 (23:52 +0000)]
removing phy regaloc - incorrect file

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

22 years agoChange latency of setuw and setsw to 2 cycles.
Vikram S. Adve [Sun, 30 Sep 2001 23:46:57 +0000 (23:46 +0000)]
Change latency of setuw and setsw to 2 cycles.

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

22 years agoChange ! ( ...== ...) to !=.
Vikram S. Adve [Sun, 30 Sep 2001 23:45:08 +0000 (23:45 +0000)]
Change ! ( ...== ...)  to !=.

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

22 years agoImproved dump for disp type operand.
Vikram S. Adve [Sun, 30 Sep 2001 23:44:19 +0000 (23:44 +0000)]
Improved dump for disp type operand.

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

22 years agoBug fixes:
Vikram S. Adve [Sun, 30 Sep 2001 23:43:34 +0000 (23:43 +0000)]
Bug fixes:
(1) Ensure that delay slot instructions are not moved out of place (this
    was happening for some CALL instructions).  Basically, we need to
    move all delay slot instructions out of the graph and handle them
    along with the delayed control transfer instruction.
(2) Mark scheduled instructions correctly when instructions are scheduled
    in more than one cycle in a single step (due to delay slots).

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

22 years agoMinor changes for bug fixes in SchedGraph.cpp.
Vikram S. Adve [Sun, 30 Sep 2001 23:37:26 +0000 (23:37 +0000)]
Minor changes for bug fixes in SchedGraph.cpp.

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

22 years agoTwo bug fixes:
Vikram S. Adve [Sun, 30 Sep 2001 23:36:58 +0000 (23:36 +0000)]
Two bug fixes:
(1) Add edges for Values that are written by multiple m/c instructions
(2) Add edges for LLVM operands that are not machine operands (e.g., Call args)

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

22 years ago*** empty log message ***
Ruchira Sasanka [Sun, 30 Sep 2001 23:28:04 +0000 (23:28 +0000)]
*** empty log message ***

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

22 years agono major change.
Ruchira Sasanka [Sun, 30 Sep 2001 23:22:45 +0000 (23:22 +0000)]
no major change.

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

22 years agoadded suggesting color support
Ruchira Sasanka [Sun, 30 Sep 2001 23:19:57 +0000 (23:19 +0000)]
added suggesting color support

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

22 years agoadded suggesting color suppor
Ruchira Sasanka [Sun, 30 Sep 2001 23:19:09 +0000 (23:19 +0000)]
added suggesting color suppor

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

22 years agoadded support for suggesting colors
Ruchira Sasanka [Sun, 30 Sep 2001 23:16:47 +0000 (23:16 +0000)]
added support for suggesting colors

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

22 years ago--added suggesting colors; call/ret arg handling
Ruchira Sasanka [Sun, 30 Sep 2001 23:11:59 +0000 (23:11 +0000)]
--added suggesting colors; call/ret arg handling

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

22 years agoAdd a test for the new null keyword
Chris Lattner [Sun, 30 Sep 2001 22:47:06 +0000 (22:47 +0000)]
Add a test for the new null keyword

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

22 years agoImplement constant pointers, and null specifically in the parser, bytecode writer...
Chris Lattner [Sun, 30 Sep 2001 22:46:54 +0000 (22:46 +0000)]
Implement constant pointers, and null specifically in the parser, bytecode writer, and
bytecode reader.

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

22 years agoImplement a constant pointer value
Chris Lattner [Sun, 30 Sep 2001 20:14:07 +0000 (20:14 +0000)]
Implement a constant pointer value

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

22 years agoPull iterators out of CFG.h and genericize them with GraphTraits
Chris Lattner [Fri, 28 Sep 2001 22:59:14 +0000 (22:59 +0000)]
Pull iterators out of CFG.h and genericize them with GraphTraits

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

22 years agoFile #include file
Chris Lattner [Fri, 28 Sep 2001 22:56:43 +0000 (22:56 +0000)]
File #include file

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

22 years agoPull iterators out of CFG.h and CFGdecls and put them in Support directory
Chris Lattner [Fri, 28 Sep 2001 22:56:31 +0000 (22:56 +0000)]
Pull iterators out of CFG.h and CFGdecls and put them in Support directory

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

22 years ago* Properly escape function names
Chris Lattner [Fri, 28 Sep 2001 15:07:24 +0000 (15:07 +0000)]
* Properly escape function names
* Ignore %xcc argument on conditional branches

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

22 years agoCheck in bug fix for vadve
Chris Lattner [Fri, 28 Sep 2001 15:06:55 +0000 (15:06 +0000)]
Check in bug fix for vadve

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

22 years agoAdd commands to assemble and compile a .ll file
Chris Lattner [Fri, 28 Sep 2001 14:13:09 +0000 (14:13 +0000)]
Add commands to assemble and compile a .ll file

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

22 years agoInitial support for construction of a call graph
Chris Lattner [Fri, 28 Sep 2001 00:08:15 +0000 (00:08 +0000)]
Initial support for construction of a call graph

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

22 years agoAdd support to print a call graph, and also add support for module level interprocedu...
Chris Lattner [Fri, 28 Sep 2001 00:07:36 +0000 (00:07 +0000)]
Add support to print a call graph, and also add support for module level interprocedural analyses

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

22 years agoAdding the tool to the path doesn't break anything anymore
Chris Lattner [Fri, 28 Sep 2001 00:07:10 +0000 (00:07 +0000)]
Adding the tool to the path doesn't break anything anymore

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

22 years agoMake error report a little more useful
Chris Lattner [Fri, 28 Sep 2001 00:06:52 +0000 (00:06 +0000)]
Make error report a little more useful

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

22 years agoADCE is broken but at least we know why
Chris Lattner [Fri, 28 Sep 2001 00:06:42 +0000 (00:06 +0000)]
ADCE is broken but at least we know why

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

22 years agoprint out value's by pointer
Chris Lattner [Fri, 28 Sep 2001 00:06:28 +0000 (00:06 +0000)]
print out value's by pointer

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

22 years agoAdd capability to print out call graph
Chris Lattner [Fri, 28 Sep 2001 00:06:15 +0000 (00:06 +0000)]
Add capability to print out call graph

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

22 years agoGlobal variables/complex constants have been resolved!
Chris Lattner [Fri, 28 Sep 2001 00:06:05 +0000 (00:06 +0000)]
Global variables/complex constants have been resolved!

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

22 years ago-- fixed a ret val bug
Ruchira Sasanka [Wed, 19 Sep 2001 22:40:51 +0000 (22:40 +0000)]
-- fixed a ret val bug

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

22 years ago-- removed debugging messages
Ruchira Sasanka [Wed, 19 Sep 2001 22:39:58 +0000 (22:39 +0000)]
-- removed debugging messages

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

22 years ago-fixed return value bug.
Ruchira Sasanka [Wed, 19 Sep 2001 22:31:21 +0000 (22:31 +0000)]
-fixed return value bug.

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

22 years agoAdd proper support to send output to the right place
Chris Lattner [Wed, 19 Sep 2001 16:52:09 +0000 (16:52 +0000)]
Add proper support to send output to the right place

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

22 years agoPrint .def files as well as other files
Chris Lattner [Wed, 19 Sep 2001 16:51:10 +0000 (16:51 +0000)]
Print .def files as well as other files

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

22 years agoChange debug info from #define to command line option
Chris Lattner [Wed, 19 Sep 2001 16:26:23 +0000 (16:26 +0000)]
Change debug info from #define to command line option
Clean up extra debug info that wasn't guarded

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

22 years agoChange debug info from #define to command line option
Chris Lattner [Wed, 19 Sep 2001 16:26:10 +0000 (16:26 +0000)]
Change debug info from #define to command line option

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

22 years ago* REMOVE extraneous debug info if DEBUG_RA is not set
Chris Lattner [Wed, 19 Sep 2001 16:09:04 +0000 (16:09 +0000)]
* REMOVE extraneous debug info if DEBUG_RA is not set
* Spell PhyRegAlloc right.

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

22 years agoSeperate instruction definitions into new SparcInstr.def file
Chris Lattner [Wed, 19 Sep 2001 15:56:23 +0000 (15:56 +0000)]
Seperate instruction definitions into new SparcInstr.def file

Move contents of SparcMachineInstrDesc[] out of SparcInternals.h
into Sparc.cpp

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

22 years agoOkay, make the member function work.
Chris Lattner [Wed, 19 Sep 2001 14:09:25 +0000 (14:09 +0000)]
Okay, make the member function work.

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

22 years agoRemove global debug output fns that have been superceded by a member func
Chris Lattner [Wed, 19 Sep 2001 14:08:53 +0000 (14:08 +0000)]
Remove global debug output fns that have been superceded by a member func

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

22 years agoRemove debugging output stuff
Chris Lattner [Wed, 19 Sep 2001 14:08:25 +0000 (14:08 +0000)]
Remove debugging output stuff

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

22 years agoEmit assembly language from the target...
Chris Lattner [Wed, 19 Sep 2001 13:56:47 +0000 (13:56 +0000)]
Emit assembly language from the target...

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

22 years agoAdd emitAssembly Method
Chris Lattner [Wed, 19 Sep 2001 13:54:19 +0000 (13:54 +0000)]
Add emitAssembly Method

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

22 years agoAdd idea
Chris Lattner [Wed, 19 Sep 2001 13:52:01 +0000 (13:52 +0000)]
Add idea

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

22 years agoAdd EmitAssembly to mf
Chris Lattner [Wed, 19 Sep 2001 13:48:18 +0000 (13:48 +0000)]
Add EmitAssembly to mf

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

22 years agoFirst cut at assembly output
Chris Lattner [Wed, 19 Sep 2001 13:47:27 +0000 (13:47 +0000)]
First cut at assembly output

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

22 years agoAdd emitAssemblyMethod to TargetMachine
Chris Lattner [Wed, 19 Sep 2001 13:47:12 +0000 (13:47 +0000)]
Add emitAssemblyMethod to TargetMachine

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

22 years ago*** empty log message ***
Ruchira Sasanka [Tue, 18 Sep 2001 22:57:47 +0000 (22:57 +0000)]
*** empty log message ***

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

22 years ago--added methods to operand class to set/get registers after register allocation
Ruchira Sasanka [Tue, 18 Sep 2001 22:54:47 +0000 (22:54 +0000)]
--added methods to operand class to set/get registers after register allocation

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

22 years ago-- ruchira
Ruchira Sasanka [Tue, 18 Sep 2001 22:52:44 +0000 (22:52 +0000)]
-- ruchira

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

22 years ago-- updated printing
Ruchira Sasanka [Tue, 18 Sep 2001 22:43:57 +0000 (22:43 +0000)]
-- updated printing

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