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