oota-llvm.git
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

21 years agoNew testcase for malloc promotion
Chris Lattner [Mon, 4 Nov 2002 16:18:07 +0000 (16:18 +0000)]
New testcase for malloc promotion

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

21 years agoSimple passes that print out SCCs in the CFGs or in the CallGraph of a module.
Vikram S. Adve [Mon, 4 Nov 2002 14:20:22 +0000 (14:20 +0000)]
Simple passes that print out SCCs in the CFGs or in the CallGraph of a module.

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

21 years agoGeneric graph iterator to enumerate the SCCs of a graph
Vikram S. Adve [Mon, 4 Nov 2002 14:15:57 +0000 (14:15 +0000)]
Generic graph iterator to enumerate the SCCs of a graph
in linear time using Tarjan's DFS algorithm.

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

21 years agoChange the "Cannot merge two portions of the same node yet" from an assertion
Chris Lattner [Mon, 4 Nov 2002 06:48:26 +0000 (06:48 +0000)]
Change the "Cannot merge two portions of the same node yet" from an assertion
into a "oh crap, lets collapse" case

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

21 years agoAdd information about why this testcase fails
Chris Lattner [Mon, 4 Nov 2002 06:16:13 +0000 (06:16 +0000)]
Add information about why this testcase fails

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

21 years agoConvert uint gep operands to long
Chris Lattner [Mon, 4 Nov 2002 06:09:46 +0000 (06:09 +0000)]
Convert uint gep operands to long

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

21 years agoConvert old style gep index from uint to long
Chris Lattner [Mon, 4 Nov 2002 06:07:04 +0000 (06:07 +0000)]
Convert old style gep index from uint to long

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

21 years agoAck: Fix bug in previous checkin.
Chris Lattner [Mon, 4 Nov 2002 05:50:42 +0000 (05:50 +0000)]
Ack: Fix bug in previous checkin.

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

21 years agoBe more generous about level raising constant expressions don't force each
Chris Lattner [Mon, 4 Nov 2002 05:46:37 +0000 (05:46 +0000)]
Be more generous about level raising constant expressions don't force each
constant to one particular type.

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

21 years agoImplement a new -print-callgraph analysis that turns a callgraph into a dot
Chris Lattner [Mon, 4 Nov 2002 02:55:30 +0000 (02:55 +0000)]
Implement a new -print-callgraph analysis that turns a callgraph into a dot
graph

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

21 years agoMake sure to _delete_ memory allocated by worklists
Chris Lattner [Mon, 4 Nov 2002 02:54:22 +0000 (02:54 +0000)]
Make sure to _delete_ memory allocated by worklists

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

21 years agoImplement methods needed to print out call graph
Chris Lattner [Mon, 4 Nov 2002 02:53:39 +0000 (02:53 +0000)]
Implement methods needed to print out call graph

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

21 years agoGive a better error message in an unhandled case
Chris Lattner [Mon, 4 Nov 2002 02:29:15 +0000 (02:29 +0000)]
Give a better error message in an unhandled case

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

21 years agoMinor fix to space accounting
Chris Lattner [Mon, 4 Nov 2002 01:49:45 +0000 (01:49 +0000)]
Minor fix to space accounting

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

21 years agoImprove the clean target
Chris Lattner [Mon, 4 Nov 2002 00:33:19 +0000 (00:33 +0000)]
Improve the clean target

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

21 years agoImplement MaxRSS in terms of mallinfo instead of the system RSS. This gives
Chris Lattner [Mon, 4 Nov 2002 00:32:44 +0000 (00:32 +0000)]
Implement MaxRSS in terms of mallinfo instead of the system RSS.  This gives
us much more accurate numbers and actually WORKS.

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

21 years agoAllow the call graph to be called from analyze naturally with print implemented
Chris Lattner [Mon, 4 Nov 2002 00:21:19 +0000 (00:21 +0000)]
Allow the call graph to be called from analyze naturally with print implemented

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

21 years agoRename ValueMap to ScalarMap
Chris Lattner [Sun, 3 Nov 2002 21:27:48 +0000 (21:27 +0000)]
Rename ValueMap to ScalarMap

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

21 years agoRename NewNode flag to HeapNode
Chris Lattner [Sun, 3 Nov 2002 21:24:04 +0000 (21:24 +0000)]
Rename NewNode flag to HeapNode

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

21 years agoChange the letters used to represent stack and heap allocations to "S" and "H"
Chris Lattner [Sun, 3 Nov 2002 19:46:15 +0000 (19:46 +0000)]
Change the letters used to represent stack and heap allocations to "S" and "H"
respectively.  This is to make presentation easier in the paper.

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

21 years agoCheck in header file that was missing, thus broke the build
Chris Lattner [Sun, 3 Nov 2002 19:24:49 +0000 (19:24 +0000)]
Check in header file that was missing, thus broke the build

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

21 years agoDisable correlated expressions pass until it is reliable.
Vikram S. Adve [Sun, 3 Nov 2002 12:41:50 +0000 (12:41 +0000)]
Disable correlated expressions pass until it is reliable.

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

21 years agocode to lightly instrument at branches
Anand Shukla [Sun, 3 Nov 2002 01:45:20 +0000 (01:45 +0000)]
code to lightly instrument at branches

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

21 years agoMove function to cpp file from header
Chris Lattner [Sat, 2 Nov 2002 22:07:51 +0000 (22:07 +0000)]
Move function to cpp file from header

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

21 years agoFixed comment on top of DSNode.h, added note to DSSupport.h as to why
Misha Brukman [Sat, 2 Nov 2002 21:18:53 +0000 (21:18 +0000)]
Fixed comment on top of DSNode.h, added note to DSSupport.h as to why
functions were split out from DSNode class.

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

21 years agoImplement signed and unsigned division and remainder
Chris Lattner [Sat, 2 Nov 2002 20:54:46 +0000 (20:54 +0000)]
Implement signed and unsigned division and remainder

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

21 years agoEnable div and mod tests
Chris Lattner [Sat, 2 Nov 2002 20:54:11 +0000 (20:54 +0000)]
Enable div and mod tests

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

21 years agoImplement multiply operator
Chris Lattner [Sat, 2 Nov 2002 20:28:58 +0000 (20:28 +0000)]
Implement multiply operator

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

21 years agoEnable multiply tests
Chris Lattner [Sat, 2 Nov 2002 20:28:47 +0000 (20:28 +0000)]
Enable multiply tests

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

21 years agoNew testcase for arithmetic operations
Chris Lattner [Sat, 2 Nov 2002 20:13:40 +0000 (20:13 +0000)]
New testcase for arithmetic operations

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

21 years ago* Implement subtract
Chris Lattner [Sat, 2 Nov 2002 20:13:22 +0000 (20:13 +0000)]
* Implement subtract
* Merge add code into logical code

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

21 years agoshuffle code around a bit, implement and, or, xor
Chris Lattner [Sat, 2 Nov 2002 20:04:26 +0000 (20:04 +0000)]
shuffle code around a bit, implement and, or, xor

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

21 years agoNew testcase for logical operators
Chris Lattner [Sat, 2 Nov 2002 20:04:02 +0000 (20:04 +0000)]
New testcase for logical operators

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

21 years agoAdd PHI node support, add comment for branch function
Chris Lattner [Sat, 2 Nov 2002 19:45:49 +0000 (19:45 +0000)]
Add PHI node support, add comment for branch function

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

21 years agoMake phi test a bit more challenging
Chris Lattner [Sat, 2 Nov 2002 19:45:30 +0000 (19:45 +0000)]
Make phi test a bit more challenging

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

21 years agoImplement unconditional branching support
Chris Lattner [Sat, 2 Nov 2002 19:27:56 +0000 (19:27 +0000)]
Implement unconditional branching support

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

21 years agoOnly test that uncond branch works
Chris Lattner [Sat, 2 Nov 2002 19:27:45 +0000 (19:27 +0000)]
Only test that uncond branch works

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

21 years ago* Fix nonconstant shift case
Chris Lattner [Sat, 2 Nov 2002 01:41:55 +0000 (01:41 +0000)]
* Fix nonconstant shift case
* Turn table into 2d table

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

21 years agoExpose a LJELLO variable
Chris Lattner [Sat, 2 Nov 2002 01:41:07 +0000 (01:41 +0000)]
Expose a LJELLO variable

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

21 years agoTests results are invalidated when jello is rebuilt
Chris Lattner [Sat, 2 Nov 2002 01:40:24 +0000 (01:40 +0000)]
Tests results are invalidated when jello is rebuilt

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

21 years agoUse a more table driven approach to handling types. Seems to simplify the
Chris Lattner [Sat, 2 Nov 2002 01:15:18 +0000 (01:15 +0000)]
Use a more table driven approach to handling types.  Seems to simplify the
code a bit

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

21 years agoMake switch statements denser, but only because of the follow-on patch
Chris Lattner [Sat, 2 Nov 2002 00:49:56 +0000 (00:49 +0000)]
Make switch statements denser, but only because of the follow-on patch

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