Home | History | Annotate | only in /external/swiftshader/third_party/LLVM/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp22-Oct-202015.2K
AliasAnalysisCounter.cpp22-Oct-20206.2K
AliasAnalysisEvaluator.cpp22-Oct-202010.9K
AliasDebugger.cpp22-Oct-20204.8K
AliasSetTracker.cpp22-Oct-202021.6K
Analysis.cpp22-Oct-20203.7K
BasicAliasAnalysis.cpp22-Oct-202047.7K
BlockFrequencyInfo.cpp22-Oct-20202.1K
BranchProbabilityInfo.cpp22-Oct-202014.7K
CaptureTracking.cpp22-Oct-20206.1K
CFGPrinter.cpp22-Oct-20204.9K
ConstantFolding.cpp22-Oct-202054.9K
DbgInfoPrinter.cpp22-Oct-20206.3K
DebugInfo.cpp22-Oct-202032.6K
DIBuilder.cpp22-Oct-202037.8K
DominanceFrontier.cpp22-Oct-20204.3K
DomPrinter.cpp22-Oct-20206.7K
InlineCost.cpp22-Oct-202025.3K
INSTALL.vcxproj.filters22-Oct-2020657
InstCount.cpp22-Oct-20202.7K
InstructionSimplify.cpp22-Oct-202098K
Interval.cpp22-Oct-20202K
IntervalPartition.cpp22-Oct-20204.2K
IPA/22-Oct-2020
IVUsers.cpp22-Oct-20209.5K
LazyValueInfo.cpp22-Oct-202037.8K
LibCallAliasAnalysis.cpp22-Oct-20205.2K
LibCallSemantics.cpp22-Oct-20202.1K
Lint.cpp22-Oct-202024.9K
LLVMAnalysis.vcxproj22-Oct-202025.7K
LLVMAnalysis.vcxproj.filters22-Oct-20202.8K
Loads.cpp22-Oct-20209.4K
LoopDependenceAnalysis.cpp22-Oct-202012.9K
LoopInfo.cpp22-Oct-202025K
LoopPass.cpp22-Oct-202011.4K
Makefile22-Oct-2020441
MemDepPrinter.cpp22-Oct-20206.3K
MemoryBuiltins.cpp22-Oct-20207.6K
MemoryDependenceAnalysis.cpp22-Oct-202060.2K
ModuleDebugInfoPrinter.cpp22-Oct-20202.6K
NoAliasAnalysis.cpp22-Oct-20203.1K
PACKAGE.vcxproj.filters22-Oct-2020657
PathNumbering.cpp22-Oct-202016.2K
PathProfileInfo.cpp22-Oct-202013.9K
PathProfileVerifier.cpp22-Oct-20206.9K
PHITransAddr.cpp22-Oct-202016K
PostDominators.cpp22-Oct-20201.5K
ProfileEstimatorPass.cpp22-Oct-202015.8K
ProfileInfo.cpp22-Oct-202032.9K
ProfileInfoLoader.cpp22-Oct-20204.8K
ProfileInfoLoaderPass.cpp22-Oct-20209.3K
ProfileVerifierPass.cpp22-Oct-202013.4K
README.txt22-Oct-20201,006
RegionInfo.cpp22-Oct-202022.7K
RegionPass.cpp22-Oct-20208.5K
RegionPrinter.cpp22-Oct-20206.7K
ScalarEvolution.cpp22-Oct-2020266.2K
ScalarEvolutionAliasAnalysis.cpp22-Oct-20206.7K
ScalarEvolutionExpander.cpp22-Oct-202061.7K
ScalarEvolutionNormalization.cpp22-Oct-20208.6K
SparsePropagation.cpp22-Oct-202011.9K
Trace.cpp22-Oct-20201.6K
TypeBasedAliasAnalysis.cpp22-Oct-202010.2K
ValueTracking.cpp22-Oct-202070.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