summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/DecomposeMultiDimRefs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecesary &*'sChris Lattner2003-04-231-1/+1
| | | | llvm-svn: 5872
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-2/+2
| | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002
* Extract most of the transformation into an externally accessibleVikram S. Adve2002-09-161-27/+31
| | | | | | | function -- DecomposeArrayRef(GetElementPtrInst* GEP) -- that can be invoked on a single instruction at a time. llvm-svn: 3755
* - Change getelementptr instruction to use long indexes instead of uintChris Lattner2002-09-111-2/+2
| | | | | | indexes for sequential types. llvm-svn: 3682
* Simplify code (somtimes dramatically), by using the new "auto-insert" featureChris Lattner2002-09-101-42/+21
| | | | | | of instruction constructors. llvm-svn: 3656
* Eliminated the MemAccessInst class, folding contents into GEP class.Chris Lattner2002-08-221-18/+11
| | | | llvm-svn: 3487
* Load & StoreInst no longer derive from MemAccessInst, so we don't haveChris Lattner2002-08-221-19/+1
| | | | | | to handle indexing anymore llvm-svn: 3485
* Remove an optimization that isn't.Chris Lattner2002-08-211-5/+7
| | | | llvm-svn: 3419
* Eliminate cast instructions: use only GEPs in decomposed sequence.Vikram S. Adve2002-08-031-81/+70
| | | | | | | Don't decompose if there are 2 indices with 0 as first index. Compute Changed flag correctly in runOnBasicBlock(). llvm-svn: 3233
* * Add support for different "PassType's"Chris Lattner2002-07-261-2/+2
| | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113
* *** empty log message ***Chris Lattner2002-07-231-2/+3
| | | | llvm-svn: 3016
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-3/+10
| | | | llvm-svn: 2792
* MEGAPATCH checkin.Chris Lattner2002-06-251-20/+21
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Add support for printing out statistics information when -stats is added toChris Lattner2002-05-101-0/+5
| | | | | | the command line llvm-svn: 2601
* Merge all individual .h files into a single Scalar.h fileChris Lattner2002-05-071-1/+1
| | | | llvm-svn: 2537
* Range insertion now returns an iteratorChris Lattner2002-04-291-5/+2
| | | | llvm-svn: 2414
* changes because iMemory.h no longer #includes DerivedTypes.hChris Lattner2002-04-291-0/+1
| | | | | | This only requires Type.h anyway llvm-svn: 2405
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-291-4/+6
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* More cleanupsChris Lattner2002-04-291-59/+54
| | | | llvm-svn: 2392
* Code cleanupsChris Lattner2002-04-291-127/+111
| | | | llvm-svn: 2391
* Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵Chris Lattner2002-04-281-0/+4
| | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-5/+9
| | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
* s/Method/FunctionChris Lattner2002-04-081-1/+1
| | | | | | Remove extraneous #includes of llvm/Assembly/Writer llvm-svn: 2178
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-5/+5
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Major overhaul to support arbitrary mixed array and structure indices.Vikram S. Adve2002-03-241-63/+94
| | | | | | Also moved to the Scalar/ directory and renamed to "MultiDim". llvm-svn: 1961
* New pass to decompose multi-dimensional array references intoVikram S. Adve2002-03-231-0/+148
a sequence of 1-D references, using a sequence of getElementPtrs. llvm-svn: 1948
OpenPOWER on IntegriCloud