Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp13-Nov-201218.8K
AliasAnalysisCounter.cpp13-Nov-20126.1K
AliasAnalysisEvaluator.cpp13-Nov-201210.8K
AliasDebugger.cpp13-Nov-20124.8K
AliasSetTracker.cpp13-Nov-201221.8K
Analysis.cpp13-Nov-20123.8K
Android.mk13-Nov-20122K
BasicAliasAnalysis.cpp13-Nov-201249.7K
BlockFrequencyInfo.cpp13-Nov-20122.1K
BranchProbabilityInfo.cpp13-Nov-201217.5K
CaptureTracking.cpp13-Nov-20126.5K
CFGPrinter.cpp13-Nov-20124.9K
CMakeLists.txt13-Nov-20121.4K
CodeMetrics.cpp13-Nov-20127.6K
ConstantFolding.cpp13-Nov-201258.3K
DbgInfoPrinter.cpp13-Nov-20126.3K
DominanceFrontier.cpp13-Nov-20124.4K
DomPrinter.cpp13-Nov-20126.7K
InlineCost.cpp13-Nov-201237.3K
InstCount.cpp13-Nov-20122.7K
InstructionSimplify.cpp13-Nov-2012112K
Interval.cpp13-Nov-20122K
IntervalPartition.cpp13-Nov-20124.2K
IPA/13-Nov-2012
IVUsers.cpp13-Nov-201212K
LazyValueInfo.cpp13-Nov-201238.5K
LibCallAliasAnalysis.cpp13-Nov-20125.2K
LibCallSemantics.cpp13-Nov-20122.1K
Lint.cpp13-Nov-201225K
LLVMBuild.txt13-Nov-2012742
Loads.cpp13-Nov-20129.9K
LoopDependenceAnalysis.cpp13-Nov-201212.9K
LoopInfo.cpp13-Nov-201221.9K
LoopPass.cpp13-Nov-201211K
Makefile13-Nov-2012441
MemDepPrinter.cpp13-Nov-20126.3K
MemoryBuiltins.cpp13-Nov-201227K
MemoryDependenceAnalysis.cpp13-Nov-201261.4K
ModuleDebugInfoPrinter.cpp13-Nov-20122.6K
NoAliasAnalysis.cpp13-Nov-20123.1K
NOTICE13-Nov-20123.1K
PathNumbering.cpp13-Nov-201216.1K
PathProfileInfo.cpp13-Nov-201213.9K
PathProfileVerifier.cpp13-Nov-20126.9K
PHITransAddr.cpp13-Nov-201216.1K
PostDominators.cpp13-Nov-20121.5K
ProfileDataLoader.cpp13-Nov-20125.7K
ProfileDataLoaderPass.cpp13-Nov-20127.1K
ProfileEstimatorPass.cpp13-Nov-201215.8K
ProfileInfo.cpp13-Nov-201232.5K
ProfileInfoLoader.cpp13-Nov-20124.7K
ProfileInfoLoaderPass.cpp13-Nov-20129.3K
ProfileVerifierPass.cpp13-Nov-201213.4K
README.txt13-Nov-20121,006
RegionInfo.cpp13-Nov-201222.2K
RegionPass.cpp13-Nov-20128.5K
RegionPrinter.cpp13-Nov-20126.6K
ScalarEvolution.cpp13-Nov-2012273.1K
ScalarEvolutionAliasAnalysis.cpp13-Nov-20126.7K
ScalarEvolutionExpander.cpp13-Nov-201269K
ScalarEvolutionNormalization.cpp13-Nov-20128.5K
SparsePropagation.cpp13-Nov-201212K
Trace.cpp13-Nov-20121.7K
TypeBasedAliasAnalysis.cpp13-Nov-201210.2K
ValueTracking.cpp13-Nov-201274.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