oota-llvm.git
22 years ago*** empty log message ***
Chris Lattner [Wed, 24 Jul 2002 17:12:08 +0000 (17:12 +0000)]
*** empty log message ***

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

22 years agoEliminate several include/llvm/Transforms/IPO/*.h files, moving their contents into...
Chris Lattner [Wed, 24 Jul 2002 17:12:05 +0000 (17:12 +0000)]
Eliminate several include/llvm/Transforms/IPO/*.h files, moving their contents into IPO.h

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

22 years agoMove many files into IPO.h
Chris Lattner [Wed, 24 Jul 2002 17:10:58 +0000 (17:10 +0000)]
Move many files into IPO.h

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

22 years agoMove contents of these files into IPO.h
Chris Lattner [Wed, 24 Jul 2002 17:10:24 +0000 (17:10 +0000)]
Move contents of these files into IPO.h

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

22 years ago*** empty log message ***
Chris Lattner [Tue, 23 Jul 2002 22:04:43 +0000 (22:04 +0000)]
*** empty log message ***

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

22 years agoMinor changes due to code juggled around
Chris Lattner [Tue, 23 Jul 2002 22:04:40 +0000 (22:04 +0000)]
Minor changes due to code juggled around

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

22 years agoMerge ChangeAllocations into scalar.h
Chris Lattner [Tue, 23 Jul 2002 22:04:17 +0000 (22:04 +0000)]
Merge ChangeAllocations into scalar.h

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

22 years agoRename header
Chris Lattner [Tue, 23 Jul 2002 22:04:02 +0000 (22:04 +0000)]
Rename header

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

22 years agoCleanup and simplify code
Chris Lattner [Tue, 23 Jul 2002 22:03:41 +0000 (22:03 +0000)]
Cleanup and simplify code

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

22 years agoIncorporate ConstantMerge.h into IPO.h
Chris Lattner [Tue, 23 Jul 2002 19:57:40 +0000 (19:57 +0000)]
Incorporate ConstantMerge.h into IPO.h

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

22 years agoRename LevelChange.h to RaisePointerReferences.h
Chris Lattner [Tue, 23 Jul 2002 19:57:08 +0000 (19:57 +0000)]
Rename LevelChange.h to RaisePointerReferences.h

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

22 years agoRegister the WriteBytecodePass
Chris Lattner [Tue, 23 Jul 2002 19:56:44 +0000 (19:56 +0000)]
Register the WriteBytecodePass

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

22 years ago* Rename to IPO.h
Chris Lattner [Tue, 23 Jul 2002 19:56:27 +0000 (19:56 +0000)]
* Rename to IPO.h
* Add ConstantMerge.h contents

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

22 years agoAdd a version of the bytecode writer pass that has a default ctor
Chris Lattner [Tue, 23 Jul 2002 19:56:03 +0000 (19:56 +0000)]
Add a version of the bytecode writer pass that has a default ctor

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

22 years agoIncorporate into IPO.h
Chris Lattner [Tue, 23 Jul 2002 19:51:10 +0000 (19:51 +0000)]
Incorporate into IPO.h

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

22 years agoPrepare the file to become IPO.h
Chris Lattner [Tue, 23 Jul 2002 19:48:52 +0000 (19:48 +0000)]
Prepare the file to become IPO.h

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

22 years agoMerge the contents of ChangeAllocations.h into Scalar.h
Chris Lattner [Tue, 23 Jul 2002 19:37:38 +0000 (19:37 +0000)]
Merge the contents of ChangeAllocations.h into Scalar.h

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

22 years agoAllow directories to specify that they want to be built as a shared object by default
Chris Lattner [Tue, 23 Jul 2002 19:21:31 +0000 (19:21 +0000)]
Allow directories to specify that they want to be built as a shared object by default

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

22 years agoChecking testcase in my local tree only
Chris Lattner [Tue, 23 Jul 2002 18:28:03 +0000 (18:28 +0000)]
Checking testcase in my local tree only

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

22 years agoNew testcase for bug
Chris Lattner [Tue, 23 Jul 2002 18:27:20 +0000 (18:27 +0000)]
New testcase for bug

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

22 years agoTEstcases for old bugs
Chris Lattner [Tue, 23 Jul 2002 18:26:48 +0000 (18:26 +0000)]
TEstcases for old bugs

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

22 years agoCheck in testcases that were just in my tree
Chris Lattner [Tue, 23 Jul 2002 18:25:39 +0000 (18:25 +0000)]
Check in testcases that were just in my tree

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

22 years agoNew testcase
Chris Lattner [Tue, 23 Jul 2002 18:21:12 +0000 (18:21 +0000)]
New testcase

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

22 years agoUse the pass registration mechanism to populate command line options for
Chris Lattner [Tue, 23 Jul 2002 18:12:22 +0000 (18:12 +0000)]
Use the pass registration mechanism to populate command line options for
opt, not huge explicit gross tables.

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

22 years agoRaise pass requires an explicit TargetData member now.
Chris Lattner [Tue, 23 Jul 2002 18:09:58 +0000 (18:09 +0000)]
Raise pass requires an explicit TargetData member now.

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

22 years agoRegister Verifier pass
Chris Lattner [Tue, 23 Jul 2002 18:08:17 +0000 (18:08 +0000)]
Register Verifier pass

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

22 years agoAdd support for pass registration
Chris Lattner [Tue, 23 Jul 2002 18:08:00 +0000 (18:08 +0000)]
Add support for pass registration

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

22 years agoRegister Writer passes
Chris Lattner [Tue, 23 Jul 2002 18:07:49 +0000 (18:07 +0000)]
Register Writer passes

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

22 years ago*** empty log message ***
Chris Lattner [Tue, 23 Jul 2002 18:06:35 +0000 (18:06 +0000)]
*** empty log message ***

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

22 years ago* Remove getPassName implementation
Chris Lattner [Tue, 23 Jul 2002 18:06:30 +0000 (18:06 +0000)]
* Remove getPassName implementation
* Register all Passes

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

22 years ago* Cleanup the pass a bit more, making it more object oriented.
Chris Lattner [Tue, 23 Jul 2002 18:04:15 +0000 (18:04 +0000)]
* Cleanup the pass a bit more, making it more object oriented.
* Split the two behaviors of the InsertTraceCode class into two subclasses
* Register Passes

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

22 years ago* Break the two different behaviors of SimpleStructMutation into two subclasses
Chris Lattner [Tue, 23 Jul 2002 18:03:11 +0000 (18:03 +0000)]
* Break the two different behaviors of SimpleStructMutation into two subclasses
* Register the passes

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

22 years ago* Make the ctor take a TargetData even though it's not using it yet
Chris Lattner [Tue, 23 Jul 2002 18:02:23 +0000 (18:02 +0000)]
* Make the ctor take a TargetData even though it's not using it yet
* Register the pass

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

22 years ago* Remove lots of dead stuff
Chris Lattner [Tue, 23 Jul 2002 18:01:39 +0000 (18:01 +0000)]
* Remove lots of dead stuff
* Register Pass

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

22 years agoBreak part of Pass.h out into PassAnalysisSupport.h
Chris Lattner [Tue, 23 Jul 2002 17:59:55 +0000 (17:59 +0000)]
Break part of Pass.h out into PassAnalysisSupport.h
Add PassSupport.h which contains code for Pass registration

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

22 years agoAllow comparison against null
Chris Lattner [Tue, 23 Jul 2002 17:59:02 +0000 (17:59 +0000)]
Allow comparison against null

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

22 years ago*** empty log message ***
Chris Lattner [Tue, 23 Jul 2002 17:58:44 +0000 (17:58 +0000)]
*** empty log message ***

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

22 years agoPass creator requires a TargetData member
Chris Lattner [Tue, 23 Jul 2002 17:58:42 +0000 (17:58 +0000)]
Pass creator requires a TargetData member

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

22 years agoRegularize the Print*Passes so they have default ctors.
Chris Lattner [Tue, 23 Jul 2002 17:58:09 +0000 (17:58 +0000)]
Regularize the Print*Passes so they have default ctors.

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

22 years agoInitial checkin
Chris Lattner [Tue, 23 Jul 2002 17:56:53 +0000 (17:56 +0000)]
Initial checkin

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

22 years agoIgnore the boost #include files
Chris Lattner [Tue, 23 Jul 2002 17:56:32 +0000 (17:56 +0000)]
Ignore the boost #include files

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

22 years agoEnable USEDLIBS to contain .a and .o files
Chris Lattner [Tue, 23 Jul 2002 17:56:16 +0000 (17:56 +0000)]
Enable USEDLIBS to contain .a and .o files

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

22 years ago*** empty log message ***
Chris Lattner [Tue, 23 Jul 2002 17:52:38 +0000 (17:52 +0000)]
*** empty log message ***

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

22 years agoConvert over to new style makefile where libraries by default build .o files
Chris Lattner [Tue, 23 Jul 2002 17:52:24 +0000 (17:52 +0000)]
Convert over to new style makefile where libraries by default build .o files
unless they specify BUILD_ARCHIVE to also build a .a file.

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

22 years agoConvert over to new style of Makefile, where there is a difference between .o and...
Chris Lattner [Tue, 23 Jul 2002 17:50:41 +0000 (17:50 +0000)]
Convert over to new style of Makefile, where there is a difference between .o and .a libraries.

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

22 years ago*** empty log message ***
Chris Lattner [Tue, 23 Jul 2002 17:15:12 +0000 (17:15 +0000)]
*** empty log message ***

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

22 years agoAdd support for removing an option from a genericparser
Chris Lattner [Tue, 23 Jul 2002 17:15:09 +0000 (17:15 +0000)]
Add support for removing an option from a genericparser

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

22 years agoChange to avoid bug in GCC 3.0.4
Chris Lattner [Tue, 23 Jul 2002 00:44:37 +0000 (00:44 +0000)]
Change to avoid bug in GCC 3.0.4

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

22 years agoinitial checkin
Chris Lattner [Tue, 23 Jul 2002 00:17:55 +0000 (00:17 +0000)]
initial checkin

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

22 years ago*** empty log message ***
Chris Lattner [Tue, 23 Jul 2002 00:17:22 +0000 (00:17 +0000)]
*** empty log message ***

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

22 years agoInitial checkin
Chris Lattner [Tue, 23 Jul 2002 00:17:14 +0000 (00:17 +0000)]
Initial checkin

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

22 years agomoving to the Reoptimizer/Mapping dir
Mehwish Nagda [Mon, 22 Jul 2002 22:10:55 +0000 (22:10 +0000)]
moving to the Reoptimizer/Mapping dir

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

22 years agomoved from CodeGen to this dir
Mehwish Nagda [Mon, 22 Jul 2002 22:09:35 +0000 (22:09 +0000)]
moved from CodeGen to this dir

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

22 years agoMoved to Reoptimizer/Mapping directory
Mehwish Nagda [Mon, 22 Jul 2002 22:06:56 +0000 (22:06 +0000)]
Moved to Reoptimizer/Mapping directory

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

22 years agoAlways create a shadow node for a store instruction, even if it's storing
Chris Lattner [Mon, 22 Jul 2002 16:35:53 +0000 (16:35 +0000)]
Always create a shadow node for a store instruction, even if it's storing
a scalar value.  Likewise for load instructions.

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

22 years agoMinor bugfix, prevents error in LLI
Chris Lattner [Mon, 22 Jul 2002 02:21:57 +0000 (02:21 +0000)]
Minor bugfix, prevents error in LLI

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

22 years agoFix synopsis
Chris Lattner [Mon, 22 Jul 2002 02:18:09 +0000 (02:18 +0000)]
Fix synopsis

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

22 years agoAdd description to Enum options.
Chris Lattner [Mon, 22 Jul 2002 02:18:00 +0000 (02:18 +0000)]
Add description to Enum options.

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

22 years agoHide extra argument
Chris Lattner [Mon, 22 Jul 2002 02:17:27 +0000 (02:17 +0000)]
Hide extra argument

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

22 years ago*** empty log message ***
Chris Lattner [Mon, 22 Jul 2002 02:10:13 +0000 (02:10 +0000)]
*** empty log message ***

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

22 years agoConvert command line option processing code over to use the syntax supported
Chris Lattner [Mon, 22 Jul 2002 02:10:07 +0000 (02:10 +0000)]
Convert command line option processing code over to use the syntax supported
by the CommandLine 2.0 library

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

22 years agoConvert Command Line option handling code to use the CommandLine 2.0 interface
Chris Lattner [Mon, 22 Jul 2002 02:08:59 +0000 (02:08 +0000)]
Convert Command Line option handling code to use the CommandLine 2.0 interface

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

22 years agoCheckin CommandLine 2.0
Chris Lattner [Mon, 22 Jul 2002 02:07:59 +0000 (02:07 +0000)]
Checkin CommandLine 2.0

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

22 years agoPrint the contents, not the pointer...
Chris Lattner [Mon, 22 Jul 2002 02:06:50 +0000 (02:06 +0000)]
Print the contents, not the pointer...

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

22 years agocomeented out debug printing
Anand Shukla [Sun, 21 Jul 2002 09:41:18 +0000 (09:41 +0000)]
comeented out debug printing

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

22 years agoAdding code for outputing length in .s
Anand Shukla [Sun, 21 Jul 2002 09:35:01 +0000 (09:35 +0000)]
Adding code for outputing length in .s

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

22 years agochanged first arg of parseBytecodeBuffer to unsigned char
Anand Shukla [Sun, 21 Jul 2002 09:31:59 +0000 (09:31 +0000)]
changed first arg of parseBytecodeBuffer to unsigned char

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

22 years agochanged first arg og parseBytecodeBuffer to uchar
Anand Shukla [Sun, 21 Jul 2002 09:26:32 +0000 (09:26 +0000)]
changed first arg og parseBytecodeBuffer to uchar

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

22 years ago*** empty log message ***
Chris Lattner [Sat, 20 Jul 2002 08:20:00 +0000 (08:20 +0000)]
*** empty log message ***

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

22 years agoCheck in the boost type_traits library, because it is now used by the CommandLine...
Chris Lattner [Sat, 20 Jul 2002 08:19:52 +0000 (08:19 +0000)]
Check in the boost type_traits library, because it is now used by the CommandLine library.

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

22 years agochanged size computation
Mehwish Nagda [Fri, 19 Jul 2002 22:54:08 +0000 (22:54 +0000)]
changed size computation

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

22 years agoIgnore some common varargs functions.
Chris Lattner [Fri, 19 Jul 2002 18:11:43 +0000 (18:11 +0000)]
Ignore some common varargs functions.

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

22 years agoNew testcase
Chris Lattner [Fri, 19 Jul 2002 03:51:49 +0000 (03:51 +0000)]
New testcase

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

22 years agominor corrections
Anand Shukla [Thu, 18 Jul 2002 20:56:47 +0000 (20:56 +0000)]
minor corrections

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

22 years ago* Inline CopyFunctionCallsList
Chris Lattner [Thu, 18 Jul 2002 18:22:40 +0000 (18:22 +0000)]
* Inline CopyFunctionCallsList
* Don't clone OrigCallList
* Rename removeDeadNodes -> removeTriviallyDeadNodes
* Implement new removeDeadNodes method

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

22 years agoRename removeDeadNodes to removeTriviallyDeadNodes
Chris Lattner [Thu, 18 Jul 2002 18:19:09 +0000 (18:19 +0000)]
Rename removeDeadNodes to removeTriviallyDeadNodes

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

22 years agoRename removeDeadNodes to removeTriviallyDeadNodes
Chris Lattner [Thu, 18 Jul 2002 18:18:40 +0000 (18:18 +0000)]
Rename removeDeadNodes to removeTriviallyDeadNodes
Add new removeDeadNodes method

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

22 years agoSimplify saveOrigFunctionCalls
Chris Lattner [Thu, 18 Jul 2002 16:23:02 +0000 (16:23 +0000)]
Simplify saveOrigFunctionCalls

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

22 years agoAdd support for a top-down propagation pass:
Vikram S. Adve [Thu, 18 Jul 2002 16:13:52 +0000 (16:13 +0000)]
Add support for a top-down propagation pass:
-- Save a copy of the original call nodes in DSGraph before inlining bottom-up.
-- Also, save a list of the callers of each function in DSGraph.

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

22 years agoAdd support for a top-down propagation pass.
Vikram S. Adve [Thu, 18 Jul 2002 16:12:08 +0000 (16:12 +0000)]
Add support for a top-down propagation pass.
Each DSGraph now keeps a list of pending callers that have not
been inlined into the function represented by that graph.
It also keeps a copy of the original call nodes before the BU pass
eliminates some of them.

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

22 years agoImplement cast nodes correctly.
Chris Lattner [Thu, 18 Jul 2002 15:54:42 +0000 (15:54 +0000)]
Implement cast nodes correctly.

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

22 years agoAdd support for bottom up closure of ds analysis
Chris Lattner [Thu, 18 Jul 2002 06:40:56 +0000 (06:40 +0000)]
Add support for bottom up closure of ds analysis

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

22 years agoBuild globaldce tests
Chris Lattner [Thu, 18 Jul 2002 06:40:31 +0000 (06:40 +0000)]
Build globaldce tests

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

22 years agoSeperate stats for DCE'd functions and vars
Chris Lattner [Thu, 18 Jul 2002 06:40:04 +0000 (06:40 +0000)]
Seperate stats for DCE'd functions and vars

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

22 years ago* Code cleanups
Chris Lattner [Thu, 18 Jul 2002 05:18:37 +0000 (05:18 +0000)]
* Code cleanups
* Fix a REALLY misleading error message

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

22 years ago*** empty log message ***
Chris Lattner [Thu, 18 Jul 2002 04:43:20 +0000 (04:43 +0000)]
*** empty log message ***

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

22 years ago* s/method/function
Chris Lattner [Thu, 18 Jul 2002 04:43:16 +0000 (04:43 +0000)]
* s/method/function

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

22 years ago* s/method/function
Chris Lattner [Thu, 18 Jul 2002 04:42:35 +0000 (04:42 +0000)]
* s/method/function
* BIG CHANGE: The root of the call "graph" is considered to be the external
  node, not the "Root".  This means that users using graph iterators like
  df_begin() will start from the external node.

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

22 years agoNew testcase
Chris Lattner [Thu, 18 Jul 2002 04:25:11 +0000 (04:25 +0000)]
New testcase

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

22 years agoNew testcases for bug in globaldce
Chris Lattner [Thu, 18 Jul 2002 04:01:02 +0000 (04:01 +0000)]
New testcases for bug in globaldce

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

22 years agoOnly functions with external linkage can be resolved to function declarations.
Chris Lattner [Thu, 18 Jul 2002 03:01:24 +0000 (03:01 +0000)]
Only functions with external linkage can be resolved to function declarations.
This change fixes programs that have multiple functions named the same thing,
where are least one of them is static/internal.

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

22 years ago* Rewrite loop to be slightly more efficient (arguably)
Chris Lattner [Thu, 18 Jul 2002 02:31:03 +0000 (02:31 +0000)]
* Rewrite loop to be slightly more efficient (arguably)
* Fix a MAJOR thinko that was causing bad links to happen on Spec

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

22 years agoThe graph is more accurate when I don't completely ignore the return value.
Chris Lattner [Thu, 18 Jul 2002 01:58:24 +0000 (01:58 +0000)]
The graph is more accurate when I don't completely ignore the return value.

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

22 years ago* Correctly get prototype for void*malloc(size_t)
Chris Lattner [Thu, 18 Jul 2002 00:18:01 +0000 (00:18 +0000)]
* Correctly get prototype for void*malloc(size_t)

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

22 years agoFixes to be LP64 correct
Chris Lattner [Thu, 18 Jul 2002 00:15:29 +0000 (00:15 +0000)]
Fixes to be LP64 correct

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

22 years ago* ConstExpr::getelementptr now takes a vector of Constants not Values
Chris Lattner [Thu, 18 Jul 2002 00:14:50 +0000 (00:14 +0000)]
* ConstExpr::getelementptr now takes a vector of Constants not Values
* Assert things instead of printing an error and returning null.

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

22 years agoConstExpr::getelementptr now takes a vector of Constants not Values
Chris Lattner [Thu, 18 Jul 2002 00:14:27 +0000 (00:14 +0000)]
ConstExpr::getelementptr now takes a vector of Constants not Values

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

22 years agoAdd a hack to check for a subset of true dominance properties
Chris Lattner [Thu, 18 Jul 2002 00:13:42 +0000 (00:13 +0000)]
Add a hack to check for a subset of true dominance properties

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

22 years agoImplement linking of ConstExprs
Chris Lattner [Thu, 18 Jul 2002 00:13:08 +0000 (00:13 +0000)]
Implement linking of ConstExprs

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

22 years agoLots of bug fixes, add BottomUpClosure, which has bugs, but is a start.
Chris Lattner [Thu, 18 Jul 2002 00:12:30 +0000 (00:12 +0000)]
Lots of bug fixes, add BottomUpClosure, which has bugs, but is a start.

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