oota-llvm.git
22 years agoFix minor memory leak
Chris Lattner [Fri, 8 Mar 2002 18:57:56 +0000 (18:57 +0000)]
Fix minor memory leak

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

22 years agoFix for: test/Regression/Assembler/2002-03-08-NameCollision.ll
Chris Lattner [Fri, 8 Mar 2002 18:41:32 +0000 (18:41 +0000)]
Fix for: test/Regression/Assembler/2002-03-08-NameCollision.ll

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

22 years agoNew testcase
Chris Lattner [Fri, 8 Mar 2002 18:41:11 +0000 (18:41 +0000)]
New testcase

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

22 years agoFix typo in comment
Chris Lattner [Fri, 8 Mar 2002 18:38:08 +0000 (18:38 +0000)]
Fix typo in comment

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

22 years agoWe were not correctly burrowing down multiple levels to get to a leaf. Fix this now
Chris Lattner [Thu, 7 Mar 2002 21:18:00 +0000 (21:18 +0000)]
We were not correctly burrowing down multiple levels to get to a leaf.  Fix this now

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

22 years agoSupport changing the pointer type of a store for the case where we are
Chris Lattner [Thu, 7 Mar 2002 21:17:35 +0000 (21:17 +0000)]
Support changing the pointer type of a store for the case where we are
storing into the first element of the structure type.

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

22 years agoInitial checkin
Chris Lattner [Thu, 7 Mar 2002 20:16:38 +0000 (20:16 +0000)]
Initial checkin

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

22 years agoClean up call graph, add comments, and fix test/Regression/Other/2002-01-31-CallGraph.ll
Chris Lattner [Wed, 6 Mar 2002 20:19:35 +0000 (20:19 +0000)]
Clean up call graph, add comments, and fix test/Regression/Other/2002-01-31-CallGraph.ll

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

22 years agoPull interprocedural analyses out of Analysis library into their own lib
Chris Lattner [Wed, 6 Mar 2002 18:44:29 +0000 (18:44 +0000)]
Pull interprocedural analyses out of Analysis library into their own lib

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

22 years agoDon't forget to build gccld!
Chris Lattner [Wed, 6 Mar 2002 18:05:02 +0000 (18:05 +0000)]
Don't forget to build gccld!

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

22 years agoMove call graph printing support out of Writer.h into Callgraph.h
Chris Lattner [Wed, 6 Mar 2002 18:00:49 +0000 (18:00 +0000)]
Move call graph printing support out of Writer.h into Callgraph.h
remove dead global function

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

22 years agoMove callgraph printing out of writer.h into callgraph.h
Chris Lattner [Wed, 6 Mar 2002 17:59:45 +0000 (17:59 +0000)]
Move callgraph printing out of writer.h into callgraph.h

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

22 years agoSince verifier and SlotCalculator are now in VMCore library, libanalysis is
Chris Lattner [Wed, 6 Mar 2002 17:41:18 +0000 (17:41 +0000)]
Since verifier and SlotCalculator are now in VMCore library, libanalysis is
no longer required

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

22 years agoPull callgraph out of Cfg namespace
Chris Lattner [Wed, 6 Mar 2002 17:40:37 +0000 (17:40 +0000)]
Pull callgraph out of Cfg namespace

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

22 years agoPull Callgraph out of the cfg namespace
Chris Lattner [Wed, 6 Mar 2002 17:39:28 +0000 (17:39 +0000)]
Pull Callgraph out of the cfg namespace

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

22 years agoTake CallGraph out of the CFG namespace. It has nothing to do with CFGs
Chris Lattner [Wed, 6 Mar 2002 17:16:43 +0000 (17:16 +0000)]
Take CallGraph out of the CFG namespace.  It has nothing to do with CFGs

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

22 years agoFix include error.
Vikram S. Adve [Sun, 3 Mar 2002 20:46:32 +0000 (20:46 +0000)]
Fix include error.

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

22 years agoAdd a clean target stub
Chris Lattner [Tue, 26 Feb 2002 21:48:24 +0000 (21:48 +0000)]
Add a clean target stub

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

22 years agoChange to use new pass accessor functions
Chris Lattner [Tue, 26 Feb 2002 21:47:29 +0000 (21:47 +0000)]
Change to use new pass accessor functions

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

22 years agoChange over to use new style pass mechanism, now passes only expose small
Chris Lattner [Tue, 26 Feb 2002 21:46:54 +0000 (21:46 +0000)]
Change over to use new style pass mechanism, now passes only expose small
creation functions in their public header file, unless they can help it.

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

22 years agoExpose more entry points to the verifier
Chris Lattner [Tue, 26 Feb 2002 21:45:33 +0000 (21:45 +0000)]
Expose more entry points to the verifier

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

22 years agoExpose verifier for method and module, and accept constant structures
Chris Lattner [Tue, 26 Feb 2002 21:38:48 +0000 (21:38 +0000)]
Expose verifier for method and module, and accept constant structures

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

22 years ago* Make all command line arguments static
Chris Lattner [Tue, 26 Feb 2002 21:36:53 +0000 (21:36 +0000)]
* Make all command line arguments static
* Change -trace & -tracem options to use a 3 values enum option
* Change to use new style interface to passes

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

22 years agoMove ProfilePaths class into ProfilePaths library, only expose a creation function
Chris Lattner [Tue, 26 Feb 2002 20:04:59 +0000 (20:04 +0000)]
Move ProfilePaths class into ProfilePaths library, only expose a creation function

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

22 years agoIncludes -paths option to trace paths in the program
Anand Shukla [Tue, 26 Feb 2002 19:57:59 +0000 (19:57 +0000)]
Includes -paths option to trace paths in the program

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

22 years agoPass stuff by reference instead of by copy. Copying entire graphs seems like
Chris Lattner [Tue, 26 Feb 2002 19:49:45 +0000 (19:49 +0000)]
Pass stuff by reference instead of by copy.  Copying entire graphs seems like
a bad idea

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

22 years agoMove processGraph down lower in the file so all of the forward declarations
Chris Lattner [Tue, 26 Feb 2002 19:43:49 +0000 (19:43 +0000)]
Move processGraph down lower in the file so all of the forward declarations
can be eliminated.

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

22 years ago* Changes to compile successfully with GCC 3.0
Chris Lattner [Tue, 26 Feb 2002 19:40:28 +0000 (19:40 +0000)]
* Changes to compile successfully with GCC 3.0
* Eliminated memory leak in processGraph
* Pass vectors by const reference to moveDummyCode instead of by copy

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

22 years agoMakefile for profile-paths
Anand Shukla [Tue, 26 Feb 2002 19:36:43 +0000 (19:36 +0000)]
Makefile for profile-paths

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

22 years agoInitial checkin: functions on Graph used for path profile pass
Anand Shukla [Tue, 26 Feb 2002 19:02:16 +0000 (19:02 +0000)]
Initial checkin: functions on Graph used for path profile pass

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

22 years agoInitial checkin: instrument code to get path execution frequency
Anand Shukla [Tue, 26 Feb 2002 19:00:48 +0000 (19:00 +0000)]
Initial checkin: instrument code to get path execution frequency

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

22 years agoInitial checkin: helper file to insert instrumentation code along edges
Anand Shukla [Tue, 26 Feb 2002 18:59:46 +0000 (18:59 +0000)]
Initial checkin: helper file to insert instrumentation code along edges

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

22 years agoInitial check in of graph.cpp: implements graph interface used in path profiles
Anand Shukla [Tue, 26 Feb 2002 18:58:39 +0000 (18:58 +0000)]
Initial check in of graph.cpp: implements graph interface used in path profiles

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

22 years agoChange to make it build with GCC 2.95.3
Anand Shukla [Tue, 26 Feb 2002 18:57:15 +0000 (18:57 +0000)]
Change to make it build with GCC 2.95.3

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

22 years agoInitial check in of header file for profile-paths pass
Anand Shukla [Tue, 26 Feb 2002 18:43:03 +0000 (18:43 +0000)]
Initial check in of header file for profile-paths pass

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

22 years agoLink in the PathProfiles library
Anand Shukla [Tue, 26 Feb 2002 18:29:20 +0000 (18:29 +0000)]
Link in the PathProfiles library

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

22 years agoNew makefile to include ProfilePaths dir
Anand Shukla [Tue, 26 Feb 2002 18:20:27 +0000 (18:20 +0000)]
New makefile to include ProfilePaths dir

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

22 years agoFix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.ll
Chris Lattner [Mon, 25 Feb 2002 00:35:07 +0000 (00:35 +0000)]
Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.ll

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

22 years agoTestcase for new bug
Chris Lattner [Mon, 25 Feb 2002 00:34:18 +0000 (00:34 +0000)]
Testcase for new bug

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

22 years agoWhen inlining basic blocks and instructions, give them a name!
Chris Lattner [Mon, 25 Feb 2002 00:31:02 +0000 (00:31 +0000)]
When inlining basic blocks and instructions, give them a name!

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

22 years agoRemove hack. This is better fixed in Makefile.common
Chris Lattner [Sun, 24 Feb 2002 23:25:46 +0000 (23:25 +0000)]
Remove hack.  This is better fixed in Makefile.common

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

22 years agoCleanup to build with GCC 3.0.4
Chris Lattner [Sun, 24 Feb 2002 23:25:24 +0000 (23:25 +0000)]
Cleanup to build with GCC 3.0.4

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

22 years agoBuild with newer compiler, with same bug
Chris Lattner [Sun, 24 Feb 2002 23:11:05 +0000 (23:11 +0000)]
Build with newer compiler, with same bug

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

22 years agoGCC3.0.4 crashes when compiling this. Comment it out for now
Chris Lattner [Sun, 24 Feb 2002 23:03:37 +0000 (23:03 +0000)]
GCC3.0.4 crashes when compiling this.  Comment it out for now

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

22 years agoNamespaces
Chris Lattner [Sun, 24 Feb 2002 23:03:09 +0000 (23:03 +0000)]
Namespaces

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

22 years agoClean up std namespace issues
Chris Lattner [Sun, 24 Feb 2002 23:02:40 +0000 (23:02 +0000)]
Clean up std namespace issues
Silence warning

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

22 years ago64 bit clean now
Chris Lattner [Sun, 24 Feb 2002 23:02:12 +0000 (23:02 +0000)]
64 bit clean now

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

22 years ago* Make it compile with GCC 3.0.4
Chris Lattner [Sun, 24 Feb 2002 23:01:56 +0000 (23:01 +0000)]
* Make it compile with GCC 3.0.4

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

22 years ago* Silence signed/unsigned warnings
Chris Lattner [Sun, 24 Feb 2002 23:01:50 +0000 (23:01 +0000)]
* Silence signed/unsigned warnings
* Make it compile with GCC 3.0.4

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

22 years agoMake it compile with GCC 3.0.4
Chris Lattner [Sun, 24 Feb 2002 23:01:21 +0000 (23:01 +0000)]
Make it compile with GCC 3.0.4

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

22 years agoGenericize the ReversePostOrderIterator.
Chris Lattner [Sun, 24 Feb 2002 21:48:59 +0000 (21:48 +0000)]
Genericize the ReversePostOrderIterator.

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

22 years agoClose input file if exception is thrown
Chris Lattner [Wed, 20 Feb 2002 18:06:43 +0000 (18:06 +0000)]
Close input file if exception is thrown

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

22 years ago* Expose the verifier pass as one that can be ran
Chris Lattner [Wed, 20 Feb 2002 17:56:53 +0000 (17:56 +0000)]
* Expose the verifier pass as one that can be ran
* Force the verifier to run before bytecode is written

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

22 years agoChange to verifier interface
Chris Lattner [Wed, 20 Feb 2002 17:56:02 +0000 (17:56 +0000)]
Change to verifier interface

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

22 years agoActually implement some checking in the verifier.
Chris Lattner [Wed, 20 Feb 2002 17:55:43 +0000 (17:55 +0000)]
Actually implement some checking in the verifier.
These specific problems were ones Anand ran into in his work and seem not
uncommon for beginners.

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

22 years agoModernize verifier interface
Chris Lattner [Wed, 20 Feb 2002 17:54:35 +0000 (17:54 +0000)]
Modernize verifier interface

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

22 years agoFix isArrayAllocation() to be correct
Chris Lattner [Tue, 19 Feb 2002 21:24:17 +0000 (21:24 +0000)]
Fix isArrayAllocation() to be correct

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

22 years agoMinor cleanups I missed
Chris Lattner [Tue, 19 Feb 2002 19:36:56 +0000 (19:36 +0000)]
Minor cleanups I missed

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

22 years agoThese constructors are for internal use only. These should have been
Chris Lattner [Tue, 19 Feb 2002 19:22:45 +0000 (19:22 +0000)]
These constructors are for internal use only.  These should have been
protected a long time ago :)

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

22 years agoKeep track of memory allocated by alloca so that it is freed appropriately
Chris Lattner [Tue, 19 Feb 2002 18:50:09 +0000 (18:50 +0000)]
Keep track of memory allocated by alloca so that it is freed appropriately

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

22 years agoNew testcase
Chris Lattner [Mon, 18 Feb 2002 19:46:09 +0000 (19:46 +0000)]
New testcase

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

22 years agoImplement exp function
Chris Lattner [Mon, 18 Feb 2002 19:06:25 +0000 (19:06 +0000)]
Implement exp function

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

22 years agoHandle more cases in the linker
Chris Lattner [Mon, 18 Feb 2002 19:05:15 +0000 (19:05 +0000)]
Handle more cases in the linker

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

22 years agoNew testcase
Chris Lattner [Sun, 17 Feb 2002 06:42:02 +0000 (06:42 +0000)]
New testcase

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

22 years agoBug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.ll
Chris Lattner [Thu, 14 Feb 2002 22:21:40 +0000 (22:21 +0000)]
Bug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.ll

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

22 years agoChecking regression test for bugfix
Chris Lattner [Thu, 14 Feb 2002 22:20:54 +0000 (22:20 +0000)]
Checking regression test for bugfix

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

22 years agoImplement conversion of method pointer parameter in Call instruction
Chris Lattner [Thu, 14 Feb 2002 19:44:09 +0000 (19:44 +0000)]
Implement conversion of method pointer parameter in Call instruction
to clean up MST benchmark.

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

22 years ago* Check in fix for: llvm/test/Regression/Other/2002-02-14-LevelRaiseInstDelete.ll
Chris Lattner [Thu, 14 Feb 2002 18:55:22 +0000 (18:55 +0000)]
* Check in fix for: llvm/test/Regression/Other/2002-02-14-LevelRaiseInstDelete.ll
* Minor reformatting.

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

22 years agoNew testcase for bug in levelraise
Chris Lattner [Thu, 14 Feb 2002 18:52:18 +0000 (18:52 +0000)]
New testcase for bug in levelraise

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

22 years agoNew testcase for fixed GCC bug
Chris Lattner [Thu, 14 Feb 2002 05:41:15 +0000 (05:41 +0000)]
New testcase for fixed GCC bug

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

22 years agoNEw testcase for bugfix
Chris Lattner [Thu, 14 Feb 2002 00:18:44 +0000 (00:18 +0000)]
NEw testcase for bugfix

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

22 years agoChecking testcase for reload problem
Chris Lattner [Wed, 13 Feb 2002 20:35:17 +0000 (20:35 +0000)]
Checking testcase for reload problem

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

22 years agoNew testcase for fixed bug
Chris Lattner [Wed, 13 Feb 2002 20:25:16 +0000 (20:25 +0000)]
New testcase for fixed bug

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

22 years ago* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
Chris Lattner [Tue, 12 Feb 2002 22:39:50 +0000 (22:39 +0000)]
* 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

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

22 years ago* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
Chris Lattner [Tue, 12 Feb 2002 22:35:32 +0000 (22:35 +0000)]
* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
  llvm/Support/CFG.h

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

22 years ago* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
Chris Lattner [Tue, 12 Feb 2002 22:35:27 +0000 (22:35 +0000)]
* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
  llvm/Support/CFG.h
* Make pred & succ iterators for intervals global functions

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

22 years agoPull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
Chris Lattner [Tue, 12 Feb 2002 22:35:06 +0000 (22:35 +0000)]
Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
llvm/Support/CFG.h

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

22 years agoMethod.h no longer includes BasicBlock.h
Chris Lattner [Tue, 12 Feb 2002 21:07:25 +0000 (21:07 +0000)]
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

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

22 years agoMethod.h no longer includes BasicBlock.h
Chris Lattner [Tue, 12 Feb 2002 21:04:35 +0000 (21:04 +0000)]
Method.h no longer includes BasicBlock.h
Method::inst_* is now in llvm/Support/InstIterator.h

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

22 years ago* Move BasicBlock and Method graph stuff to new "llvm/Support/CFG.h" file
Chris Lattner [Tue, 12 Feb 2002 21:02:53 +0000 (21:02 +0000)]
* 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

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

22 years ago* Move BasicBlock and Method graph stuff to new "llvm/Support/CFG.h" file
Chris Lattner [Tue, 12 Feb 2002 21:02:38 +0000 (21:02 +0000)]
* 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

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

22 years agoAdd neccesary #include
Chris Lattner [Tue, 12 Feb 2002 20:19:06 +0000 (20:19 +0000)]
Add neccesary #include

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

22 years agoI forgot to provide dominance frontier information. Now it's available.
Chris Lattner [Tue, 12 Feb 2002 18:27:41 +0000 (18:27 +0000)]
I forgot to provide dominance frontier information.  Now it's available.
Also add more comments.

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

22 years agoEnable register promotion pass
Chris Lattner [Tue, 12 Feb 2002 17:17:33 +0000 (17:17 +0000)]
Enable register promotion pass

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

22 years agoInitial checkin of new memory -> register promotion pass
Chris Lattner [Tue, 12 Feb 2002 17:16:22 +0000 (17:16 +0000)]
Initial checkin of new memory -> register promotion pass

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

22 years agoAdd new abort-on-exceptions flag
Chris Lattner [Tue, 12 Feb 2002 15:47:23 +0000 (15:47 +0000)]
Add new abort-on-exceptions flag

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

22 years agoAdd comments
Chris Lattner [Tue, 12 Feb 2002 15:39:38 +0000 (15:39 +0000)]
Add comments
Add rules to compile a program with LLC to machine code and an executable

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

22 years agotest/Features should not contain whole programs
Chris Lattner [Tue, 12 Feb 2002 15:21:57 +0000 (15:21 +0000)]
test/Features should not contain whole programs

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

22 years agoNew testcase for bug in -raise pass
Chris Lattner [Mon, 11 Feb 2002 23:44:06 +0000 (23:44 +0000)]
New testcase for bug in -raise pass

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

22 years agoAllow multiline RUN:'s
Chris Lattner [Mon, 11 Feb 2002 23:32:43 +0000 (23:32 +0000)]
Allow multiline RUN:'s

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

22 years agoAdd testcase for sparc backend
Chris Lattner [Mon, 11 Feb 2002 23:22:56 +0000 (23:22 +0000)]
Add testcase for sparc backend

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

22 years agoAdded command to build SPARC executable.
Vikram S. Adve [Mon, 11 Feb 2002 22:50:17 +0000 (22:50 +0000)]
Added command to build SPARC executable.

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

22 years agoSimple fibonacci test.
Vikram S. Adve [Mon, 11 Feb 2002 22:48:18 +0000 (22:48 +0000)]
Simple fibonacci test.

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

22 years agoWrite llvm bytecode to output .s file as last step of LLC.
Chris Lattner [Mon, 11 Feb 2002 22:35:46 +0000 (22:35 +0000)]
Write llvm bytecode to output .s file as last step of LLC.

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

22 years agoShell script to simplify running cvs and viewing the output.
Vikram S. Adve [Mon, 11 Feb 2002 20:59:26 +0000 (20:59 +0000)]
Shell script to simplify running cvs and viewing the output.

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

22 years agoMake array bound checks optional and disabled by default.
Chris Lattner [Mon, 11 Feb 2002 20:19:16 +0000 (20:19 +0000)]
Make array bound checks optional and disabled by default.

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

22 years agoTry to fix build error
Chris Lattner [Mon, 11 Feb 2002 17:12:03 +0000 (17:12 +0000)]
Try to fix build error

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

22 years agoFix build error
Chris Lattner [Mon, 11 Feb 2002 17:11:43 +0000 (17:11 +0000)]
Fix build error

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

22 years agoConvert BBLiveVar to be a BasicBlock annotation, this removes the BB2BBLVMap from...
Chris Lattner [Tue, 5 Feb 2002 06:52:25 +0000 (06:52 +0000)]
Convert BBLiveVar to be a BasicBlock annotation, this removes the BB2BBLVMap from MethodLiveVarInfo.

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

22 years agoConvert operand iterator over to work like an STL iterator
Chris Lattner [Tue, 5 Feb 2002 06:02:59 +0000 (06:02 +0000)]
Convert operand iterator over to work like an STL iterator

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