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