Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp11-Dec-201319.4K
AliasAnalysisCounter.cpp11-Dec-20136.1K
AliasAnalysisEvaluator.cpp11-Dec-201313.6K
AliasDebugger.cpp11-Dec-20134.8K
AliasSetTracker.cpp11-Dec-201321.8K
Analysis.cpp11-Dec-20133.9K
Android.mk11-Dec-20132K
BasicAliasAnalysis.cpp11-Dec-201351K
BlockFrequencyInfo.cpp11-Dec-20131.8K
BranchProbabilityInfo.cpp11-Dec-201320.5K
CaptureTracking.cpp11-Dec-20136.6K
CFG.cpp11-Dec-20138K
CFGPrinter.cpp11-Dec-20134.9K
CMakeLists.txt11-Dec-20131.4K
CodeMetrics.cpp11-Dec-20133.7K
ConstantFolding.cpp11-Dec-201361.6K
CostModel.cpp11-Dec-20138.2K
DependenceAnalysis.cpp11-Dec-2013140.1K
DominanceFrontier.cpp11-Dec-20134.4K
DomPrinter.cpp11-Dec-20136.7K
InstCount.cpp11-Dec-20132.7K
InstructionSimplify.cpp11-Dec-2013121.7K
Interval.cpp11-Dec-20132K
IntervalPartition.cpp11-Dec-20134.2K
IPA/11-Dec-2013
IVUsers.cpp11-Dec-201312.1K
LazyValueInfo.cpp11-Dec-201338.7K
LibCallAliasAnalysis.cpp11-Dec-20135.2K
LibCallSemantics.cpp11-Dec-20132.1K
Lint.cpp11-Dec-201326.5K
LLVMBuild.txt11-Dec-2013742
Loads.cpp11-Dec-20138.6K
LoopInfo.cpp11-Dec-201325.7K
LoopPass.cpp11-Dec-201311.2K
Makefile11-Dec-2013441
MemDepPrinter.cpp11-Dec-20136.4K
MemoryBuiltins.cpp11-Dec-201327.5K
MemoryDependenceAnalysis.cpp11-Dec-201362.2K
ModuleDebugInfoPrinter.cpp11-Dec-20132.6K
NoAliasAnalysis.cpp11-Dec-20133.1K
NOTICE11-Dec-20133.1K
PathNumbering.cpp11-Dec-201316.2K
PathProfileInfo.cpp11-Dec-201314K
PathProfileVerifier.cpp11-Dec-20136.9K
PHITransAddr.cpp11-Dec-201316.1K
PostDominators.cpp11-Dec-20131.5K
ProfileDataLoader.cpp11-Dec-20135.4K
ProfileDataLoaderPass.cpp11-Dec-20137.1K
ProfileEstimatorPass.cpp11-Dec-201315.8K
ProfileInfo.cpp11-Dec-201332.5K
ProfileInfoLoader.cpp11-Dec-20134.7K
ProfileInfoLoaderPass.cpp11-Dec-20139.3K
ProfileVerifierPass.cpp11-Dec-201313.4K
PtrUseVisitor.cpp11-Dec-20131.1K
README.txt11-Dec-20131,006
RegionInfo.cpp11-Dec-201323.1K
RegionPass.cpp11-Dec-20138.5K
RegionPrinter.cpp11-Dec-20136.6K
ScalarEvolution.cpp11-Dec-2013280.5K
ScalarEvolutionAliasAnalysis.cpp11-Dec-20136.7K
ScalarEvolutionExpander.cpp11-Dec-201369.3K
ScalarEvolutionNormalization.cpp11-Dec-20138.5K
SparsePropagation.cpp11-Dec-201312K
TargetTransformInfo.cpp11-Dec-201318.8K
Trace.cpp11-Dec-20131.7K
TypeBasedAliasAnalysis.cpp11-Dec-201317.2K
ValueTracking.cpp11-Dec-201378.8K

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