llvm-6502/include/llvm/Analysis
Dan Gohman 472fdf7090 Clear the SCEVExpander's insertion point after making deletions,
so that the SCEVExpander doesn't retain a dangling pointer as its
insert position. The dangling pointer in this case wasn't ever used
to insert new instructions, but it was causing trouble with
SCEVExpander's code for automatically advancing its insert position
past debug intrinsics.

This fixes use-after-free errors that valgrind noticed in
test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll and
test/Transforms/IndVarSimplify/exit_value_tests.ll.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99036 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-20 03:53:53 +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 Reverting 85714, 85715, 85716, which are breaking the build 2009-11-01 16:42:53 +00:00
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 Add const qualifiers. 2010-02-08 22:00:06 +00:00
ConstantsScanner.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
DebugInfo.h Start using DIFile. See updated SourceLevelDebugging.html for more information. 2010-03-09 00:44:10 +00:00
DominatorInternals.h Fix PR6047 2010-01-16 13:38:07 +00:00
Dominators.h Whitespace cleanups. 2010-03-01 17:47:21 +00:00
DomPrinter.h add function passes for printing various dominator datastructures 2009-10-18 04:10:40 +00:00
DOTGraphTraitsPass.h Create Generic DOTGraphTraits Printer/Viewer 2010-01-16 10:56:41 +00:00
FindUsedTypes.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
InlineCost.h Remove extra parameter. 2010-03-13 00:45:31 +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 Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
IntervalIterator.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
IntervalPartition.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
IVUsers.h Spelling fixes. 2010-03-01 17:49:51 +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 Revert 51775. 2008-05-30 22:47:19 +00:00
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 Add a DominatorTree argument to isLCSSA so that it doesn't have to 2010-03-10 19:38:49 +00:00
LoopPass.h elimiante the dynamic_cast's from opt. 2010-01-22 06:03:06 +00:00
MemoryBuiltins.h Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
MemoryDependenceAnalysis.h Split critical edges as needed for load PRE. 2010-02-16 19:51:59 +00:00
Passes.h remove anders-aa from mainline, it isn't maintained and is 2010-03-01 19:24:17 +00:00
PHITransAddr.h Reapply r97010, the speculative revert failed. 2010-02-24 08:48:04 +00:00
PointerTracking.h remove a few dead insertion methods. 2009-08-24 02:39:26 +00:00
PostDominators.h Add findNearestCommonDominator() for PostDominators. 2010-03-07 11:15:04 +00:00
ProfileInfo.h Convert debug messages to use dbgs(). Generally this means 2009-12-23 17:55:11 +00:00
ProfileInfoLoader.h Reapplied r81355 with the problems fixed. 2009-09-16 11:35:50 +00:00
ProfileInfoTypes.h OptimalEdgeProfiling: Creation of profiles. 2009-09-01 19:03:44 +00:00
ScalarEvolution.h Add the ability to "intern" FoldingSetNodeID data into a 2010-03-18 16:16:38 +00:00
ScalarEvolutionExpander.h Clear the SCEVExpander's insertion point after making deletions, 2010-03-20 03:53:53 +00:00
ScalarEvolutionExpressions.h Add the ability to "intern" FoldingSetNodeID data into a 2010-03-18 16:16:38 +00:00
SparsePropagation.h Eliminate unnecessary LLVMContexts. 2009-12-18 23:42:08 +00:00
Trace.h eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
ValueTracking.h Move GetStringLength and helper from SimplifyLibCalls to ValueTracking. 2010-03-05 06:58:57 +00:00
Verifier.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00