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

22 years agoRemove a copy of a bunch of code
Chris Lattner [Tue, 18 Sep 2001 18:15:40 +0000 (18:15 +0000)]
Remove a copy of a bunch of code

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

22 years agoC++ gives us auto_ptr's, so we might as well use them. :)
Chris Lattner [Tue, 18 Sep 2001 17:04:18 +0000 (17:04 +0000)]
C++ gives us auto_ptr's, so we might as well use them.  :)

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

22 years agoFix up code a bit, remove operator<< to Assembly/Writer.h
Chris Lattner [Tue, 18 Sep 2001 17:03:59 +0000 (17:03 +0000)]
Fix up code a bit, remove operator<< to Assembly/Writer.h

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

22 years agoRemove extraneous #includes
Chris Lattner [Tue, 18 Sep 2001 17:03:48 +0000 (17:03 +0000)]
Remove extraneous #includes

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

22 years agoMove operator << from Value.h to Assembly/Writer.h
Chris Lattner [Tue, 18 Sep 2001 17:03:14 +0000 (17:03 +0000)]
Move operator << from Value.h to Assembly/Writer.h

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

22 years agoRemove operator << to Assembly/Writer.h
Chris Lattner [Tue, 18 Sep 2001 17:03:04 +0000 (17:03 +0000)]
Remove operator << to Assembly/Writer.h

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

22 years agoDon't check for null on delete
Chris Lattner [Tue, 18 Sep 2001 17:02:42 +0000 (17:02 +0000)]
Don't check for null on delete

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

22 years agoUn-neuter makefile
Chris Lattner [Tue, 18 Sep 2001 16:33:36 +0000 (16:33 +0000)]
Un-neuter makefile

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

22 years agoMinor changes.
Vikram S. Adve [Tue, 18 Sep 2001 13:10:45 +0000 (13:10 +0000)]
Minor changes.

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

22 years agoFolded inssel*.ll into select.ll.
Vikram S. Adve [Tue, 18 Sep 2001 13:10:26 +0000 (13:10 +0000)]
Folded inssel*.ll into select.ll.

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

22 years agoRenamed files to match the primary classes they provide.
Vikram S. Adve [Tue, 18 Sep 2001 13:10:05 +0000 (13:10 +0000)]
Renamed files to match the primary classes they provide.

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

22 years agoRenamed a header file.
Vikram S. Adve [Tue, 18 Sep 2001 13:04:53 +0000 (13:04 +0000)]
Renamed a header file.

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

22 years agoMake class TargetMachine the common interface to all target-dependent
Vikram S. Adve [Tue, 18 Sep 2001 13:04:24 +0000 (13:04 +0000)]
Make class TargetMachine the common interface to all target-dependent
information, including instr, sched, and reg information.
This allows us to allocate them all in one place and use them much
more uniformly.

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

22 years agoAllow pointer constants as well as integer and booleans.
Vikram S. Adve [Tue, 18 Sep 2001 13:03:13 +0000 (13:03 +0000)]
Allow pointer constants as well as integer and booleans.
Skip over list nodes in ForwardOperand.

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

22 years agoMake class TargetMachine the common interface to all target-dependent
Vikram S. Adve [Tue, 18 Sep 2001 13:01:29 +0000 (13:01 +0000)]
Make class TargetMachine the common interface to all target-dependent
information, including instr, sched, and reg information.
Rename files to match the primary classes they provide.
Commented out call to register allocation until more tests run correctly.

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

22 years agoRenamed files to match the main classes they provide.
Vikram S. Adve [Tue, 18 Sep 2001 12:58:33 +0000 (12:58 +0000)]
Renamed files to match the main classes they provide.
Some other minor changes.

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

22 years agoCast unsigned to int! It was causing a nice little bug.
Vikram S. Adve [Tue, 18 Sep 2001 12:57:39 +0000 (12:57 +0000)]
Cast unsigned to int!  It was causing a nice little bug.

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

22 years agoMinor changes.
Vikram S. Adve [Tue, 18 Sep 2001 12:56:28 +0000 (12:56 +0000)]
Minor changes.

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

22 years agoDon't add instructions to subtree for Phi or Call.
Vikram S. Adve [Tue, 18 Sep 2001 12:54:27 +0000 (12:54 +0000)]
Don't add instructions to subtree for Phi or Call.
Free tree nodes when done.
Avoid obscuring code with for_each and bind_obj :-)

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

22 years agoFormat file header.
Vikram S. Adve [Tue, 18 Sep 2001 12:52:03 +0000 (12:52 +0000)]
Format file header.

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

22 years agoAdd new entry/exit edges when removing delay slot nodes from the graph.
Vikram S. Adve [Tue, 18 Sep 2001 12:51:38 +0000 (12:51 +0000)]
Add new entry/exit edges when removing delay slot nodes from the graph.
Renamed some header files.

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

22 years agoMoved erase edge functions to class SchedGraph.
Vikram S. Adve [Tue, 18 Sep 2001 12:50:40 +0000 (12:50 +0000)]
Moved erase edge functions to class SchedGraph.
Add new dummy edges when deleting existing edges.

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

22 years agoRenamed some header files.
Vikram S. Adve [Tue, 18 Sep 2001 12:49:39 +0000 (12:49 +0000)]
Renamed some header files.

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

22 years agoMoved erase-edge functions from SchedGraphNode to SchedGraph.
Vikram S. Adve [Tue, 18 Sep 2001 12:49:26 +0000 (12:49 +0000)]
Moved erase-edge functions from SchedGraphNode to SchedGraph.
Renamed some header files.

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

22 years agoMoved DebugValue to Value.cpp.
Vikram S. Adve [Tue, 18 Sep 2001 12:48:16 +0000 (12:48 +0000)]
Moved DebugValue to Value.cpp.

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

22 years agoAdded debugging support.
Vikram S. Adve [Tue, 18 Sep 2001 12:44:41 +0000 (12:44 +0000)]
Added debugging support.

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

22 years agoMoved debugging interfaces for class Value to Value.h.
Vikram S. Adve [Tue, 18 Sep 2001 12:43:15 +0000 (12:43 +0000)]
Moved debugging interfaces for class Value to Value.h.

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

22 years agoMinor fixes: renamed target machine files; fold sched info into TargetMachine.
Vikram S. Adve [Tue, 18 Sep 2001 12:41:43 +0000 (12:41 +0000)]
Minor fixes: renamed target machine files; fold sched info into TargetMachine.

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

22 years agoMake class TargetMachine the common interface to all target-dependent
Vikram S. Adve [Tue, 18 Sep 2001 12:38:31 +0000 (12:38 +0000)]
Make class TargetMachine the common interface to all target-dependent
information, including instr, sched, and reg information.
Rename files to match the primary classes they provide.

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

22 years agoAdded debugging support.
Vikram S. Adve [Tue, 18 Sep 2001 12:23:40 +0000 (12:23 +0000)]
Added debugging support.

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

22 years agoFix testcases to handle new syntax for construction and initializeation
Chris Lattner [Tue, 18 Sep 2001 04:38:50 +0000 (04:38 +0000)]
Fix testcases to handle new syntax for construction and initializeation
Test constants

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

22 years agoRemove the unsized array constraint
Chris Lattner [Tue, 18 Sep 2001 04:38:32 +0000 (04:38 +0000)]
Remove the unsized array constraint

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

22 years agoAdd support for global constants, and for initializers for constants
Chris Lattner [Tue, 18 Sep 2001 04:01:05 +0000 (04:01 +0000)]
Add support for global constants, and for initializers for constants

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

22 years agoAdd support for global constants, and for initializers for constants
Chris Lattner [Tue, 18 Sep 2001 04:00:54 +0000 (04:00 +0000)]
Add support for global constants, and for initializers for constants
Clean up parser somewhat by factoring out freeing of ID's into setname function

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

22 years agoadded a method to get reg num after register allocation
Ruchira Sasanka [Sat, 15 Sep 2001 21:11:48 +0000 (21:11 +0000)]
added a method to get reg num after register allocation

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

22 years agomodified machine code printing
Ruchira Sasanka [Sat, 15 Sep 2001 21:11:11 +0000 (21:11 +0000)]
modified machine code printing

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

22 years ago-modified machine operand class - took regNum out of union to set regNum after
Ruchira Sasanka [Sat, 15 Sep 2001 20:16:41 +0000 (20:16 +0000)]
-modified machine operand class - took regNum out of union to set regNum after
retister allocation.

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

22 years agomodified printing of debug messages
Ruchira Sasanka [Sat, 15 Sep 2001 19:11:31 +0000 (19:11 +0000)]
modified printing of debug messages

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

22 years ago--added methods for printing
Ruchira Sasanka [Sat, 15 Sep 2001 19:08:41 +0000 (19:08 +0000)]
--added methods for printing

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

22 years agoadded setRegForValue to MachineOperand class
Ruchira Sasanka [Sat, 15 Sep 2001 19:07:45 +0000 (19:07 +0000)]
added setRegForValue to MachineOperand class

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

22 years agofixed printing messages
Ruchira Sasanka [Sat, 15 Sep 2001 19:06:58 +0000 (19:06 +0000)]
fixed printing messages

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

22 years ago-- debug messages dissabled
Ruchira Sasanka [Sat, 15 Sep 2001 16:54:40 +0000 (16:54 +0000)]
-- debug messages dissabled

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

22 years agoadded reg alloc support
Ruchira Sasanka [Sat, 15 Sep 2001 00:34:31 +0000 (00:34 +0000)]
added reg alloc support

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

22 years ago--reg alloc code added
Ruchira Sasanka [Sat, 15 Sep 2001 00:33:26 +0000 (00:33 +0000)]
--reg alloc code added

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

22 years ago-reg alloc code
Ruchira Sasanka [Sat, 15 Sep 2001 00:31:44 +0000 (00:31 +0000)]
-reg alloc code

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

22 years agoadded register allocation code
Ruchira Sasanka [Sat, 15 Sep 2001 00:30:44 +0000 (00:30 +0000)]
added register allocation code

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

22 years agoAdded regalloc
Ruchira Sasanka [Sat, 15 Sep 2001 00:28:37 +0000 (00:28 +0000)]
Added regalloc

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

22 years agoOops, accidentally checked my debugging makefile
Chris Lattner [Fri, 14 Sep 2001 23:21:08 +0000 (23:21 +0000)]
Oops, accidentally checked my debugging makefile

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

22 years agoFix a bug with not removing method level types after compilation
Chris Lattner [Fri, 14 Sep 2001 22:03:42 +0000 (22:03 +0000)]
Fix a bug with not removing method level types after compilation

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

22 years agoadded RegAlloc Directory to DIRS
Ruchira Sasanka [Fri, 14 Sep 2001 21:28:17 +0000 (21:28 +0000)]
added RegAlloc Directory to DIRS

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

22 years ago*** empty log message ***
Ruchira Sasanka [Fri, 14 Sep 2001 21:18:34 +0000 (21:18 +0000)]
*** empty log message ***

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

22 years ago*** empty log message ***
Ruchira Sasanka [Fri, 14 Sep 2001 20:31:39 +0000 (20:31 +0000)]
*** empty log message ***

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

22 years agoRemove invalid testcase
Chris Lattner [Fri, 14 Sep 2001 20:30:58 +0000 (20:30 +0000)]
Remove invalid testcase

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

22 years agoRemove invalid testcase. Unneccesary anyways
Chris Lattner [Fri, 14 Sep 2001 20:28:57 +0000 (20:28 +0000)]
Remove invalid testcase.  Unneccesary anyways

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

22 years agoAdd new test cases
Chris Lattner [Fri, 14 Sep 2001 20:03:04 +0000 (20:03 +0000)]
Add new test cases

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

22 years agoAdd support for loading and storing pointers...
Chris Lattner [Fri, 14 Sep 2001 20:00:02 +0000 (20:00 +0000)]
Add support for loading and storing pointers...

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

22 years agoFix a bug that caused a crash if a setcc had zero uses.
Chris Lattner [Fri, 14 Sep 2001 18:29:28 +0000 (18:29 +0000)]
Fix a bug that caused a crash if a setcc had zero uses.

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

22 years agoAdd a forward decl, oops.
Chris Lattner [Fri, 14 Sep 2001 17:55:51 +0000 (17:55 +0000)]
Add a forward decl, oops.

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

22 years agoChris seems fond of #include <vector>. Fix these. Also convert use list in
Chris Lattner [Fri, 14 Sep 2001 16:56:32 +0000 (16:56 +0000)]
Chris seems fond of #include <vector>.  Fix these. Also convert use list in
Value to a vector instead of a list.

Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling

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