Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp10-Mar-201520.3K
AliasAnalysisCounter.cpp16-Dec-20146.2K
AliasAnalysisEvaluator.cpp10-Mar-201513.6K
AliasDebugger.cpp16-Dec-20144.8K
AliasSetTracker.cpp10-Mar-201521.7K
Analysis.cpp10-Mar-20154K
Android.mk10-Mar-20151.9K
BasicAliasAnalysis.cpp10-Mar-201555K
BlockFrequencyInfo.cpp16-Dec-20145.5K
BlockFrequencyInfoImpl.cpp10-Mar-201522.6K
BranchProbabilityInfo.cpp16-Dec-201421.1K
CaptureTracking.cpp10-Mar-20156.8K
CFG.cpp10-Mar-20158.5K
CFGPrinter.cpp10-Mar-20155K
CGSCCPassManager.cpp16-Dec-20145.7K
CMakeLists.txt10-Mar-20151.3K
CodeMetrics.cpp10-Mar-20153.7K
ConstantFolding.cpp10-Mar-201566.9K
CostModel.cpp16-Dec-201417.7K
Delinearization.cpp16-Dec-20144.9K
DependenceAnalysis.cpp10-Mar-2015143.9K
DominanceFrontier.cpp10-Mar-20154.4K
DomPrinter.cpp16-Dec-20147.9K
InstCount.cpp16-Dec-20142.7K
InstructionSimplify.cpp10-Mar-2015123.3K
Interval.cpp16-Dec-20142K
IntervalPartition.cpp16-Dec-20144.2K
IPA/10-Mar-2015
IVUsers.cpp10-Mar-201512.9K
JumpInstrTableInfo.cpp10-Mar-20151.3K
LazyCallGraph.cpp10-Mar-201526.1K
LazyValueInfo.cpp10-Mar-201538.8K
LibCallAliasAnalysis.cpp16-Dec-20145.2K
LibCallSemantics.cpp10-Mar-20152.1K
Lint.cpp10-Mar-201527.3K
LLVMBuild.txt16-Dec-2014742
Loads.cpp10-Mar-20158.6K
LoopInfo.cpp10-Mar-201525K
LoopPass.cpp10-Mar-201511.9K
Makefile16-Dec-2014441
MemDepPrinter.cpp16-Dec-20146.4K
MemoryBuiltins.cpp10-Mar-201528.6K
MemoryDependenceAnalysis.cpp10-Mar-201562.5K
ModuleDebugInfoPrinter.cpp16-Dec-20142.3K
NoAliasAnalysis.cpp10-Mar-20153.4K
PHITransAddr.cpp10-Mar-201516K
PostDominators.cpp16-Dec-20141.5K
PtrUseVisitor.cpp10-Mar-20151,018
README.txt16-Dec-20141,006
RegionInfo.cpp10-Mar-201523.5K
RegionPass.cpp10-Mar-20158.4K
RegionPrinter.cpp10-Mar-20156.6K
ScalarEvolution.cpp10-Mar-2015310.5K
ScalarEvolutionAliasAnalysis.cpp10-Mar-20156.8K
ScalarEvolutionExpander.cpp10-Mar-201573.1K
ScalarEvolutionNormalization.cpp10-Mar-201510.1K
SparsePropagation.cpp16-Dec-201411.9K
TargetTransformInfo.cpp10-Mar-201520.4K
Trace.cpp16-Dec-20141.7K
TypeBasedAliasAnalysis.cpp10-Mar-201521.6K
ValueTracking.cpp10-Mar-201578.9K

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