Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp21-Oct-201621K
AliasAnalysisEvaluator.cpp21-Oct-201613.9K
AliasSetTracker.cpp21-Oct-201621.7K
Analysis.cpp21-Oct-20164.4K
Android.mk21-Oct-20162.3K
AssumptionCache.cpp21-Oct-20164.9K
BasicAliasAnalysis.cpp21-Oct-201664.5K
BlockFrequencyInfo.cpp21-Oct-20166.6K
BlockFrequencyInfoImpl.cpp21-Oct-201625.5K
BranchProbabilityInfo.cpp21-Oct-201623.5K
CallGraph.cpp21-Oct-201610.3K
CallGraphSCCPass.cpp21-Oct-201622.9K
CallPrinter.cpp21-Oct-20162.9K
CaptureTracking.cpp21-Oct-201611.8K
CFG.cpp21-Oct-20168.4K
CFGPrinter.cpp21-Oct-20164.9K
CFLAliasAnalysis.cpp21-Oct-201638.6K
CGSCCPassManager.cpp21-Oct-20162.5K
CMakeLists.txt21-Oct-20161.6K
CodeMetrics.cpp21-Oct-20166.4K
ConstantFolding.cpp21-Oct-201669.7K
CostModel.cpp21-Oct-201617.6K
Delinearization.cpp21-Oct-20164.8K
DemandedBits.cpp21-Oct-201613.7K
DependenceAnalysis.cpp21-Oct-2016146.6K
DivergenceAnalysis.cpp21-Oct-201611.8K
DominanceFrontier.cpp21-Oct-20161.6K
DomPrinter.cpp21-Oct-20167.9K
EHPersonalities.cpp21-Oct-20164.4K
GlobalsModRef.cpp21-Oct-201639.5K
InlineCost.cpp21-Oct-201654K
InstCount.cpp21-Oct-20162.7K
InstructionSimplify.cpp21-Oct-2016158.6K
Interval.cpp21-Oct-20162K
IntervalPartition.cpp21-Oct-20164.2K
IteratedDominanceFrontier.cpp21-Oct-20163.1K
IVUsers.cpp21-Oct-201613.6K
LazyCallGraph.cpp21-Oct-201626.1K
LazyValueInfo.cpp21-Oct-201649K
Lint.cpp21-Oct-201627.6K
LLVMBuild.txt21-Oct-2016704
Loads.cpp21-Oct-201610.8K
LoopAccessAnalysis.cpp21-Oct-201668.7K
LoopInfo.cpp21-Oct-201626.8K
LoopPass.cpp21-Oct-201611.1K
Makefile21-Oct-2016430
MemDepPrinter.cpp21-Oct-20165.2K
MemDerefPrinter.cpp21-Oct-20162.5K
MemoryBuiltins.cpp21-Oct-201629.7K
MemoryDependenceAnalysis.cpp21-Oct-201670.6K
MemoryLocation.cpp21-Oct-20166.1K
ModuleDebugInfoPrinter.cpp21-Oct-20163.9K
ObjCARCAliasAnalysis.cpp21-Oct-20166K
ObjCARCAnalysisUtils.cpp21-Oct-20161.1K
ObjCARCInstKind.cpp21-Oct-201623.3K
OrderedBasicBlock.cpp21-Oct-20163.5K
PHITransAddr.cpp21-Oct-201616.1K
PostDominators.cpp21-Oct-20161.5K
PtrUseVisitor.cpp21-Oct-20161K
README.txt21-Oct-20161,006
RegionInfo.cpp21-Oct-20164.9K
RegionPass.cpp21-Oct-20168.6K
RegionPrinter.cpp21-Oct-20168.6K
ScalarEvolution.cpp21-Oct-2016364.5K
ScalarEvolutionAliasAnalysis.cpp21-Oct-20165.9K
ScalarEvolutionExpander.cpp21-Oct-201678.5K
ScalarEvolutionNormalization.cpp21-Oct-201610.1K
ScopedNoAliasAA.cpp21-Oct-20167.5K
SparsePropagation.cpp21-Oct-201611.8K
StratifiedSets.h21-Oct-201622K
TargetLibraryInfo.cpp21-Oct-201622.4K
TargetTransformInfo.cpp21-Oct-201613.5K
Trace.cpp21-Oct-20161.7K
TypeBasedAliasAnalysis.cpp21-Oct-201621.3K
ValueTracking.cpp21-Oct-2016164.6K
VectorUtils.cpp21-Oct-201619.2K

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