Home | History | Annotate | only in /external/swiftshader/third_party/LLVM/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp21-Aug-201815.2K
AliasAnalysisCounter.cpp21-Aug-20186.2K
AliasAnalysisEvaluator.cpp21-Aug-201810.9K
AliasDebugger.cpp21-Aug-20184.8K
AliasSetTracker.cpp21-Aug-201821.6K
Analysis.cpp21-Aug-20183.7K
BasicAliasAnalysis.cpp21-Aug-201847.7K
BlockFrequencyInfo.cpp21-Aug-20182.1K
BranchProbabilityInfo.cpp21-Aug-201814.7K
CaptureTracking.cpp21-Aug-20186.1K
CFGPrinter.cpp21-Aug-20184.9K
ConstantFolding.cpp21-Aug-201854.9K
DbgInfoPrinter.cpp21-Aug-20186.3K
DebugInfo.cpp21-Aug-201832.6K
DIBuilder.cpp21-Aug-201837.8K
DominanceFrontier.cpp21-Aug-20184.3K
DomPrinter.cpp21-Aug-20186.7K
InlineCost.cpp21-Aug-201825.3K
INSTALL.vcxproj.filters21-Aug-2018657
InstCount.cpp21-Aug-20182.7K
InstructionSimplify.cpp21-Aug-201898K
Interval.cpp21-Aug-20182K
IntervalPartition.cpp21-Aug-20184.2K
IPA/21-Aug-2018
IVUsers.cpp21-Aug-20189.5K
LazyValueInfo.cpp21-Aug-201837.8K
LibCallAliasAnalysis.cpp21-Aug-20185.2K
LibCallSemantics.cpp21-Aug-20182.1K
Lint.cpp21-Aug-201824.9K
LLVMAnalysis.vcxproj21-Aug-201825.7K
LLVMAnalysis.vcxproj.filters21-Aug-20182.8K
Loads.cpp21-Aug-20189.4K
LoopDependenceAnalysis.cpp21-Aug-201812.9K
LoopInfo.cpp21-Aug-201825K
LoopPass.cpp21-Aug-201811.4K
Makefile21-Aug-2018441
MemDepPrinter.cpp21-Aug-20186.3K
MemoryBuiltins.cpp21-Aug-20187.6K
MemoryDependenceAnalysis.cpp21-Aug-201860.2K
ModuleDebugInfoPrinter.cpp21-Aug-20182.6K
NoAliasAnalysis.cpp21-Aug-20183.1K
PACKAGE.vcxproj.filters21-Aug-2018657
PathNumbering.cpp21-Aug-201816.2K
PathProfileInfo.cpp21-Aug-201813.9K
PathProfileVerifier.cpp21-Aug-20186.9K
PHITransAddr.cpp21-Aug-201816K
PostDominators.cpp21-Aug-20181.5K
ProfileEstimatorPass.cpp21-Aug-201815.8K
ProfileInfo.cpp21-Aug-201832.9K
ProfileInfoLoader.cpp21-Aug-20184.8K
ProfileInfoLoaderPass.cpp21-Aug-20189.3K
ProfileVerifierPass.cpp21-Aug-201813.4K
README.txt21-Aug-20181,006
RegionInfo.cpp21-Aug-201822.7K
RegionPass.cpp21-Aug-20188.5K
RegionPrinter.cpp21-Aug-20186.7K
ScalarEvolution.cpp21-Aug-2018266.2K
ScalarEvolutionAliasAnalysis.cpp21-Aug-20186.7K
ScalarEvolutionExpander.cpp21-Aug-201861.7K
ScalarEvolutionNormalization.cpp21-Aug-20188.6K
SparsePropagation.cpp21-Aug-201811.9K
Trace.cpp21-Aug-20181.6K
TypeBasedAliasAnalysis.cpp21-Aug-201810.2K
ValueTracking.cpp21-Aug-201870.3K

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