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