Home | History | Annotate | only in /external/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp20-Jun-201419.4K
AliasAnalysisCounter.cpp20-Jun-20146.1K
AliasAnalysisEvaluator.cpp20-Jun-201413.6K
AliasDebugger.cpp20-Jun-20144.8K
AliasSetTracker.cpp20-Jun-201421.8K
Analysis.cpp20-Jun-20143.9K
Android.mk20-Jun-20142K
BasicAliasAnalysis.cpp20-Jun-201451K
BlockFrequencyInfo.cpp20-Jun-20141.8K
BranchProbabilityInfo.cpp20-Jun-201420.5K
CaptureTracking.cpp20-Jun-20146.6K
CFG.cpp20-Jun-20148K
CFGPrinter.cpp20-Jun-20144.9K
CMakeLists.txt20-Jun-20141.4K
CodeMetrics.cpp20-Jun-20143.7K
ConstantFolding.cpp20-Jun-201461.6K
CostModel.cpp20-Jun-20148.2K
DependenceAnalysis.cpp20-Jun-2014140.1K
DominanceFrontier.cpp20-Jun-20144.4K
DomPrinter.cpp20-Jun-20146.7K
InstCount.cpp20-Jun-20142.7K
InstructionSimplify.cpp20-Jun-2014121.7K
Interval.cpp20-Jun-20142K
IntervalPartition.cpp20-Jun-20144.2K
IPA/20-Jun-2014
IVUsers.cpp20-Jun-201412.1K
LazyValueInfo.cpp20-Jun-201438.7K
LibCallAliasAnalysis.cpp20-Jun-20145.2K
LibCallSemantics.cpp20-Jun-20142.1K
Lint.cpp20-Jun-201426.5K
LLVMBuild.txt20-Jun-2014742
Loads.cpp20-Jun-20148.6K
LoopInfo.cpp20-Jun-201425.7K
LoopPass.cpp20-Jun-201411.2K
Makefile20-Jun-2014441
MemDepPrinter.cpp20-Jun-20146.4K
MemoryBuiltins.cpp20-Jun-201427.5K
MemoryDependenceAnalysis.cpp20-Jun-201462.2K
ModuleDebugInfoPrinter.cpp20-Jun-20142.6K
NoAliasAnalysis.cpp20-Jun-20143.1K
NOTICE20-Jun-20143.1K
PathNumbering.cpp20-Jun-201416.2K
PathProfileInfo.cpp20-Jun-201414K
PathProfileVerifier.cpp20-Jun-20146.9K
PHITransAddr.cpp20-Jun-201416.1K
PostDominators.cpp20-Jun-20141.5K
ProfileDataLoader.cpp20-Jun-20145.4K
ProfileDataLoaderPass.cpp20-Jun-20147.1K
ProfileEstimatorPass.cpp20-Jun-201415.8K
ProfileInfo.cpp20-Jun-201432.5K
ProfileInfoLoader.cpp20-Jun-20144.7K
ProfileInfoLoaderPass.cpp20-Jun-20149.3K
ProfileVerifierPass.cpp20-Jun-201413.4K
PtrUseVisitor.cpp20-Jun-20141.1K
README.txt20-Jun-20141,006
RegionInfo.cpp20-Jun-201423.1K
RegionPass.cpp20-Jun-20148.5K
RegionPrinter.cpp20-Jun-20146.6K
ScalarEvolution.cpp20-Jun-2014280.5K
ScalarEvolutionAliasAnalysis.cpp20-Jun-20146.7K
ScalarEvolutionExpander.cpp20-Jun-201469.3K
ScalarEvolutionNormalization.cpp20-Jun-20148.5K
SparsePropagation.cpp20-Jun-201412K
TargetTransformInfo.cpp20-Jun-201418.8K
Trace.cpp20-Jun-20141.7K
TypeBasedAliasAnalysis.cpp20-Jun-201417.2K
ValueTracking.cpp20-Jun-201478.8K

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