llvm-6502/include/llvm/Analysis
Dan Gohman 0f5efe5625 Remove SCEVAllocSizeExpr and SCEVFieldOffsetExpr, and in their place
use plain SCEVUnknowns with ConstantExpr::getSizeOf and
ConstantExpr::getOffsetOf constants. This eliminates a bunch of
special-case code.

Also add code for pattern-matching these expressions, for clients that
want to recognize them.

Move ScalarEvolution's logic for expanding array and vector sizeof
expressions into an element count times the element size, to expose
the multiplication to subsequent folding, into the regular constant
folder.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94737 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-28 02:15:55 +00:00
..
AliasAnalysis.h Partially address a README by having functionattrs consider calls to 2010-01-06 08:45:52 +00:00
AliasSetTracker.h Remove isPod() from DenseMapInfo, splitting it out to its own 2009-12-15 07:26:43 +00:00
CallGraph.h
CaptureTracking.h Extend CaptureTracking to indicate when a value is never stored, even 2009-11-19 21:57:48 +00:00
CFGPrinter.h Remove ShortNames from getNodeLabel in DOTGraphTraits 2009-11-30 12:38:47 +00:00
ConstantFolding.h fix ConstantFoldCompareInstOperands to take the LHS/RHS as 2009-11-09 23:06:58 +00:00
ConstantsScanner.h
DebugInfo.h Add extra element to composite type. This new element will be used to record c++ class that holds current class's vtable. 2010-01-26 21:14:59 +00:00
DominatorInternals.h Fix PR6047 2010-01-16 13:38:07 +00:00
Dominators.h Add assert to check dominance dfs numbers. 2010-01-07 23:50:41 +00:00
DomPrinter.h
DOTGraphTraitsPass.h Create Generic DOTGraphTraits Printer/Viewer 2010-01-16 10:56:41 +00:00
FindUsedTypes.h
InlineCost.h Fix inline cost predictions with SCIENCE. 2010-01-26 23:21:56 +00:00
InstructionSimplify.h factor some logic out of instcombine into a new SimplifyAddInst method. 2009-11-27 17:42:22 +00:00
Interval.h
IntervalIterator.h
IntervalPartition.h
IVUsers.h Add a new helper function to IVUsers for returning the "canonical" 2010-01-19 21:55:32 +00:00
LazyValueInfo.h disable copying, enforce some invariants. 2009-11-15 20:03:53 +00:00
LibCallAliasAnalysis.h Remove the AliasAnalysis::getMustAliases method, which is dead. 2009-11-22 16:01:44 +00:00
LibCallSemantics.h
LiveValues.h remove redundant foward declaration. This function is already in 2009-11-11 00:21:21 +00:00
LoopDependenceAnalysis.h fixed some typos in method comments, reworded some comments for clarity 2009-12-07 09:06:37 +00:00
LoopInfo.h Restore dump() methods to Loop and MachineLoop. 2010-01-05 21:08:02 +00:00
LoopPass.h elimiante the dynamic_cast's from opt. 2010-01-22 06:03:06 +00:00
MemoryBuiltins.h Update computeArraySize() to use ComputeMultiple() to determine the array size associated with a malloc; also extend PerformHeapAllocSRoA() to check if the optimized malloc's arg had its highest bit set, so that it is safe for ComputeMultiple() to look through sext instructions while determining the optimized malloc's array size 2009-11-10 08:32:25 +00:00
MemoryDependenceAnalysis.h The phi translated pointer can be computed when returning a partially cached result 2009-12-22 04:25:02 +00:00
Passes.h Use ProfileInfo-API in ProfileInfo Loader and do more assertions. 2009-12-03 11:00:37 +00:00
PHITransAddr.h fix many input tracking bugs. 2009-12-09 00:56:14 +00:00
PointerTracking.h
PostDominators.h Remove trailing white spaces in post dominators header file 2010-01-11 22:22:46 +00:00
ProfileInfo.h Convert debug messages to use dbgs(). Generally this means 2009-12-23 17:55:11 +00:00
ProfileInfoLoader.h
ProfileInfoTypes.h
ScalarEvolution.h struct/class mismatch. 2010-01-21 15:40:14 +00:00
ScalarEvolutionExpander.h Remove SCEVAllocSizeExpr and SCEVFieldOffsetExpr, and in their place 2010-01-28 02:15:55 +00:00
ScalarEvolutionExpressions.h Remove SCEVAllocSizeExpr and SCEVFieldOffsetExpr, and in their place 2010-01-28 02:15:55 +00:00
SparsePropagation.h Eliminate unnecessary LLVMContexts. 2009-12-18 23:42:08 +00:00
Trace.h
ValueTracking.h Eliminate unnecessary LLVMContexts. 2009-12-18 23:42:08 +00:00
Verifier.h