oota-llvm.git
21 years agoSimplified significantly by pulling out local configuration options
Vikram S. Adve [Thu, 29 Aug 2002 23:28:46 +0000 (23:28 +0000)]
Simplified significantly by pulling out local configuration options
into Makefile.config.

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

21 years agoLocal configuration options for a particular installation of LLVM.
Vikram S. Adve [Thu, 29 Aug 2002 23:27:38 +0000 (23:27 +0000)]
Local configuration options for a particular installation of LLVM.

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

21 years agoNew datastructure analysis correctly uses TargetData
Chris Lattner [Thu, 29 Aug 2002 20:10:29 +0000 (20:10 +0000)]
New datastructure analysis correctly uses TargetData

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

21 years agoRemove unneeded #include
Chris Lattner [Thu, 29 Aug 2002 20:08:55 +0000 (20:08 +0000)]
Remove unneeded #include

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

21 years agoFix comments
Chris Lattner [Thu, 29 Aug 2002 20:08:39 +0000 (20:08 +0000)]
Fix comments

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

21 years agoMake the getAnalyss<> members const. Using them does NOT modify the Pass object.
Chris Lattner [Thu, 29 Aug 2002 20:07:59 +0000 (20:07 +0000)]
Make the getAnalyss<> members const.  Using them does NOT modify the Pass object.

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

21 years agoFactor out /shared/... path to simplify changing it.
Vikram S. Adve [Thu, 29 Aug 2002 18:40:51 +0000 (18:40 +0000)]
Factor out /shared/... path to simplify changing it.

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

21 years agoComment out broken link
Chris Lattner [Thu, 29 Aug 2002 18:33:48 +0000 (18:33 +0000)]
Comment out broken link

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

21 years agomoved this file from lib/Reoptimizer/Mapping
Anand Shukla [Tue, 27 Aug 2002 22:47:33 +0000 (22:47 +0000)]
moved this file from lib/Reoptimizer/Mapping

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

21 years agoMakefile for new sub directory
Anand Shukla [Tue, 27 Aug 2002 22:46:38 +0000 (22:46 +0000)]
Makefile for new sub directory

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

21 years agoAdded Mapping subdir
Anand Shukla [Tue, 27 Aug 2002 22:45:49 +0000 (22:45 +0000)]
Added Mapping subdir

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

21 years agoImplement ConstantPointerRef support, & ConstantExpr support for Cast, GEP & Add.
Chris Lattner [Tue, 27 Aug 2002 22:33:45 +0000 (22:33 +0000)]
Implement ConstantPointerRef support, & ConstantExpr support for Cast, GEP & Add.

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

21 years agoadded Reoptimizer in Makefile DIRS
Anand Shukla [Tue, 27 Aug 2002 22:05:53 +0000 (22:05 +0000)]
added Reoptimizer in Makefile DIRS

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

21 years agoAdded mapping lib in llc makefile
Anand Shukla [Tue, 27 Aug 2002 16:46:11 +0000 (16:46 +0000)]
Added mapping lib in llc makefile

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

21 years agoAdded getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier error...
Anand Shukla [Tue, 27 Aug 2002 16:45:17 +0000 (16:45 +0000)]
Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier error in compiling

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

21 years agoFix bug: test/Regression/CBackend/2002-08-26-IndirectCallTest.ll
Chris Lattner [Mon, 26 Aug 2002 20:50:09 +0000 (20:50 +0000)]
Fix bug: test/Regression/CBackend/2002-08-26-IndirectCallTest.ll

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

21 years agoNew testcase
Chris Lattner [Mon, 26 Aug 2002 20:49:42 +0000 (20:49 +0000)]
New testcase

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

21 years agoAdd support for turning an array of characters into a string.
Chris Lattner [Mon, 26 Aug 2002 17:53:56 +0000 (17:53 +0000)]
Add support for turning an array of characters into a string.

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

21 years agoChanged so it gets linked properly
Anand Shukla [Mon, 26 Aug 2002 16:45:19 +0000 (16:45 +0000)]
Changed so it gets linked properly

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

21 years agoConvert comments to Doxygen style
Chris Lattner [Sun, 25 Aug 2002 22:54:55 +0000 (22:54 +0000)]
Convert comments to Doxygen style

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

21 years agoFix the way parens are printed around "*ptrName" so that
Vikram S. Adve [Sun, 25 Aug 2002 20:00:08 +0000 (20:00 +0000)]
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.

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

21 years agoAdded function GetMemInstArgs and made FoldGetElemChain private.
Vikram S. Adve [Sat, 24 Aug 2002 21:03:10 +0000 (21:03 +0000)]
Added function GetMemInstArgs and made FoldGetElemChain private.

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

21 years agoAdded support for type inquiry in subclasses of InstTreeNode.
Vikram S. Adve [Sat, 24 Aug 2002 21:02:42 +0000 (21:02 +0000)]
Added support for type inquiry in subclasses of InstTreeNode.

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

21 years agoUse newly-added type inspection support in InstTreeNode subclasses.
Vikram S. Adve [Sat, 24 Aug 2002 21:02:09 +0000 (21:02 +0000)]
Use newly-added type inspection support in InstTreeNode subclasses.

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

21 years agoMoved code here to extract memory instruction indices and to check
Vikram S. Adve [Sat, 24 Aug 2002 21:00:08 +0000 (21:00 +0000)]
Moved code here to extract memory instruction indices and to check
whether FoldGetElemNodes should be called.  This is machine-independent
but was in the Sparc directory.  This is in a new function: GetMemInstArgs.

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

21 years agoLoadIdx non-terminal no longer needed.
Vikram S. Adve [Sat, 24 Aug 2002 20:58:04 +0000 (20:58 +0000)]
LoadIdx non-terminal no longer needed.

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

21 years agoSign-extend values used to index arrays (and Simplify
Vikram S. Adve [Sat, 24 Aug 2002 20:56:53 +0000 (20:56 +0000)]
Sign-extend values used to index arrays (and Simplify
SetOperandsForMemInstr significantly).  Load and Store
no longer have any indices.  Eliminate spurious sign-extension
on a cast to float/double.

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

21 years agoFix sign-extension: it needs to happen *after* multiplying by type size.
Vikram S. Adve [Sat, 24 Aug 2002 14:44:58 +0000 (14:44 +0000)]
Fix sign-extension: it needs to happen *after* multiplying by type size.

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

21 years agoSign-extend array index expressions to work correctly on non-32 bit machines.
Vikram S. Adve [Sat, 24 Aug 2002 14:44:23 +0000 (14:44 +0000)]
Sign-extend array index expressions to work correctly on non-32 bit machines.

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

21 years ago - instcombine demorgan's law: and (not A), (not B) == not (or A, B)
Chris Lattner [Fri, 23 Aug 2002 18:32:43 +0000 (18:32 +0000)]
  - instcombine demorgan's law: and (not A), (not B) == not (or A, B)

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

21 years agoTest that demorgan's law is instcombined successfully
Chris Lattner [Fri, 23 Aug 2002 18:31:18 +0000 (18:31 +0000)]
Test that demorgan's law is instcombined successfully

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

21 years agoImplement classof for SetCondInst so that instcombine doesn't break on dyn_cast<SetCo...
Chris Lattner [Fri, 23 Aug 2002 18:30:58 +0000 (18:30 +0000)]
Implement classof for SetCondInst so that instcombine doesn't break on dyn_cast<SetCondInst>

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

21 years agoChanged default value of 3rd parameter in function definition
Anand Shukla [Fri, 23 Aug 2002 10:55:49 +0000 (10:55 +0000)]
Changed default value of 3rd parameter in function definition

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

21 years agoAdded #include <alloca.h>
Anand Shukla [Fri, 23 Aug 2002 10:54:26 +0000 (10:54 +0000)]
Added #include <alloca.h>

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

21 years agoSimplify previous hack slightly.
Vikram S. Adve [Fri, 23 Aug 2002 03:21:01 +0000 (03:21 +0000)]
Simplify previous hack slightly.

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

21 years agoForce sign-extension for uint array indexes from 32-bit to 64-bits
Vikram S. Adve [Fri, 23 Aug 2002 02:55:51 +0000 (02:55 +0000)]
Force sign-extension for uint array indexes from 32-bit to 64-bits
since uint is not normally sign-extended when casting to uint64_t.

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

21 years agoEliminated the MemAccessInst class, folding contents into GEP class.
Chris Lattner [Thu, 22 Aug 2002 23:37:24 +0000 (23:37 +0000)]
Eliminated the MemAccessInst class, folding contents into GEP class.

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

21 years agoEliminated the MemAccessInst class, folding contents into GEP class.
Chris Lattner [Thu, 22 Aug 2002 23:37:20 +0000 (23:37 +0000)]
Eliminated the MemAccessInst class, folding contents into GEP class.

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

21 years agoLoad & Store Inst now no longer derive from MemAccessInst
Chris Lattner [Thu, 22 Aug 2002 22:54:10 +0000 (22:54 +0000)]
Load & Store Inst now no longer derive from MemAccessInst

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

21 years agoLoad & StoreInst no longer derive from MemAccessInst, so we don't have
Chris Lattner [Thu, 22 Aug 2002 22:49:05 +0000 (22:49 +0000)]
Load & StoreInst no longer derive from MemAccessInst, so we don't have
to handle indexing anymore

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

21 years agoLoad & StoreInst no longer derive from MemAccessInst, so we don't have
Chris Lattner [Thu, 22 Aug 2002 22:48:55 +0000 (22:48 +0000)]
Load & StoreInst no longer derive from MemAccessInst, so we don't have
to handle indexing anymore

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

21 years ago*** empty log message ***
Chris Lattner [Thu, 22 Aug 2002 22:48:32 +0000 (22:48 +0000)]
*** empty log message ***

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

21 years agoLoad and Store now no longer derive from MemAccessInst. Indexing a load or
Chris Lattner [Thu, 22 Aug 2002 22:47:47 +0000 (22:47 +0000)]
Load and Store now no longer derive from MemAccessInst.  Indexing a load or
store is not possible anymore.

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

21 years agodoxygenize comments
Chris Lattner [Thu, 22 Aug 2002 22:46:39 +0000 (22:46 +0000)]
doxygenize comments

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

21 years agodoxygenize comments in header
Chris Lattner [Thu, 22 Aug 2002 22:46:20 +0000 (22:46 +0000)]
doxygenize comments in header

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

21 years agoMake doxygen not exclude doxygenized comments from the source code listings
Chris Lattner [Thu, 22 Aug 2002 22:44:22 +0000 (22:44 +0000)]
Make doxygen not exclude doxygenized comments from the source code listings

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

21 years agoAdd capability of using pointer analysis to LICM
Chris Lattner [Thu, 22 Aug 2002 21:39:55 +0000 (21:39 +0000)]
Add capability of using pointer analysis to LICM

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

21 years agoAdd new testcases for instcombine
Chris Lattner [Thu, 22 Aug 2002 21:26:15 +0000 (21:26 +0000)]
Add new testcases for instcombine

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

21 years agoRemove long obsolete comments
Chris Lattner [Thu, 22 Aug 2002 21:25:54 +0000 (21:25 +0000)]
Remove long obsolete comments

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

21 years agoAdd doxygen comments to AliasAnalysis class
Chris Lattner [Thu, 22 Aug 2002 21:22:25 +0000 (21:22 +0000)]
Add doxygen comments to AliasAnalysis class

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

21 years agoFix bug: test/Regression/Assembler/2002-08-22-DominanceProblem.ll
Chris Lattner [Thu, 22 Aug 2002 20:39:29 +0000 (20:39 +0000)]
Fix bug: test/Regression/Assembler/2002-08-22-DominanceProblem.ll

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

21 years agoFix bug: test/Regression/Assembler/2002-08-22-DominanceProblem.ll
Chris Lattner [Thu, 22 Aug 2002 20:39:27 +0000 (20:39 +0000)]
Fix bug: test/Regression/Assembler/2002-08-22-DominanceProblem.ll

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

21 years agoNew testcase
Chris Lattner [Thu, 22 Aug 2002 20:30:06 +0000 (20:30 +0000)]
New testcase

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

21 years agoAdd a testcase that checks to make sure LICM uses basicaa correctly.
Chris Lattner [Thu, 22 Aug 2002 20:22:55 +0000 (20:22 +0000)]
Add a testcase that checks to make sure LICM uses basicaa correctly.
Add another gcse testcase.

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

21 years agoInstcombine PHI's of the form %PN = phi PN, X into X and
Chris Lattner [Thu, 22 Aug 2002 20:22:01 +0000 (20:22 +0000)]
Instcombine PHI's of the form  %PN = phi PN, X into X  and
%PN = phi PN, PN, PN into 0 (because the phi must not be reachable)

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

21 years agoAdd readme file describing directory
Chris Lattner [Thu, 22 Aug 2002 20:20:08 +0000 (20:20 +0000)]
Add readme file describing directory

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

21 years agoAdd documentation for AnalysisGroup functionality
Chris Lattner [Thu, 22 Aug 2002 19:21:04 +0000 (19:21 +0000)]
Add documentation for AnalysisGroup functionality

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

21 years agoAdd missing #include
Chris Lattner [Thu, 22 Aug 2002 18:57:09 +0000 (18:57 +0000)]
Add missing #include

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

21 years agoCheck-in new alias analysis infrastructure
Chris Lattner [Thu, 22 Aug 2002 18:25:32 +0000 (18:25 +0000)]
Check-in new alias analysis infrastructure

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

21 years agoCheckin new alias analysis infrastructure
Chris Lattner [Thu, 22 Aug 2002 18:25:20 +0000 (18:25 +0000)]
Checkin new alias analysis infrastructure

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

21 years agoConvert GCSE pass to use new alias analysis infrastructure
Chris Lattner [Thu, 22 Aug 2002 18:24:48 +0000 (18:24 +0000)]
Convert GCSE pass to use new alias analysis infrastructure

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

21 years agoInitial testcases for basicaa alias analysis
Chris Lattner [Thu, 22 Aug 2002 17:31:36 +0000 (17:31 +0000)]
Initial testcases for basicaa alias analysis

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

21 years agoDo not generate load/store instructions with indexing.
Chris Lattner [Thu, 22 Aug 2002 16:41:31 +0000 (16:41 +0000)]
Do not generate load/store instructions with indexing.

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

21 years agoConvert testcases to not use indexed loads/stores
Chris Lattner [Thu, 22 Aug 2002 16:39:14 +0000 (16:39 +0000)]
Convert testcases to not use indexed loads/stores

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

21 years agoConvert testcases to not use indexed loads/stores
Chris Lattner [Thu, 22 Aug 2002 16:39:12 +0000 (16:39 +0000)]
Convert testcases to not use indexed loads/stores

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

21 years agoCovnert testcases to not use indexed loads/stores
Chris Lattner [Thu, 22 Aug 2002 16:39:05 +0000 (16:39 +0000)]
Covnert testcases to not use indexed loads/stores

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

21 years agoCovnert testcases to not use indexed loads/stores
Chris Lattner [Thu, 22 Aug 2002 16:39:04 +0000 (16:39 +0000)]
Covnert testcases to not use indexed loads/stores

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

21 years agoRemove obsolete test
Chris Lattner [Thu, 22 Aug 2002 16:15:20 +0000 (16:15 +0000)]
Remove obsolete test

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

21 years agoRemove ancient test
Chris Lattner [Thu, 22 Aug 2002 16:14:53 +0000 (16:14 +0000)]
Remove ancient test

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

21 years agoCovnert tests to not use indexed load/stores
Chris Lattner [Thu, 22 Aug 2002 16:04:03 +0000 (16:04 +0000)]
Covnert tests to not use indexed load/stores

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

21 years agoChange code to not use the copyOperands method added to User. It's now
Chris Lattner [Thu, 22 Aug 2002 15:57:58 +0000 (15:57 +0000)]
Change code to not use the copyOperands method added to User.  It's now
more efficient to boot.

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

21 years agoRemove unneccesary method
Chris Lattner [Thu, 22 Aug 2002 15:57:37 +0000 (15:57 +0000)]
Remove unneccesary method

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

21 years agoFix clean command to clean in /shared when that is used.
Vikram S. Adve [Thu, 22 Aug 2002 03:20:27 +0000 (03:20 +0000)]
Fix clean command to clean in /shared when that is used.

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

21 years agoAdd functions castbool and boolexpr.
Vikram S. Adve [Thu, 22 Aug 2002 03:05:13 +0000 (03:05 +0000)]
Add functions castbool and boolexpr.

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

21 years ago*** empty log message ***
Vikram S. Adve [Thu, 22 Aug 2002 03:04:14 +0000 (03:04 +0000)]
*** empty log message ***

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

21 years agoJust some extra comments.
Vikram S. Adve [Thu, 22 Aug 2002 03:03:10 +0000 (03:03 +0000)]
Just some extra comments.

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

21 years agoAdd method copyOperands().
Vikram S. Adve [Thu, 22 Aug 2002 03:01:44 +0000 (03:01 +0000)]
Add method copyOperands().

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

21 years agodumpNode() does not need to print MachineInstrs.
Vikram S. Adve [Thu, 22 Aug 2002 02:59:46 +0000 (02:59 +0000)]
dumpNode() does not need to print MachineInstrs.

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

21 years agoFix two resource names.
Vikram S. Adve [Thu, 22 Aug 2002 02:58:57 +0000 (02:58 +0000)]
Fix two resource names.

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

21 years agoAdd AsmPrinter::ConstantExprToString, which writes out a ConstantExpr
Vikram S. Adve [Thu, 22 Aug 2002 02:58:36 +0000 (02:58 +0000)]
Add AsmPrinter::ConstantExprToString, which writes out a ConstantExpr
as an expression.

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

21 years agoEliminate bool, boolreg and boolconst nonterminals, and just use
Vikram S. Adve [Thu, 22 Aug 2002 02:56:10 +0000 (02:56 +0000)]
Eliminate bool, boolreg and boolconst nonterminals, and just use
reg and Constant instead.

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

21 years agoChange rules for Not, since it is now implemented as Xor(reg,11..1).
Vikram S. Adve [Thu, 22 Aug 2002 02:55:21 +0000 (02:55 +0000)]
Change rules for Not, since it is now implemented as Xor(reg,11..1).
Eliminate bool, boolreg and boolconst nonterminals, and just use
reg and Constant instead.

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

21 years agoFix testcase to not use indexing in non-gep instructions
Chris Lattner [Wed, 21 Aug 2002 23:52:57 +0000 (23:52 +0000)]
Fix testcase to not use indexing in non-gep instructions

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

21 years agoTest the C backend on all of the feature tests as well.
Chris Lattner [Wed, 21 Aug 2002 23:52:15 +0000 (23:52 +0000)]
Test the C backend on all of the feature tests as well.

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

21 years ago - Fighting with linking problem due to removing the ::ID elements. Now the
Chris Lattner [Wed, 21 Aug 2002 23:51:51 +0000 (23:51 +0000)]
  - Fighting with linking problem due to removing the ::ID elements.  Now the
    implementation .cpp files for analyses are not being included into gccas
    and friends because it is linking to the .a file and there is no explicit
    symbol reference to bring in the .o file.  The new IncludeFile hack is the
    result.

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

21 years ago - Fix asmparser and bytecode reader to not generate loads/stores with idxs
Chris Lattner [Wed, 21 Aug 2002 23:51:21 +0000 (23:51 +0000)]
  - Fix asmparser and bytecode reader to not generate loads/stores with idxs

    Now an obnoxious warning is emitted to discourage usage.  Eventually
    support will be removed.

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

21 years agoAdd a class that is useful for hacking around linking problem due to
Chris Lattner [Wed, 21 Aug 2002 23:48:55 +0000 (23:48 +0000)]
Add a class that is useful for hacking around linking problem due to
pass implementations not being linked in when they are used if the
implementation is in a .a file.

  - Fighting with linking problem due to removing the ::ID elements.  Now the
    implementation .cpp files for analyses are not being included into gccas
    and friends because it is linking to the .a file and there is no explicit
    symbol reference to bring in the .o file.  The new IncludeFile hack is the
    result.

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

21 years agoFixed linking problems that wanted me to link to analyze.o instead of analyze.a
Chris Lattner [Wed, 21 Aug 2002 23:47:46 +0000 (23:47 +0000)]
Fixed linking problems that wanted me to link to analyze.o instead of analyze.a
so now we can link to analyze.a again.

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

21 years ago - Split Dominators.h into Dominators.h & PostDominators.h
Chris Lattner [Wed, 21 Aug 2002 23:43:50 +0000 (23:43 +0000)]
  - Split Dominators.h into Dominators.h & PostDominators.h

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

21 years agoEmit an obnoxious warning message for bytecode that includes load/store
Chris Lattner [Wed, 21 Aug 2002 22:55:27 +0000 (22:55 +0000)]
Emit an obnoxious warning message for bytecode that includes load/store
instructions that use indexing.  Convert them transparently into a pair
of instructions.

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

21 years agoRemove debugging code accidentally checked in.
Chris Lattner [Wed, 21 Aug 2002 22:49:31 +0000 (22:49 +0000)]
Remove debugging code accidentally checked in.

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

21 years agoFix store to not index
Chris Lattner [Wed, 21 Aug 2002 22:45:23 +0000 (22:45 +0000)]
Fix store to not index

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

21 years agoConvert testcase to not use indexing on loads & stores
Chris Lattner [Wed, 21 Aug 2002 22:44:39 +0000 (22:44 +0000)]
Convert testcase to not use indexing on loads & stores

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

21 years agoLink in all analyses so that we get pointer analysis support built in
Chris Lattner [Wed, 21 Aug 2002 22:17:28 +0000 (22:17 +0000)]
Link in all analyses so that we get pointer analysis support built in

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

21 years ago - Implement the new AnalysisGroup feature, neccesary for Value#ing and pointer analysis
Chris Lattner [Wed, 21 Aug 2002 22:17:09 +0000 (22:17 +0000)]
 - Implement the new AnalysisGroup feature, neccesary for Value#ing and pointer analysis

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

21 years ago - Implement the new AnalysisGroup feature, neccesary for Value#ing and pointer...
Chris Lattner [Wed, 21 Aug 2002 22:16:59 +0000 (22:16 +0000)]
  - Implement the new AnalysisGroup feature, neccesary for Value#ing and pointer analysis

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

21 years agoAdd assertion checks to nail bugs early.
Chris Lattner [Wed, 21 Aug 2002 22:14:28 +0000 (22:14 +0000)]
Add assertion checks to nail bugs early.

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

21 years ago - Make Pass::lookupPassInfo a public member
Chris Lattner [Wed, 21 Aug 2002 22:13:33 +0000 (22:13 +0000)]
  - Make Pass::lookupPassInfo a public member
  - Fix Pass::getAnalysis<AnalysisType>() to use dynamic_cast instead of a
    static cast to handle the case where the cast from & two classes are not
    related via inheritance.

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

21 years agoDo not generate loads/stores with indexing
Chris Lattner [Wed, 21 Aug 2002 22:11:33 +0000 (22:11 +0000)]
Do not generate loads/stores with indexing

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

21 years agoRemove extraneous #includes
Chris Lattner [Wed, 21 Aug 2002 22:11:14 +0000 (22:11 +0000)]
Remove extraneous #includes

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