Chris Lattner
43781f1f96
Add support for new style casts
...
llvm-svn: 694
2001-10-01 16:18:37 +00:00
Chris Lattner
b59e92797b
Add support for newer cleaner isa, cast, dyn_cast
...
llvm-svn: 693
2001-10-01 13:58:13 +00:00
Chris Lattner
bb7743d148
Update comments
...
llvm-svn: 692
2001-10-01 13:34:22 +00:00
Chris Lattner
345daca305
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.
llvm-svn: 691
2001-10-01 13:19:53 +00:00
Chris Lattner
e646911562
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
llvm-svn: 690
2001-10-01 13:19:41 +00:00
Chris Lattner
dd4b6a1f5b
Comment out a paragraph that refers to a file that no longer exists
...
llvm-svn: 689
2001-10-01 13:18:35 +00:00
Chris Lattner
716c1ac09e
Fix emission of return instructions
...
llvm-svn: 688
2001-10-01 02:32:34 +00:00
Chris Lattner
0d1998546d
Add path to as so it doesn't find llvm as if that path is set.
...
llvm-svn: 687
2001-10-01 00:50:36 +00:00
Chris Lattner
c82ad749e2
Exclude a couple of tests that the regalloc stuff doesn't handle yet
...
llvm-svn: 686
2001-10-01 00:40:49 +00:00
Vikram S. Adve
86af89c10d
Add different "cast constant value" for several possible types.
...
Note these are actually generated by Phis with constant operands.
llvm-svn: 685
2001-10-01 00:23:12 +00:00
Vikram S. Adve
a491a05515
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.
llvm-svn: 684
2001-10-01 00:18:12 +00:00
Vikram S. Adve
4bdadf3b6f
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".
llvm-svn: 683
2001-10-01 00:12:53 +00:00
Ruchira Sasanka
294d643339
removing phy regaloc - incorrect file
...
llvm-svn: 682
2001-09-30 23:52:14 +00:00
Vikram S. Adve
5201cd7f93
Change latency of setuw and setsw to 2 cycles.
...
llvm-svn: 681
2001-09-30 23:46:57 +00:00
Vikram S. Adve
8c431d2726
Change ! ( ...== ...) to !=.
...
llvm-svn: 680
2001-09-30 23:45:08 +00:00
Vikram S. Adve
7b68e7247a
Improved dump for disp type operand.
...
llvm-svn: 679
2001-09-30 23:44:19 +00:00
Vikram S. Adve
180dee14b8
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).
llvm-svn: 678
2001-09-30 23:43:34 +00:00
Vikram S. Adve
d376407048
Minor changes for bug fixes in SchedGraph.cpp.
...
llvm-svn: 677
2001-09-30 23:37:26 +00:00
Vikram S. Adve
5d7dcfd698
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)
llvm-svn: 676
2001-09-30 23:36:58 +00:00
Ruchira Sasanka
fa120a9fb1
*** empty log message ***
...
llvm-svn: 675
2001-09-30 23:28:04 +00:00
Ruchira Sasanka
9d68af20a7
no major change.
...
llvm-svn: 674
2001-09-30 23:22:45 +00:00
Ruchira Sasanka
cfc7b10745
added suggesting color support
...
llvm-svn: 673
2001-09-30 23:19:57 +00:00
Ruchira Sasanka
bd64539bb4
added suggesting color suppor
...
llvm-svn: 672
2001-09-30 23:19:09 +00:00
Ruchira Sasanka
897da2bda1
added support for suggesting colors
...
llvm-svn: 671
2001-09-30 23:16:47 +00:00
Ruchira Sasanka
e04709a704
--added suggesting colors; call/ret arg handling
...
llvm-svn: 670
2001-09-30 23:11:59 +00:00
Chris Lattner
4c6db60979
Add a test for the new null keyword
...
llvm-svn: 669
2001-09-30 22:47:06 +00:00
Chris Lattner
b77eae1b27
Implement constant pointers, and null specifically in the parser, bytecode writer, and
...
bytecode reader.
llvm-svn: 668
2001-09-30 22:46:54 +00:00
Chris Lattner
94ef0a1a2c
Implement a constant pointer value
...
llvm-svn: 667
2001-09-30 20:14:07 +00:00
Chris Lattner
a8f5e13f7a
Pull iterators out of CFG.h and genericize them with GraphTraits
...
llvm-svn: 666
2001-09-28 22:59:14 +00:00
Chris Lattner
97440eba29
File #include file
...
llvm-svn: 665
2001-09-28 22:56:43 +00:00
Chris Lattner
9b45b18404
Pull iterators out of CFG.h and CFGdecls and put them in Support directory
...
llvm-svn: 664
2001-09-28 22:56:31 +00:00
Chris Lattner
082a95ea67
* Properly escape function names
...
* Ignore %xcc argument on conditional branches
llvm-svn: 663
2001-09-28 15:07:24 +00:00
Chris Lattner
5390f15d0b
Check in bug fix for vadve
...
llvm-svn: 662
2001-09-28 15:06:55 +00:00
Chris Lattner
b18a515a72
Add commands to assemble and compile a .ll file
...
llvm-svn: 661
2001-09-28 14:13:09 +00:00
Chris Lattner
74c4c61d71
Initial support for construction of a call graph
...
llvm-svn: 660
2001-09-28 00:08:15 +00:00
Chris Lattner
58938f465f
Add support to print a call graph, and also add support for module level interprocedural analyses
...
llvm-svn: 659
2001-09-28 00:07:36 +00:00
Chris Lattner
51fd4a7b61
Adding the tool to the path doesn't break anything anymore
...
llvm-svn: 658
2001-09-28 00:07:10 +00:00
Chris Lattner
02d80cea8c
Make error report a little more useful
...
llvm-svn: 657
2001-09-28 00:06:52 +00:00
Chris Lattner
2fc6c49ee7
ADCE is broken but at least we know why
...
llvm-svn: 656
2001-09-28 00:06:42 +00:00
Chris Lattner
48f0041088
print out value's by pointer
...
llvm-svn: 655
2001-09-28 00:06:28 +00:00
Chris Lattner
62dea18f11
Add capability to print out call graph
...
llvm-svn: 654
2001-09-28 00:06:15 +00:00
Chris Lattner
452476d01c
Global variables/complex constants have been resolved!
...
llvm-svn: 653
2001-09-28 00:06:05 +00:00
Ruchira Sasanka
b43f15e73a
-- fixed a ret val bug
...
llvm-svn: 652
2001-09-19 22:40:51 +00:00
Ruchira Sasanka
b9da0f9024
-- removed debugging messages
...
llvm-svn: 651
2001-09-19 22:39:58 +00:00
Ruchira Sasanka
cbabf19f3b
-fixed return value bug.
...
llvm-svn: 650
2001-09-19 22:31:21 +00:00
Chris Lattner
43647563f5
Add proper support to send output to the right place
...
llvm-svn: 649
2001-09-19 16:52:09 +00:00
Chris Lattner
0e589bf83b
Print .def files as well as other files
...
llvm-svn: 648
2001-09-19 16:51:10 +00:00
Chris Lattner
c1073581ae
Change debug info from #define to command line option
...
Clean up extra debug info that wasn't guarded
llvm-svn: 647
2001-09-19 16:26:23 +00:00
Chris Lattner
030d4ca8f4
Change debug info from #define to command line option
...
llvm-svn: 646
2001-09-19 16:26:10 +00:00
Chris Lattner
81a5329a90
* REMOVE extraneous debug info if DEBUG_RA is not set
...
* Spell PhyRegAlloc right.
llvm-svn: 645
2001-09-19 16:09:04 +00:00