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