Home | History | Annotate | only in /external/swiftshader/third_party/LLVM/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp05-Oct-201715.2K
AliasAnalysisCounter.cpp05-Oct-20176.2K
AliasAnalysisEvaluator.cpp05-Oct-201710.9K
AliasDebugger.cpp05-Oct-20174.8K
AliasSetTracker.cpp05-Oct-201721.6K
Analysis.cpp05-Oct-20173.7K
BasicAliasAnalysis.cpp05-Oct-201747.7K
BlockFrequencyInfo.cpp05-Oct-20172.1K
BranchProbabilityInfo.cpp05-Oct-201714.7K
CaptureTracking.cpp05-Oct-20176.1K
CFGPrinter.cpp05-Oct-20174.9K
ConstantFolding.cpp05-Oct-201754.9K
DbgInfoPrinter.cpp05-Oct-20176.3K
DebugInfo.cpp05-Oct-201732.6K
DIBuilder.cpp05-Oct-201737.8K
DominanceFrontier.cpp05-Oct-20174.3K
DomPrinter.cpp05-Oct-20176.7K
InlineCost.cpp05-Oct-201725.3K
INSTALL.vcxproj.filters05-Oct-2017657
InstCount.cpp05-Oct-20172.7K
InstructionSimplify.cpp05-Oct-201798K
Interval.cpp05-Oct-20172K
IntervalPartition.cpp05-Oct-20174.2K
IPA/05-Oct-2017
IVUsers.cpp05-Oct-20179.5K
LazyValueInfo.cpp05-Oct-201737.8K
LibCallAliasAnalysis.cpp05-Oct-20175.2K
LibCallSemantics.cpp05-Oct-20172.1K
Lint.cpp05-Oct-201724.9K
LLVMAnalysis.vcxproj05-Oct-201725.6K
LLVMAnalysis.vcxproj.filters05-Oct-20172.8K
Loads.cpp05-Oct-20179.4K
LoopDependenceAnalysis.cpp05-Oct-201712.9K
LoopInfo.cpp05-Oct-201725K
LoopPass.cpp05-Oct-201711.4K
Makefile05-Oct-2017441
MemDepPrinter.cpp05-Oct-20176.3K
MemoryBuiltins.cpp05-Oct-20177.6K
MemoryDependenceAnalysis.cpp05-Oct-201760.2K
ModuleDebugInfoPrinter.cpp05-Oct-20172.6K
NoAliasAnalysis.cpp05-Oct-20173.1K
PACKAGE.vcxproj.filters05-Oct-2017657
PathNumbering.cpp05-Oct-201716.2K
PathProfileInfo.cpp05-Oct-201713.9K
PathProfileVerifier.cpp05-Oct-20176.9K
PHITransAddr.cpp05-Oct-201716K
PostDominators.cpp05-Oct-20171.5K
ProfileEstimatorPass.cpp05-Oct-201715.8K
ProfileInfo.cpp05-Oct-201732.9K
ProfileInfoLoader.cpp05-Oct-20174.8K
ProfileInfoLoaderPass.cpp05-Oct-20179.3K
ProfileVerifierPass.cpp05-Oct-201713.4K
README.txt05-Oct-20171,006
RegionInfo.cpp05-Oct-201722.7K
RegionPass.cpp05-Oct-20178.5K
RegionPrinter.cpp05-Oct-20176.7K
ScalarEvolution.cpp05-Oct-2017266.2K
ScalarEvolutionAliasAnalysis.cpp05-Oct-20176.7K
ScalarEvolutionExpander.cpp05-Oct-201761.7K
ScalarEvolutionNormalization.cpp05-Oct-20178.6K
SparsePropagation.cpp05-Oct-201711.9K
Trace.cpp05-Oct-20171.6K
TypeBasedAliasAnalysis.cpp05-Oct-201710.2K
ValueTracking.cpp05-Oct-201770.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