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