Anand Shukla
47588b8119
Initial check in of header file for profile-paths pass
...
llvm-svn: 1801
2002-02-26 18:43:03 +00:00
Anand Shukla
209b88c6fc
Link in the PathProfiles library
...
llvm-svn: 1800
2002-02-26 18:29:20 +00:00
Anand Shukla
d7f2b91c9b
New makefile to include ProfilePaths dir
...
llvm-svn: 1799
2002-02-26 18:20:27 +00:00
Chris Lattner
3b0be84157
Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.ll
...
llvm-svn: 1798
2002-02-25 00:35:07 +00:00
Chris Lattner
8c42c6c92a
Testcase for new bug
...
llvm-svn: 1797
2002-02-25 00:34:18 +00:00
Chris Lattner
11d689e99a
When inlining basic blocks and instructions, give them a name!
...
llvm-svn: 1796
2002-02-25 00:31:02 +00:00
Chris Lattner
44d96e69f4
Remove hack. This is better fixed in Makefile.common
...
llvm-svn: 1795
2002-02-24 23:25:46 +00:00
Chris Lattner
98aa08c950
Cleanup to build with GCC 3.0.4
...
llvm-svn: 1794
2002-02-24 23:25:24 +00:00
Chris Lattner
dcdf0532ff
Build with newer compiler, with same bug
...
llvm-svn: 1793
2002-02-24 23:11:05 +00:00
Chris Lattner
a3ec3f6fd0
GCC3.0.4 crashes when compiling this. Comment it out for now
...
llvm-svn: 1792
2002-02-24 23:03:37 +00:00
Chris Lattner
b4e6953fc0
Namespaces
...
llvm-svn: 1791
2002-02-24 23:03:09 +00:00
Chris Lattner
242f5139fb
Clean up std namespace issues
...
Silence warning
llvm-svn: 1790
2002-02-24 23:02:40 +00:00
Chris Lattner
08443aa73b
64 bit clean now
...
llvm-svn: 1789
2002-02-24 23:02:12 +00:00
Chris Lattner
c1de0d6e83
* Make it compile with GCC 3.0.4
...
llvm-svn: 1788
2002-02-24 23:01:56 +00:00
Chris Lattner
3cffcc10bc
* Silence signed/unsigned warnings
...
* Make it compile with GCC 3.0.4
llvm-svn: 1787
2002-02-24 23:01:50 +00:00
Chris Lattner
b10862d793
Make it compile with GCC 3.0.4
...
llvm-svn: 1786
2002-02-24 23:01:21 +00:00
Chris Lattner
5ece03aed8
Genericize the ReversePostOrderIterator.
...
llvm-svn: 1785
2002-02-24 21:48:59 +00:00
Chris Lattner
ec7118a6aa
Close input file if exception is thrown
...
llvm-svn: 1784
2002-02-20 18:06:43 +00:00
Chris Lattner
3b17492321
* Expose the verifier pass as one that can be ran
...
* Force the verifier to run before bytecode is written
llvm-svn: 1783
2002-02-20 17:56:53 +00:00
Chris Lattner
1b91bcee90
Change to verifier interface
...
llvm-svn: 1782
2002-02-20 17:56:02 +00:00
Chris Lattner
75c1ff0221
Actually implement some checking in the verifier.
...
These specific problems were ones Anand ran into in his work and seem not
uncommon for beginners.
llvm-svn: 1781
2002-02-20 17:55:43 +00:00
Chris Lattner
9942a79fcd
Modernize verifier interface
...
llvm-svn: 1780
2002-02-20 17:54:35 +00:00
Chris Lattner
aa07d741cb
Fix isArrayAllocation() to be correct
...
llvm-svn: 1779
2002-02-19 21:24:17 +00:00
Chris Lattner
650f6653a6
Minor cleanups I missed
...
llvm-svn: 1778
2002-02-19 19:36:56 +00:00
Chris Lattner
780a3ae146
These constructors are for internal use only. These should have been
...
protected a long time ago :)
llvm-svn: 1777
2002-02-19 19:22:45 +00:00
Chris Lattner
f576e43330
Keep track of memory allocated by alloca so that it is freed appropriately
...
llvm-svn: 1776
2002-02-19 18:50:09 +00:00
Chris Lattner
b971ece3f1
New testcase
...
llvm-svn: 1775
2002-02-18 19:46:09 +00:00
Chris Lattner
801f59eb1f
Implement exp function
...
llvm-svn: 1774
2002-02-18 19:06:25 +00:00
Chris Lattner
3d83ea4268
Handle more cases in the linker
...
llvm-svn: 1771
2002-02-18 19:05:15 +00:00
Chris Lattner
1233cd5217
New testcase
...
llvm-svn: 1768
2002-02-17 06:42:02 +00:00
Chris Lattner
a87f4f1b13
Bug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.ll
...
llvm-svn: 1767
2002-02-14 22:21:40 +00:00
Chris Lattner
a0b7923836
Checking regression test for bugfix
...
llvm-svn: 1766
2002-02-14 22:20:54 +00:00
Chris Lattner
6ae007b43e
Implement conversion of method pointer parameter in Call instruction
...
to clean up MST benchmark.
llvm-svn: 1763
2002-02-14 19:44:09 +00:00
Chris Lattner
1ae58c1268
* Check in fix for: llvm/test/Regression/Other/2002-02-14-LevelRaiseInstDelete.ll
...
* Minor reformatting.
llvm-svn: 1760
2002-02-14 18:55:22 +00:00
Chris Lattner
849f73b2e9
New testcase for bug in levelraise
...
llvm-svn: 1759
2002-02-14 18:52:18 +00:00
Chris Lattner
71649aaf9d
New testcase for fixed GCC bug
...
llvm-svn: 1755
2002-02-14 05:41:15 +00:00
Chris Lattner
375e87c4e6
NEw testcase for bugfix
...
llvm-svn: 1753
2002-02-14 00:18:44 +00:00
Chris Lattner
3c0623935f
Checking testcase for reload problem
...
llvm-svn: 1752
2002-02-13 20:35:17 +00:00
Chris Lattner
18b2ebd247
New testcase for fixed bug
...
llvm-svn: 1751
2002-02-13 20:25:16 +00:00
Chris Lattner
8e9be000a7
* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
...
llvm/Support/CFG.h
* Make pred & succ iterators for intervals global functions
* Add #includes that are now neccesary because BasicBlock.h doesn't include
InstrTypes.h anymore
llvm-svn: 1750
2002-02-12 22:39:50 +00:00
Chris Lattner
34bdf4dda4
* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
...
llvm/Support/CFG.h
llvm-svn: 1749
2002-02-12 22:35:32 +00:00
Chris Lattner
c88d936415
* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
...
llvm/Support/CFG.h
* Make pred & succ iterators for intervals global functions
llvm-svn: 1748
2002-02-12 22:35:27 +00:00
Chris Lattner
e0aa81ad1b
Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
...
llvm/Support/CFG.h
llvm-svn: 1747
2002-02-12 22:35:06 +00:00
Chris Lattner
b0a2c5546b
Method.h no longer includes BasicBlock.h
...
Method::inst_* is now in llvm/Support/InstIterator.h
GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h
llvm-svn: 1746
2002-02-12 21:07:25 +00:00
Chris Lattner
3a1bc64866
Method.h no longer includes BasicBlock.h
...
Method::inst_* is now in llvm/Support/InstIterator.h
llvm-svn: 1745
2002-02-12 21:04:35 +00:00
Chris Lattner
a4bf6af614
* Move BasicBlock and Method graph stuff to new "llvm/Support/CFG.h" file
...
* Move Method::inst_* to new "llvm/Support/InstIterator.h" file
* inst_iterator no longer permits resync'ing
llvm-svn: 1744
2002-02-12 21:02:53 +00:00
Chris Lattner
bde317b67d
* Move BasicBlock and Method graph stuff to new "llvm/Support/CFG.h" file
...
* Move Method::inst_* to new "llvm/Support/InstIterator.h" file
* Method.h no longer #includes BasicBlock.h
llvm-svn: 1743
2002-02-12 21:02:38 +00:00
Chris Lattner
5276164ac4
Add neccesary #include
...
llvm-svn: 1742
2002-02-12 20:19:06 +00:00
Chris Lattner
20edcad40a
I forgot to provide dominance frontier information. Now it's available.
...
Also add more comments.
llvm-svn: 1741
2002-02-12 18:27:41 +00:00
Chris Lattner
589decaa98
Enable register promotion pass
...
llvm-svn: 1740
2002-02-12 17:17:33 +00:00