oota-llvm.git
21 years agoAdd a bunch more numbers
Chris Lattner [Fri, 8 Nov 2002 22:29:30 +0000 (22:29 +0000)]
Add a bunch more numbers

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

21 years agoAdd another option to cloneGraph
Chris Lattner [Fri, 8 Nov 2002 22:28:55 +0000 (22:28 +0000)]
Add another option to cloneGraph

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

21 years agoONLY merge in the aux call sites, this causes a HUGE speedup
Chris Lattner [Fri, 8 Nov 2002 22:27:25 +0000 (22:27 +0000)]
ONLY merge in the aux call sites, this causes a HUGE speedup

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

21 years agoAllow specification of whether the call sites should be copied, AND whether
Chris Lattner [Fri, 8 Nov 2002 22:27:09 +0000 (22:27 +0000)]
Allow specification of whether the call sites should be copied, AND whether
the aux call sites should be copied

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

21 years agoReenable 'quick exit' case
Chris Lattner [Fri, 8 Nov 2002 22:26:43 +0000 (22:26 +0000)]
Reenable 'quick exit' case

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

21 years agoReduce amount of work needed to compute ip/modref
Chris Lattner [Fri, 8 Nov 2002 22:17:01 +0000 (22:17 +0000)]
Reduce amount of work needed to compute ip/modref

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

21 years agofix path
Chris Lattner [Fri, 8 Nov 2002 21:29:22 +0000 (21:29 +0000)]
fix path

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

21 years agoReimplement TD pass completely it now works
Chris Lattner [Fri, 8 Nov 2002 21:28:37 +0000 (21:28 +0000)]
Reimplement TD pass completely it now works

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

21 years agoCannot modify original call sites vector
Chris Lattner [Fri, 8 Nov 2002 21:27:37 +0000 (21:27 +0000)]
Cannot modify original call sites vector

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

21 years ago- Add a bunch of checking to make sure that dead nodes are not used after they
Chris Lattner [Fri, 8 Nov 2002 21:27:12 +0000 (21:27 +0000)]
- Add a bunch of checking to make sure that dead nodes are not used after they
  are marked DEAD.  This helped track down some bugs
- Fix a bunch of bugs where we were doing work on nodes after they became dead
- Add support for aux function call sites
- Add support for not cloning call sites

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

21 years agoRemove gunk used by broken TD pass
Chris Lattner [Fri, 8 Nov 2002 21:25:24 +0000 (21:25 +0000)]
Remove gunk used by broken TD pass

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

21 years ago- Add support for an "auxillary" call site list
Chris Lattner [Fri, 8 Nov 2002 21:24:51 +0000 (21:24 +0000)]
- Add support for an "auxillary" call site list
- Original call sites are now never modified after construction by the local
  pass.
- DSGraph::cloneInto can now optionally not clone the call sites
- BUDataStructures no longer has a ton of book-keeping info for a broken
  implementation of the TD data structures

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

21 years agoUse the new getMainFunction() method to efficiently locate main
Chris Lattner [Fri, 8 Nov 2002 20:34:21 +0000 (20:34 +0000)]
Use the new getMainFunction() method to efficiently locate main

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

21 years agoAdd a method "getMainFunction()" that efficiently locates 'main' in a module
Chris Lattner [Fri, 8 Nov 2002 20:34:02 +0000 (20:34 +0000)]
Add a method "getMainFunction()" that efficiently locates 'main' in a module

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

21 years agoFix IPModRef to use new DS interface
Chris Lattner [Fri, 8 Nov 2002 19:13:14 +0000 (19:13 +0000)]
Fix IPModRef to use new DS interface

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

21 years agoImplement feof
Chris Lattner [Fri, 8 Nov 2002 19:10:26 +0000 (19:10 +0000)]
Implement feof

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

21 years agoInclude HashExtras.h since it is almost always needed anyway.
Vikram S. Adve [Fri, 8 Nov 2002 14:07:33 +0000 (14:07 +0000)]
Include HashExtras.h since it is almost always needed anyway.

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

21 years agoAdd some numbers
Chris Lattner [Fri, 8 Nov 2002 06:50:22 +0000 (06:50 +0000)]
Add some numbers

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

21 years agoAdd some notes about DEBUG flag
Chris Lattner [Fri, 8 Nov 2002 06:50:02 +0000 (06:50 +0000)]
Add some notes about DEBUG flag

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

21 years agoUse DSNodeHandle for persistent maps
Chris Lattner [Fri, 8 Nov 2002 05:03:37 +0000 (05:03 +0000)]
Use DSNodeHandle for persistent maps

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

21 years agoUse DSNodeHandleMap instead to be safe
Chris Lattner [Fri, 8 Nov 2002 05:01:14 +0000 (05:01 +0000)]
Use DSNodeHandleMap instead to be safe

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

21 years ago* actually handle constants (especially constantexprs) correctly.
Chris Lattner [Fri, 8 Nov 2002 05:00:44 +0000 (05:00 +0000)]
* actually handle constants (especially constantexprs) correctly.
  - This seems to dramatically improve many benchmarks, only slowing down
    gzip significantly.

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

21 years agoAdd flag that may be used to determine if dead nodes are used. It's temporary
Chris Lattner [Fri, 8 Nov 2002 01:22:26 +0000 (01:22 +0000)]
Add flag that may be used to determine if dead nodes are used.  It's temporary

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

21 years agoAdd flush
Chris Lattner [Fri, 8 Nov 2002 01:21:07 +0000 (01:21 +0000)]
Add flush

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

21 years agoFix bug: FunctionResolve/2002-11-07-RetMismatch.ll
Chris Lattner [Fri, 8 Nov 2002 00:38:20 +0000 (00:38 +0000)]
Fix bug: FunctionResolve/2002-11-07-RetMismatch.ll

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

21 years agoFix predicate
Chris Lattner [Fri, 8 Nov 2002 00:31:27 +0000 (00:31 +0000)]
Fix predicate

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

21 years agoRestore a #include because this header file needs the definitions
Vikram S. Adve [Fri, 8 Nov 2002 00:23:23 +0000 (00:23 +0000)]
Restore a #include because this header file needs the definitions
of DSCallSite::~DSCallSite and DSNodeHandle::~DSNodeHandle.

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

21 years agoAdd testcase that is fscking twolf
Chris Lattner [Fri, 8 Nov 2002 00:22:07 +0000 (00:22 +0000)]
Add testcase that is fscking twolf

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

21 years agoUpdateCVS: ----------------------------------------------------------------------
Nick Hildenbrandt [Thu, 7 Nov 2002 22:57:41 +0000 (22:57 +0000)]
UpdateCVS: ----------------------------------------------------------------------

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

21 years agoMore updates, more test work
Nick Hildenbrandt [Thu, 7 Nov 2002 22:40:56 +0000 (22:40 +0000)]
More updates, more test work

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

21 years ago_REALLY_ fix the float constant problem
Chris Lattner [Thu, 7 Nov 2002 22:12:53 +0000 (22:12 +0000)]
_REALLY_ fix the float constant problem

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

21 years agoUpdated test results.
Nick Hildenbrandt [Thu, 7 Nov 2002 21:37:32 +0000 (21:37 +0000)]
Updated test results.

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

21 years agoPrint out 'float' constants correctly
Chris Lattner [Thu, 7 Nov 2002 19:43:59 +0000 (19:43 +0000)]
Print out 'float' constants correctly

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

21 years agoImplement freopen for burg
Chris Lattner [Thu, 7 Nov 2002 19:33:50 +0000 (19:33 +0000)]
Implement freopen for burg

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

21 years agoMake command line arguments setup be endian correct!!
Chris Lattner [Thu, 7 Nov 2002 19:29:31 +0000 (19:29 +0000)]
Make command line arguments setup be endian correct!!

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

21 years agocomment out the 64-bit cases for now.
Brian Gaeke [Thu, 7 Nov 2002 18:09:02 +0000 (18:09 +0000)]
comment out the 64-bit cases for now.

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

21 years agoAdd instruction selection code and tests for setcc instructions
Brian Gaeke [Thu, 7 Nov 2002 17:59:21 +0000 (17:59 +0000)]
Add instruction selection code and tests for setcc instructions

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

21 years agoImplement ResolveCallSiteModRefInfo for IPModRef. computeModRef is not yet done...
Chris Lattner [Thu, 7 Nov 2002 07:12:23 +0000 (07:12 +0000)]
Implement ResolveCallSiteModRefInfo for IPModRef.  computeModRef is not yet done though!

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

21 years agoAdd interfaces for ResolveCallSiteModRefInfo
Chris Lattner [Thu, 7 Nov 2002 07:11:49 +0000 (07:11 +0000)]
Add interfaces for ResolveCallSiteModRefInfo

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

21 years agoInstead of using a bool that constant has to be explained, use a self
Chris Lattner [Thu, 7 Nov 2002 07:06:20 +0000 (07:06 +0000)]
Instead of using a bool that constant has to be explained, use a self
explanitory enum instead.

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

21 years agoImplement a new mergeInGraph method, which basically factors code out of
Chris Lattner [Thu, 7 Nov 2002 06:31:54 +0000 (06:31 +0000)]
Implement a new mergeInGraph method, which basically factors code out of
the BU class.

This will be used by the IPModRef class to do stuff, eventually perhaps the
TD pass will use it also.

Speaking of the TD pass, this also eliminates the self recursive case, which
was broken, and couldn't occur anyway.

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

21 years agoAdd new method
Chris Lattner [Thu, 7 Nov 2002 06:30:17 +0000 (06:30 +0000)]
Add new method

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

21 years agoExpose isPointerType to clients of dsanalysis
Chris Lattner [Thu, 7 Nov 2002 05:21:15 +0000 (05:21 +0000)]
Expose isPointerType to clients of dsanalysis

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

21 years agoRename DataStructureAnalysis namespace to DS
Chris Lattner [Thu, 7 Nov 2002 05:20:53 +0000 (05:20 +0000)]
Rename DataStructureAnalysis namespace to DS

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

21 years agoFix problem with dangling referrers
Chris Lattner [Thu, 7 Nov 2002 05:00:35 +0000 (05:00 +0000)]
Fix problem with dangling referrers

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

21 years agoMinor bugfix to enable generation of methcall.llvm.lib, objinst.llvm.lib, and
Chris Lattner [Thu, 7 Nov 2002 04:59:28 +0000 (04:59 +0000)]
Minor bugfix to enable generation of methcall.llvm.lib, objinst.llvm.lib, and

The problem was merging two unsized types like function's, ie int (int*) with
int (uint *)

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

21 years agoUpdate info now that bugfixes have been applied
Chris Lattner [Thu, 7 Nov 2002 03:53:27 +0000 (03:53 +0000)]
Update info now that bugfixes have been applied

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

21 years agoCompute total number of nodes and # call nodes
Chris Lattner [Thu, 7 Nov 2002 02:18:46 +0000 (02:18 +0000)]
Compute total number of nodes and # call nodes

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

21 years agoAdd new NumNodes column
Chris Lattner [Thu, 7 Nov 2002 02:18:30 +0000 (02:18 +0000)]
Add new NumNodes column

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

21 years agoAdd note
Chris Lattner [Thu, 7 Nov 2002 02:07:57 +0000 (02:07 +0000)]
Add note

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

21 years agoNew web page to track the progress of the DSGraph implementation
Chris Lattner [Thu, 7 Nov 2002 02:03:18 +0000 (02:03 +0000)]
New web page to track the progress of the DSGraph implementation

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

21 years agoMove printouts to be wrapped in DEBUG() macros
Chris Lattner [Thu, 7 Nov 2002 01:54:56 +0000 (01:54 +0000)]
Move printouts to be wrapped in DEBUG() macros

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

21 years agoWhen the -only-print-main-ds option is specified, still print out graph size
Chris Lattner [Thu, 7 Nov 2002 01:54:44 +0000 (01:54 +0000)]
When the -only-print-main-ds option is specified, still print out graph size
statistics for skipped functions

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

21 years agoAdd a comment
Chris Lattner [Wed, 6 Nov 2002 23:26:21 +0000 (23:26 +0000)]
Add a comment

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

21 years agoImplement fprintf
Chris Lattner [Wed, 6 Nov 2002 23:05:03 +0000 (23:05 +0000)]
Implement fprintf

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

21 years agoImplement fputc and ungetc to allow burg to run in lli
Chris Lattner [Wed, 6 Nov 2002 22:59:28 +0000 (22:59 +0000)]
Implement fputc and ungetc to allow burg to run in lli

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

21 years agoFixes escapeing bug in strings. Fixes test case test/Regression/CBackend/2002-11...
Nick Hildenbrandt [Wed, 6 Nov 2002 21:40:23 +0000 (21:40 +0000)]
Fixes escapeing bug in strings.  Fixes test case test/Regression/CBackend/2002-11-06-PrintEscaped.c

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

21 years agoCertain characters not getting escaped properly
Nick Hildenbrandt [Wed, 6 Nov 2002 21:38:39 +0000 (21:38 +0000)]
Certain characters not getting escaped properly

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

21 years agoAdd note about what this is
Chris Lattner [Wed, 6 Nov 2002 20:58:26 +0000 (20:58 +0000)]
Add note about what this is

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

21 years agolibraries is used for internal stuff, not as a real testcase
Chris Lattner [Wed, 6 Nov 2002 20:36:52 +0000 (20:36 +0000)]
libraries is used for internal stuff, not as a real testcase

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

21 years agoLoads and stores can't be inlined. This fixes test/Singlesource/matrixTranspose
Nick Hildenbrandt [Wed, 6 Nov 2002 20:07:54 +0000 (20:07 +0000)]
Loads and stores can't be inlined.  This fixes test/Singlesource/matrixTranspose

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

21 years agoAllow the ResolveCallSiteModRefInfo method to return a mapping of nodes,
Chris Lattner [Wed, 6 Nov 2002 19:59:33 +0000 (19:59 +0000)]
Allow the ResolveCallSiteModRefInfo method to return a mapping of nodes,
implement the mod/ref bit masking

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

21 years agoAdd a stub to implement the context sensitive mod/ref info for call sites
Chris Lattner [Wed, 6 Nov 2002 19:38:43 +0000 (19:38 +0000)]
Add a stub to implement the context sensitive mod/ref info for call sites

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

21 years agoGive a back pointer to the IPModRef object to the FunctionModRefInfo object
Chris Lattner [Wed, 6 Nov 2002 19:07:13 +0000 (19:07 +0000)]
Give a back pointer to the IPModRef object to the FunctionModRefInfo object

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

21 years agoRemove a couple of #includes, move some code from .h file
Chris Lattner [Wed, 6 Nov 2002 18:38:18 +0000 (18:38 +0000)]
Remove a couple of #includes, move some code from .h file

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

21 years agoRemove a couple of #includes, move some code to .cpp file
Chris Lattner [Wed, 6 Nov 2002 18:38:10 +0000 (18:38 +0000)]
Remove a couple of #includes, move some code to .cpp file

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

21 years agoMake maxSize a private variable, add a size() accessor
Chris Lattner [Wed, 6 Nov 2002 18:34:40 +0000 (18:34 +0000)]
Make maxSize a private variable, add a size() accessor

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

21 years agoChange Steens class to build with Vikram's changes
Chris Lattner [Wed, 6 Nov 2002 18:08:32 +0000 (18:08 +0000)]
Change Steens class to build with Vikram's changes

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

21 years agoMake PointerShift/Size be enums so they are constants instead of globals
Chris Lattner [Wed, 6 Nov 2002 18:02:26 +0000 (18:02 +0000)]
Make PointerShift/Size be enums so they are constants instead of globals

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

21 years agoMake PointerSize & Shift be enums
Chris Lattner [Wed, 6 Nov 2002 18:01:39 +0000 (18:01 +0000)]
Make PointerSize & Shift be enums
Fix problem with recursive merging

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

21 years agoMake query operations non-const to allow demand-driven analyses.
Vikram S. Adve [Wed, 6 Nov 2002 17:17:55 +0000 (17:17 +0000)]
Make query operations non-const to allow demand-driven analyses.

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

21 years agoAn implementation of the bit-vector representation of sets.
Vikram S. Adve [Wed, 6 Nov 2002 17:14:14 +0000 (17:14 +0000)]
An implementation of the bit-vector representation of sets.

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

21 years agoAn interprocedural analysis pass that computes flow-insensitive
Vikram S. Adve [Wed, 6 Nov 2002 17:02:03 +0000 (17:02 +0000)]
An interprocedural analysis pass that computes flow-insensitive
IP Mod and Ref information for every function and every call site.

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

21 years agoAdd const version of function getNodeForValue:
Vikram S. Adve [Wed, 6 Nov 2002 17:00:41 +0000 (17:00 +0000)]
Add const version of function getNodeForValue:
  const DSNodeHandle &getNodeForValue(Value *V) const.

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

21 years agoDon't build llc symbols by default.
Vikram S. Adve [Wed, 6 Nov 2002 16:10:57 +0000 (16:10 +0000)]
Don't build llc symbols by default.

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

21 years agoNew testcases
Chris Lattner [Wed, 6 Nov 2002 06:20:53 +0000 (06:20 +0000)]
New testcases

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

21 years agoDramatically simplify internal DSNode representation, get implementation
Chris Lattner [Wed, 6 Nov 2002 06:20:27 +0000 (06:20 +0000)]
Dramatically simplify internal DSNode representation, get implementation
*FULLY OPERATIONAL* and safe.  We are now capable of completely analyzing
at LEAST the Olden benchmarks + 181.mcf

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

21 years agoRemove stripscalars argument to cloneInto
Chris Lattner [Wed, 6 Nov 2002 06:18:56 +0000 (06:18 +0000)]
Remove stripscalars argument to cloneInto

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

21 years agoDelete "StripScalars" argument to cloneInto method
Chris Lattner [Wed, 6 Nov 2002 06:16:30 +0000 (06:16 +0000)]
Delete "StripScalars" argument to cloneInto method

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

21 years agoGive passnames to the printer classes
Chris Lattner [Wed, 6 Nov 2002 06:16:08 +0000 (06:16 +0000)]
Give passnames to the printer classes

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

21 years agoNew testcase to handle eventually
Chris Lattner [Wed, 6 Nov 2002 00:52:21 +0000 (00:52 +0000)]
New testcase to handle eventually

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

21 years agoRemove a nasty little semi-colon someone introduced which
Vikram S. Adve [Wed, 6 Nov 2002 00:34:26 +0000 (00:34 +0000)]
Remove a nasty little semi-colon someone introduced which
prevented any machine instrs from being printed!

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

21 years agoTypo fixed
Nick Hildenbrandt [Tue, 5 Nov 2002 22:57:43 +0000 (22:57 +0000)]
Typo fixed

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

21 years agoAdded new tests
Nick Hildenbrandt [Tue, 5 Nov 2002 22:55:38 +0000 (22:55 +0000)]
Added new tests

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

21 years agoNew testcase
Chris Lattner [Tue, 5 Nov 2002 21:12:30 +0000 (21:12 +0000)]
New testcase

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

21 years agoAdd a note about the switch instruction
Chris Lattner [Tue, 5 Nov 2002 00:21:03 +0000 (00:21 +0000)]
Add a note about the switch instruction

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

21 years agoAttempted fixes to the mergemap to make it work better.
Chris Lattner [Tue, 5 Nov 2002 00:01:58 +0000 (00:01 +0000)]
Attempted fixes to the mergemap to make it work better.

Ended up disabling merge map merging completely.  It shall be removed.

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

21 years agoAdd a bunch of assertions
Chris Lattner [Mon, 4 Nov 2002 23:59:41 +0000 (23:59 +0000)]
Add a bunch of assertions

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

21 years agoSimplify code
Chris Lattner [Mon, 4 Nov 2002 21:06:54 +0000 (21:06 +0000)]
Simplify code

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

21 years agoSun can now use mallinfo()
Chris Lattner [Mon, 4 Nov 2002 21:05:21 +0000 (21:05 +0000)]
Sun can now use mallinfo()

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

21 years agoFix typo.
Nick Hildenbrandt [Mon, 4 Nov 2002 21:03:13 +0000 (21:03 +0000)]
Fix typo.
  -Chris

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

21 years agoLink to -lmalloc
Chris Lattner [Mon, 4 Nov 2002 20:53:27 +0000 (20:53 +0000)]
Link to -lmalloc

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

21 years agoNo need to explicitly inclue ExportSymbols now
Chris Lattner [Mon, 4 Nov 2002 20:50:57 +0000 (20:50 +0000)]
No need to explicitly inclue ExportSymbols now

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

21 years agoGeneralize ExportSymbols into PLATFORMLINKOPTS
Chris Lattner [Mon, 4 Nov 2002 20:50:33 +0000 (20:50 +0000)]
Generalize ExportSymbols into PLATFORMLINKOPTS

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

21 years agoAllow memory sizes to be negative, eliminate TmpRSS
Chris Lattner [Mon, 4 Nov 2002 19:20:09 +0000 (19:20 +0000)]
Allow memory sizes to be negative, eliminate TmpRSS

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

21 years agoAllow memory sizes to be negative, remove obsolete TmpRSS field
Chris Lattner [Mon, 4 Nov 2002 19:19:36 +0000 (19:19 +0000)]
Allow memory sizes to be negative, remove obsolete TmpRSS field

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

21 years agomallinfo is not available on sun apparently :(
Chris Lattner [Mon, 4 Nov 2002 19:01:41 +0000 (19:01 +0000)]
mallinfo is not available on sun apparently :(

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

21 years agoInstcombine this away:
Chris Lattner [Mon, 4 Nov 2002 16:43:32 +0000 (16:43 +0000)]
Instcombine this away:
        %A = getelementptr [4 x int]* %M, long 0, long 0
        %B = getelementptr int* %A, long 2

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

21 years agoAdd new getelementptr elimination test
Chris Lattner [Mon, 4 Nov 2002 16:35:14 +0000 (16:35 +0000)]
Add new getelementptr elimination test

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

21 years agoAdd a transformation to turn:
Chris Lattner [Mon, 4 Nov 2002 16:18:53 +0000 (16:18 +0000)]
Add a transformation to turn:
  malloc Ty, C
int
  malloc [C x Ty], 1

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