Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp05-Oct-201725.7K
AliasAnalysisEvaluator.cpp05-Oct-201713.3K
AliasAnalysisSummary.cpp05-Oct-20173.6K
AliasAnalysisSummary.h05-Oct-20177.7K
AliasSetTracker.cpp05-Oct-201723K
Analysis.cpp05-Oct-20174.6K
Android.bp05-Oct-2017124
AssumptionCache.cpp05-Oct-20174.9K
BasicAliasAnalysis.cpp05-Oct-201769.2K
BlockFrequencyInfo.cpp05-Oct-20179.1K
BlockFrequencyInfoImpl.cpp05-Oct-201726.1K
BranchProbabilityInfo.cpp05-Oct-201723.9K
CallGraph.cpp05-Oct-201711.3K
CallGraphSCCPass.cpp05-Oct-201723.2K
CallPrinter.cpp05-Oct-20173K
CaptureTracking.cpp05-Oct-201713.6K
CFG.cpp05-Oct-20178.4K
CFGPrinter.cpp05-Oct-20174.9K
CFLAndersAliasAnalysis.cpp05-Oct-20172.2K
CFLGraph.h05-Oct-201717.5K
CFLSteensAliasAnalysis.cpp05-Oct-201716.2K
CGSCCPassManager.cpp05-Oct-2017986
CMakeLists.txt05-Oct-20171.9K
CodeMetrics.cpp05-Oct-20176.3K
ConstantFolding.cpp05-Oct-201771.2K
CostModel.cpp05-Oct-201717.6K
Delinearization.cpp05-Oct-20174.8K
DemandedBits.cpp05-Oct-201713.9K
DependenceAnalysis.cpp05-Oct-2017143.8K
DivergenceAnalysis.cpp05-Oct-201712K
DominanceFrontier.cpp05-Oct-20172.4K
DomPrinter.cpp05-Oct-20179.2K
EHPersonalities.cpp05-Oct-20174.6K
GlobalsModRef.cpp05-Oct-201738.3K
IndirectCallPromotionAnalysis.cpp05-Oct-20174.1K
InlineCost.cpp05-Oct-201757.6K
InstCount.cpp05-Oct-20172.7K
InstructionSimplify.cpp05-Oct-2017163.7K
Interval.cpp05-Oct-20171.8K
IntervalPartition.cpp05-Oct-20174.2K
IteratedDominanceFrontier.cpp05-Oct-20173.5K
IVUsers.cpp05-Oct-201713.5K
LazyBlockFrequencyInfo.cpp05-Oct-20172.5K
LazyCallGraph.cpp05-Oct-201758.6K
LazyValueInfo.cpp05-Oct-201760.7K
Lint.cpp05-Oct-201727.5K
LLVMBuild.txt05-Oct-2017716
Loads.cpp05-Oct-201715.7K
LoopAccessAnalysis.cpp05-Oct-201776.6K
LoopInfo.cpp05-Oct-201724.1K
LoopPass.cpp05-Oct-201711.4K
LoopPassManager.cpp05-Oct-20171.3K
LoopUnrollAnalyzer.cpp05-Oct-20177K
MemDepPrinter.cpp05-Oct-20175K
MemDerefPrinter.cpp05-Oct-20172.5K
MemoryBuiltins.cpp05-Oct-201731.5K
MemoryDependenceAnalysis.cpp05-Oct-201766.6K
MemoryLocation.cpp05-Oct-20175.5K
ModuleDebugInfoPrinter.cpp05-Oct-20173.9K
ModuleSummaryAnalysis.cpp05-Oct-20178.4K
ObjCARCAliasAnalysis.cpp05-Oct-20175.6K
ObjCARCAnalysisUtils.cpp05-Oct-20171.1K
ObjCARCInstKind.cpp05-Oct-201723.8K
OrderedBasicBlock.cpp05-Oct-20173.5K
PHITransAddr.cpp05-Oct-201716.2K
PostDominators.cpp05-Oct-20172.1K
ProfileSummaryInfo.cpp05-Oct-20176.2K
PtrUseVisitor.cpp05-Oct-20171K
README.txt05-Oct-20171,006
RegionInfo.cpp05-Oct-20176K
RegionPass.cpp05-Oct-20178.6K
RegionPrinter.cpp05-Oct-20178.6K
ScalarEvolution.cpp05-Oct-2017385.6K
ScalarEvolutionAliasAnalysis.cpp05-Oct-20175.6K
ScalarEvolutionExpander.cpp05-Oct-201786K
ScalarEvolutionNormalization.cpp05-Oct-201710.1K
ScopedNoAliasAA.cpp05-Oct-20177.1K
SparsePropagation.cpp05-Oct-201711.8K
StratifiedSets.h05-Oct-201719K
TargetLibraryInfo.cpp05-Oct-201741.8K
TargetTransformInfo.cpp05-Oct-201716.7K
Trace.cpp05-Oct-20171.7K
TypeBasedAliasAnalysis.cpp05-Oct-201720.9K
TypeMetadataUtils.cpp05-Oct-20174.2K
ValueTracking.cpp05-Oct-2017157.8K
VectorUtils.cpp05-Oct-201716.5K

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