Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp20-Sep-201319.6K
AliasAnalysisCounter.cpp20-Sep-20136.1K
AliasAnalysisEvaluator.cpp20-Sep-201310.8K
AliasDebugger.cpp20-Sep-20134.8K
AliasSetTracker.cpp20-Sep-201321.8K
Analysis.cpp20-Sep-20133.8K
Android.mk20-Sep-20132K
BasicAliasAnalysis.cpp20-Sep-201349.3K
BlockFrequencyInfo.cpp20-Sep-20132.1K
BranchProbabilityInfo.cpp20-Sep-201317.5K
CaptureTracking.cpp20-Sep-20136.6K
CFGPrinter.cpp20-Sep-20134.9K
CMakeLists.txt20-Sep-20131.4K
CodeMetrics.cpp20-Sep-20133.7K
ConstantFolding.cpp20-Sep-201361.1K
CostModel.cpp20-Sep-20137.4K
DependenceAnalysis.cpp20-Sep-2013140K
DominanceFrontier.cpp20-Sep-20134.4K
DomPrinter.cpp20-Sep-20136.7K
InstCount.cpp20-Sep-20132.7K
InstructionSimplify.cpp20-Sep-2013121.5K
Interval.cpp20-Sep-20132K
IntervalPartition.cpp20-Sep-20134.2K
IPA/20-Sep-2013
IVUsers.cpp20-Sep-201312.1K
LazyValueInfo.cpp20-Sep-201338.7K
LibCallAliasAnalysis.cpp20-Sep-20135.2K
LibCallSemantics.cpp20-Sep-20132.1K
Lint.cpp20-Sep-201326.5K
LLVMBuild.txt20-Sep-2013742
Loads.cpp20-Sep-20138.6K
LoopInfo.cpp20-Sep-201324.1K
LoopPass.cpp20-Sep-201311K
Makefile20-Sep-2013441
MemDepPrinter.cpp20-Sep-20136.4K
MemoryBuiltins.cpp20-Sep-201328.5K
MemoryDependenceAnalysis.cpp20-Sep-201362.3K
ModuleDebugInfoPrinter.cpp20-Sep-20132.6K
NoAliasAnalysis.cpp20-Sep-20133.1K
NOTICE20-Sep-20133.1K
PathNumbering.cpp20-Sep-201316.2K
PathProfileInfo.cpp20-Sep-201314K
PathProfileVerifier.cpp20-Sep-20136.9K
PHITransAddr.cpp20-Sep-201316.1K
PostDominators.cpp20-Sep-20131.5K
ProfileDataLoader.cpp20-Sep-20135.4K
ProfileDataLoaderPass.cpp20-Sep-20137.1K
ProfileEstimatorPass.cpp20-Sep-201315.8K
ProfileInfo.cpp20-Sep-201332.5K
ProfileInfoLoader.cpp20-Sep-20134.7K
ProfileInfoLoaderPass.cpp20-Sep-20139.3K
ProfileVerifierPass.cpp20-Sep-201313.4K
PtrUseVisitor.cpp20-Sep-20131.1K
README.txt20-Sep-20131,006
RegionInfo.cpp20-Sep-201322.3K
RegionPass.cpp20-Sep-20138.5K
RegionPrinter.cpp20-Sep-20136.6K
ScalarEvolution.cpp20-Sep-2013276.9K
ScalarEvolutionAliasAnalysis.cpp20-Sep-20136.7K
ScalarEvolutionExpander.cpp20-Sep-201369.4K
ScalarEvolutionNormalization.cpp20-Sep-20138.5K
SparsePropagation.cpp20-Sep-201312K
TargetTransformInfo.cpp20-Sep-201317.7K
Trace.cpp20-Sep-20131.7K
TypeBasedAliasAnalysis.cpp20-Sep-201310.2K
ValueTracking.cpp20-Sep-201377.4K

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