Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp08-Oct-201520.3K
AliasAnalysisCounter.cpp08-Oct-20156.2K
AliasAnalysisEvaluator.cpp08-Oct-201513.6K
AliasDebugger.cpp08-Oct-20154.8K
AliasSetTracker.cpp08-Oct-201522.1K
Analysis.cpp08-Oct-20154.1K
Android.mk08-Oct-20152.1K
AssumptionCache.cpp08-Oct-20154.9K
BasicAliasAnalysis.cpp08-Oct-201563.3K
BlockFrequencyInfo.cpp08-Oct-20155.5K
BlockFrequencyInfoImpl.cpp08-Oct-201523.5K
BranchProbabilityInfo.cpp08-Oct-201521.5K
CaptureTracking.cpp08-Oct-201510.1K
CFG.cpp08-Oct-20158.5K
CFGPrinter.cpp08-Oct-20154.9K
CFLAliasAnalysis.cpp08-Oct-201539.1K
CGSCCPassManager.cpp08-Oct-20152.5K
CMakeLists.txt08-Oct-20151.5K
CodeMetrics.cpp08-Oct-20156.3K
ConstantFolding.cpp08-Oct-201567.2K
CostModel.cpp08-Oct-201517.7K
Delinearization.cpp08-Oct-20154.9K
DependenceAnalysis.cpp08-Oct-2015145.2K
DivergenceAnalysis.cpp08-Oct-201511.9K
DominanceFrontier.cpp08-Oct-20151.6K
DomPrinter.cpp08-Oct-20157.9K
InstCount.cpp08-Oct-20152.7K
InstructionSimplify.cpp08-Oct-2015146.1K
Interval.cpp08-Oct-20152K
IntervalPartition.cpp08-Oct-20154.2K
IPA/08-Oct-2015
IVUsers.cpp08-Oct-201513K
LazyCallGraph.cpp08-Oct-201526.1K
LazyValueInfo.cpp08-Oct-201544.1K
LibCallAliasAnalysis.cpp08-Oct-20155.4K
LibCallSemantics.cpp08-Oct-20153.4K
Lint.cpp08-Oct-201535.3K
LLVMBuild.txt08-Oct-2015735
Loads.cpp08-Oct-20159.8K
LoopAccessAnalysis.cpp08-Oct-201550.4K
LoopInfo.cpp08-Oct-201525.6K
LoopPass.cpp08-Oct-201512.4K
Makefile08-Oct-2015441
MemDepPrinter.cpp08-Oct-20155.2K
MemDerefPrinter.cpp08-Oct-20152.1K
MemoryBuiltins.cpp08-Oct-201528K
MemoryDependenceAnalysis.cpp08-Oct-201568.5K
ModuleDebugInfoPrinter.cpp08-Oct-20153.9K
NoAliasAnalysis.cpp08-Oct-20153.4K
PHITransAddr.cpp08-Oct-201515.9K
PostDominators.cpp08-Oct-20151.5K
PtrUseVisitor.cpp08-Oct-20151K
README.txt08-Oct-20151,006
RegionInfo.cpp08-Oct-20154.7K
RegionPass.cpp08-Oct-20158.6K
RegionPrinter.cpp08-Oct-20156.8K
ScalarEvolution.cpp08-Oct-2015324.9K
ScalarEvolutionAliasAnalysis.cpp08-Oct-20156.8K
ScalarEvolutionExpander.cpp08-Oct-201575.9K
ScalarEvolutionNormalization.cpp08-Oct-201510.1K
ScopedNoAliasAA.cpp08-Oct-20158.7K
SparsePropagation.cpp08-Oct-201511.9K
StratifiedSets.h08-Oct-201522K
TargetLibraryInfo.cpp08-Oct-201520.5K
TargetTransformInfo.cpp08-Oct-201510.9K
Trace.cpp08-Oct-20151.7K
TypeBasedAliasAnalysis.cpp08-Oct-201522.7K
ValueTracking.cpp08-Oct-2015118.6K

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