Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp17-Dec-201115.2K
AliasAnalysisCounter.cpp17-Dec-20116.2K
AliasAnalysisEvaluator.cpp17-Dec-201110.9K
AliasDebugger.cpp17-Dec-20114.8K
AliasSetTracker.cpp17-Dec-201121.6K
Analysis.cpp17-Dec-20113.7K
Android.mk17-Dec-20112K
BasicAliasAnalysis.cpp17-Dec-201147.7K
BlockFrequencyInfo.cpp17-Dec-20112.1K
BranchProbabilityInfo.cpp17-Dec-201114.6K
CaptureTracking.cpp17-Dec-20116.1K
CFGPrinter.cpp17-Dec-20114.9K
CMakeLists.txt17-Dec-20111.4K
ConstantFolding.cpp17-Dec-201154.9K
DbgInfoPrinter.cpp17-Dec-20116.3K
DebugInfo.cpp17-Dec-201133.4K
DIBuilder.cpp17-Dec-201137.8K
DominanceFrontier.cpp17-Dec-20114.3K
DomPrinter.cpp17-Dec-20116.7K
InlineCost.cpp17-Dec-201125.3K
InstCount.cpp17-Dec-20112.7K
InstructionSimplify.cpp17-Dec-201198K
Interval.cpp17-Dec-20112K
IntervalPartition.cpp17-Dec-20114.2K
IPA/17-Dec-2011
IVUsers.cpp17-Dec-20119.5K
LazyValueInfo.cpp17-Dec-201137.8K
LibCallAliasAnalysis.cpp17-Dec-20115.2K
LibCallSemantics.cpp17-Dec-20112.1K
Lint.cpp17-Dec-201124.9K
Loads.cpp17-Dec-20119.4K
LoopDependenceAnalysis.cpp17-Dec-201112.9K
LoopInfo.cpp17-Dec-201125K
LoopPass.cpp17-Dec-201111.4K
Makefile17-Dec-2011441
MemDepPrinter.cpp17-Dec-20116.3K
MemoryBuiltins.cpp17-Dec-20117.6K
MemoryDependenceAnalysis.cpp17-Dec-201160.2K
ModuleDebugInfoPrinter.cpp17-Dec-20112.6K
NoAliasAnalysis.cpp17-Dec-20113.1K
NOTICE17-Dec-20113.1K
PathNumbering.cpp17-Dec-201116.2K
PathProfileInfo.cpp17-Dec-201113.9K
PathProfileVerifier.cpp17-Dec-20116.9K
PHITransAddr.cpp17-Dec-201116K
PostDominators.cpp17-Dec-20111.5K
ProfileEstimatorPass.cpp17-Dec-201115.8K
ProfileInfo.cpp17-Dec-201132.9K
ProfileInfoLoader.cpp17-Dec-20114.8K
ProfileInfoLoaderPass.cpp17-Dec-20119.3K
ProfileVerifierPass.cpp17-Dec-201113.4K
README.txt17-Dec-20111,006
RegionInfo.cpp17-Dec-201122.7K
RegionPass.cpp17-Dec-20118.5K
RegionPrinter.cpp17-Dec-20116.7K
ScalarEvolution.cpp17-Dec-2011266.2K
ScalarEvolutionAliasAnalysis.cpp17-Dec-20116.7K
ScalarEvolutionExpander.cpp17-Dec-201161.7K
ScalarEvolutionNormalization.cpp17-Dec-20118.6K
SparsePropagation.cpp17-Dec-201111.9K
Trace.cpp17-Dec-20111.6K
TypeBasedAliasAnalysis.cpp17-Dec-201110.2K
ValueTracking.cpp17-Dec-201170.3K

README.txt

      1 Analysis Opportunities:
      2 
      3 //===---------------------------------------------------------------------===//
      4 
      5 In test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll, the
      6 ScalarEvolution expression for %r is this:
      7 
      8   {1,+,3,+,2}<loop>
      9 
     10 Outside the loop, this could be evaluated simply as (%n * %n), however
     11 ScalarEvolution currently evaluates it as
     12 
     13   (-2 + (2 * (trunc i65 (((zext i64 (-2 + %n) to i65) * (zext i64 (-1 + %n) to i65)) /u 2) to i64)) + (3 * %n))
     14 
     15 In addition to being much more complicated, it involves i65 arithmetic,
     16 which is very inefficient when expanded into code.
     17 
     18 //===---------------------------------------------------------------------===//
     19 
     20 In formatValue in test/CodeGen/X86/lsr-delayed-fold.ll,
     21 
     22 ScalarEvolution is forming this expression:
     23 
     24 ((trunc i64 (-1 * %arg5) to i32) + (trunc i64 %arg5 to i32) + (-1 * (trunc i64 undef to i32)))
     25 
     26 This could be folded to
     27 
     28 (-1 * (trunc i64 undef to i32))
     29 
     30 //===---------------------------------------------------------------------===//
     31