Chris Lattner
793c6b80d3
Convert xforms over to new pass structure.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1605 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:45:11 +00:00
Chris Lattner
9c9be48b83
If an invalid alternative is listed for an argument, print the valid options
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1604 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:42:56 +00:00
Chris Lattner
93193f8063
Convert analyses to new pass structure
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1603 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:42:27 +00:00
Chris Lattner
0f0fc3253d
Implement loop depth calculation in terms of dominators instead of intervals
...
No problems with irreducibility now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1602 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:42:06 +00:00
Chris Lattner
92a12d5c6b
LoopDepth calculation is now in CFG namespace
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1601 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:41:13 +00:00
Chris Lattner
9261f0e02b
Implement LoopDepth calculation in terms of dominators instead of intervals
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1600 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:41:01 +00:00
Chris Lattner
a4e4b23b6d
Fix bug where we didn't initialize and finalize basic block passes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1599 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:40:44 +00:00
Chris Lattner
bafff3380e
Forgot to force
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1598 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:27:32 +00:00
Chris Lattner
8b309de132
Testcase broken - Entry node of method cannot have predecessors!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1597 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:25:00 +00:00
Chris Lattner
967a04442d
Convert xforms over to use new pass structure
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1596 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 23:29:35 +00:00
Chris Lattner
facd752d3a
Convert analyses over to new Pass framework
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1595 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 23:27:55 +00:00
Chris Lattner
05ad462d1b
Checkin new pass framework. This one is more useful and automatically
...
creates analysis results for passes that need them. MethodPass's never
have to worry about being invoked on external methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1594 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 23:20:39 +00:00
Chris Lattner
b1244c54a4
Don't die on call instructions, which reference methods
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1593 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 23:00:41 +00:00
Chris Lattner
b9a827ce63
Add rule to build tar.gz file.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1592 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 21:20:23 +00:00
Chris Lattner
d8bb7f5028
Exclude doxygen docs from srcs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1591 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 20:39:12 +00:00
Chris Lattner
625568410a
Check in GCC 3.02 compatiblity headers for GCC 2.95.3
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1590 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-30 16:27:12 +00:00
Chris Lattner
296a360dc5
Make gcc tests depend on the part of GCC that actually gets updated.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1589 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-26 22:48:08 +00:00
Chris Lattner
699a7bfd6b
Remove extraneous #includes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1588 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-26 22:47:32 +00:00
Chris Lattner
33fa13c57c
Remove opt namespace
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1587 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-26 22:47:07 +00:00
Chris Lattner
3785a662c2
Checkin support for building doxygen stuff
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1586 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-26 21:16:41 +00:00
Chris Lattner
e8bab6a1c0
Accept, but ignore -lfoo options.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1585 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:59:39 +00:00
Chris Lattner
2122318240
Testcase for SymbolTable.cpp bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1584 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:58:05 +00:00
Chris Lattner
d71cc4b518
This checkin fixes the bug described in:
...
test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1583 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:56:34 +00:00
Chris Lattner
02d429d1db
Check in fix for bug: test/Regression/Assembler/ValueRefineAbsType.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1582 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:45:27 +00:00
Chris Lattner
ef308f8210
Check in testcase and fix
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1581 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:44:58 +00:00
Chris Lattner
15a2e175fd
New testcase to ensure GCC doesn't emit type identifiers with spaces in them
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1580 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-24 20:45:45 +00:00
Chris Lattner
11d11f01a9
Checkin testcase for bug recently fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1579 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-24 19:50:30 +00:00
Chris Lattner
e7fca510f3
Initial Checkin of gccld
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1578 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-24 19:12:12 +00:00
Chris Lattner
ad637cc8ce
Initial Checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1577 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:56:15 +00:00
Chris Lattner
b95e7d5a0b
Initial checkin of now fixed bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1575 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:40:57 +00:00
Chris Lattner
66c1f727bd
Initial Checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1574 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:40:31 +00:00
Chris Lattner
295fe67059
Implement the clock() function
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1573 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:38:07 +00:00
Chris Lattner
52a4e85a98
More rules checked in
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1571 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:36:59 +00:00
Chris Lattner
fa149909ab
Failure.sh moved up a level
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1569 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 20:39:56 +00:00
Chris Lattner
7aeed26bc4
Initial checkin of Makefile, just a dummy file for now.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1566 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 19:57:59 +00:00
Chris Lattner
9363884abe
Initial checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1564 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 19:42:52 +00:00
Chris Lattner
8cb23b2cf9
Change test scripts so that they do not stop on failure, they just print
...
an error message
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 18:04:21 +00:00
Chris Lattner
9288cd9c6b
Initial checking of Failure.sh
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1562 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 18:03:49 +00:00
Chris Lattner
3e81173902
New minimal makefile
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1561 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 17:22:17 +00:00
Chris Lattner
747604218f
Removal of more unnecesary stuff
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1557 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:50:04 +00:00
Chris Lattner
e21206268d
* Expose new command line arg --debug-pass for gccas and llc debugging
...
* Remember to initialize MethodPassBatcher::BBPBatcher instance var in ctor
* Move PassManager::run() from header file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1556 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:49:41 +00:00
Chris Lattner
c560f88e91
Implement new DeadInstElmination pass
...
remove old comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1555 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:48:24 +00:00
Chris Lattner
a16c3efb9f
Make it build with 2.95.3
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1554 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:47:57 +00:00
Chris Lattner
17643a8c9d
* Expose new pass DeadInstElimination
...
* Add comments that describe the differences between the DCE passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1553 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:47:35 +00:00
Chris Lattner
80fceef49b
Pull run() into Pass.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1552 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:46:22 +00:00
Chris Lattner
c7acf81519
Add := to make stuff more efficient
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1551 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:46:01 +00:00
Chris Lattner
888912dbe0
In an amazing fit of stupidity, I flipped the conditional and didn't test
...
it right. Sheesh :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1550 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 21:07:24 +00:00
Chris Lattner
e94525575f
Only run DeadInst elimination early, because it is quick and painless and
...
pipelines well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1549 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 21:06:44 +00:00
Chris Lattner
e5cf823b54
Moved to Programs/SingleSource
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1544 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 17:42:43 +00:00
Chris Lattner
c89764e80c
Move some makefile stuff to subdirectories
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1543 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 16:56:41 +00:00