Commit Graph

3382 Commits

Author SHA1 Message Date
Chris Lattner 7495a9b13a New testcase
llvm-svn: 3554
2002-08-30 23:22:15 +00:00
Chris Lattner 3f5b42697c - Reformat comments
- 'gccas' puts verifier in logical place in pass procession to avoid
    recomputing dominator information unneccesarily.

llvm-svn: 3553
2002-08-30 22:55:32 +00:00
Chris Lattner 4a84ad57a9 - 'analyze' and 'as' now explicitly verify input because AsmParser doesn't.
llvm-svn: 3552
2002-08-30 22:54:41 +00:00
Chris Lattner 2292e551ed - 'analyze' and 'as' now explicitly verify input because AsmParser doesn't.
llvm-svn: 3551
2002-08-30 22:54:37 +00:00
Chris Lattner ed39ccae8d - Eliminate the last traces of the 'analysis' namespace
llvm-svn: 3550
2002-08-30 22:53:53 +00:00
Chris Lattner 1b09a9ab68 Really minor cleanups
llvm-svn: 3549
2002-08-30 22:53:30 +00:00
Chris Lattner e083fe9e34 AsmParser now depends on clients to verify that input is well formed
llvm-svn: 3548
2002-08-30 22:52:23 +00:00
Chris Lattner 91f9b9de9e Update comments
llvm-svn: 3547
2002-08-30 22:51:21 +00:00
Chris Lattner f7e2daf5a4 Fix comments.
llvm-svn: 3546
2002-08-30 22:51:08 +00:00
Chris Lattner ba6fda3e69 Merged into ValueNumbering.cpp
llvm-svn: 3545
2002-08-30 22:30:51 +00:00
Chris Lattner f2eb70fc0b Minor cleanups so I can remove BasicValueNumbering.h
llvm-svn: 3544
2002-08-30 22:30:36 +00:00
Chris Lattner eb5d8331e8 Add "written by" note
llvm-svn: 3543
2002-08-30 21:50:21 +00:00
Chris Lattner a70e697e29 Initial implementation of basic value numbering
This file will probably go away at some point

llvm-svn: 3542
2002-08-30 20:30:03 +00:00
Chris Lattner c05581fb31 initial implementation of ValueNumbering interface.
llvm-svn: 3541
2002-08-30 20:29:02 +00:00
Chris Lattner 2dd49e525c Initial implementation of value numbering for load instructions
llvm-svn: 3540
2002-08-30 20:28:10 +00:00
Chris Lattner 3e4e6974f2 Initial version of LoadValueNumbering interface
llvm-svn: 3539
2002-08-30 20:27:48 +00:00
Chris Lattner 0653f10c2f Initial version of ValueNumbering interface
llvm-svn: 3538
2002-08-30 20:27:15 +00:00
Chris Lattner 447dd14bac Link to analysis.o not analysis.a
llvm-svn: 3537
2002-08-30 20:25:41 +00:00
Chris Lattner edd6704458 - GCCAS now uses load value #ing for GCSE
llvm-svn: 3536
2002-08-30 20:25:25 +00:00
Chris Lattner 216edd4ea0 - Use Pass::AnalysisImpls instead of findAnalysisGroupMemeber
- -debug-pass=Details now prints implementation class names for analysis
    groups
  - Rework how AnalysisGroups are resolved to be simpler and better.

llvm-svn: 3535
2002-08-30 20:25:01 +00:00
Chris Lattner b3708e267e - PassManager prints analysis sets nicer
- Use Pass::AnalysisImpls instead of findAnalysisGroupMemeber

llvm-svn: 3534
2002-08-30 20:23:45 +00:00
Chris Lattner b2a31090b1 - GCSE now no longer counts instructions not removed (due to no common
dominator as being removed)
  - GCSE now uses new Value #'ing interface, instead of dealing with AA itself
  - GCSE worklist implementation much simpler, class cleaned up.

llvm-svn: 3533
2002-08-30 20:22:29 +00:00
Chris Lattner 91046f158e - PassInfo class keeps track of AnalysisGroups implemented by the Pass.
- Doxygenize comments

llvm-svn: 3532
2002-08-30 20:20:39 +00:00
Chris Lattner aefad603ad - Pass now has AnalysisImpls class to implement getAnalysis() so that it is
correct even when called back by another passes run method.

llvm-svn: 3531
2002-08-30 20:19:49 +00:00
Chris Lattner 06724b8d8a Make sure to run these tests with load value #'ing
llvm-svn: 3530
2002-08-30 20:18:09 +00:00
Vikram S. Adve 12e350e5ed Eliminate hardcoded paths using LLVMGCCDIR variable.
llvm-svn: 3529
2002-08-30 03:27:36 +00:00
Vikram S. Adve a0e2fd3c2f Add LLVMGCCDIR variable to eliminate hardcoded paths from test/Makefile.tests.
llvm-svn: 3528
2002-08-30 03:27:09 +00:00
Vikram S. Adve 728de92db4 Simplified significantly by pulling out local configuration options
into Makefile.config.

llvm-svn: 3527
2002-08-29 23:28:46 +00:00
Vikram S. Adve 1899c5626c Local configuration options for a particular installation of LLVM.
llvm-svn: 3526
2002-08-29 23:27:38 +00:00
Chris Lattner 6d33f2f338 New datastructure analysis correctly uses TargetData
llvm-svn: 3525
2002-08-29 20:10:29 +00:00
Chris Lattner abb16604fd Remove unneeded #include
llvm-svn: 3524
2002-08-29 20:08:55 +00:00
Chris Lattner bcc8a72b52 Fix comments
llvm-svn: 3523
2002-08-29 20:08:39 +00:00
Chris Lattner b3b49799b8 Make the getAnalyss<> members const. Using them does NOT modify the Pass object.
llvm-svn: 3522
2002-08-29 20:07:59 +00:00
Vikram S. Adve 0bfb4cc5d1 Factor out /shared/... path to simplify changing it.
llvm-svn: 3521
2002-08-29 18:40:51 +00:00
Chris Lattner 429b522d79 Comment out broken link
llvm-svn: 3520
2002-08-29 18:33:48 +00:00
Anand Shukla bcba516097 moved this file from lib/Reoptimizer/Mapping
llvm-svn: 3519
2002-08-27 22:47:33 +00:00
Anand Shukla 2762328f9e Makefile for new sub directory
llvm-svn: 3518
2002-08-27 22:46:38 +00:00
Anand Shukla fe9eda7fb1 Added Mapping subdir
llvm-svn: 3517
2002-08-27 22:45:49 +00:00
Chris Lattner c837dbc39f Implement ConstantPointerRef support, & ConstantExpr support for Cast, GEP & Add.
llvm-svn: 3516
2002-08-27 22:33:45 +00:00
Anand Shukla a1cd3fedb5 added Reoptimizer in Makefile DIRS
llvm-svn: 3515
2002-08-27 22:05:53 +00:00
Anand Shukla cbf89056d3 Added mapping lib in llc makefile
llvm-svn: 3514
2002-08-27 16:46:11 +00:00
Anand Shukla f246131208 Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier error in compiling
llvm-svn: 3513
2002-08-27 16:45:17 +00:00
Chris Lattner 91680b53f4 Fix bug: test/Regression/CBackend/2002-08-26-IndirectCallTest.ll
llvm-svn: 3511
2002-08-26 20:50:09 +00:00
Chris Lattner 5ce35beed5 New testcase
llvm-svn: 3510
2002-08-26 20:49:42 +00:00
Chris Lattner 81fabb05e5 Add support for turning an array of characters into a string.
llvm-svn: 3509
2002-08-26 17:53:56 +00:00
Anand Shukla e87291ef83 Changed so it gets linked properly
llvm-svn: 3508
2002-08-26 16:45:19 +00:00
Chris Lattner b3a296fc6a Convert comments to Doxygen style
llvm-svn: 3507
2002-08-25 22:54:55 +00:00
Vikram S. Adve 8a5c9b15ae Fix the way parens are printed around "*ptrName" so that
no parens are printed around  *, **, ... alone, except if
it is a pointer type for which no name should be printed,
as in the result of a cast.

llvm-svn: 3506
2002-08-25 20:00:08 +00:00
Vikram S. Adve 802e7716d8 Added function GetMemInstArgs and made FoldGetElemChain private.
llvm-svn: 3503
2002-08-24 21:03:10 +00:00
Vikram S. Adve 6f3268d39d Added support for type inquiry in subclasses of InstTreeNode.
llvm-svn: 3502
2002-08-24 21:02:42 +00:00