Home | History | Annotate | only in /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis
Up to higher level directory
NameDateSize
AliasAnalysis.cpp22-Oct-202030.5K
AliasAnalysisEvaluator.cpp22-Oct-202015.5K
AliasAnalysisSummary.cpp22-Oct-20203.5K
AliasAnalysisSummary.h22-Oct-202010.1K
AliasSetTracker.cpp22-Oct-202023.7K
Analysis.cpp22-Oct-20205.1K
AssumptionCache.cpp22-Oct-20209.1K
BasicAliasAnalysis.cpp22-Oct-202079.8K
BlockFrequencyInfo.cpp22-Oct-202012.1K
BlockFrequencyInfoImpl.cpp22-Oct-202027.9K
BranchProbabilityInfo.cpp22-Oct-202036.4K
CallGraph.cpp22-Oct-202011K
CallGraphSCCPass.cpp22-Oct-202023.9K
CallPrinter.cpp22-Oct-20203K
CaptureTracking.cpp22-Oct-202013.8K
CFG.cpp22-Oct-20208.4K
CFGPrinter.cpp22-Oct-20206K
CFLAndersAliasAnalysis.cpp22-Oct-202032.7K
CFLGraph.h22-Oct-202021K
CFLSteensAliasAnalysis.cpp22-Oct-202012.9K
CGSCCPassManager.cpp22-Oct-202028.4K
CMakeLists.txt22-Oct-20202.1K
CmpInstAnalysis.cpp22-Oct-20204.7K
CodeMetrics.cpp22-Oct-20207K
ConstantFolding.cpp22-Oct-202083.1K
CostModel.cpp22-Oct-20203.8K
Delinearization.cpp22-Oct-20204.4K
DemandedBits.cpp22-Oct-202014K
DependenceAnalysis.cpp22-Oct-2020145.7K
DivergenceAnalysis.cpp22-Oct-202012.4K
DominanceFrontier.cpp22-Oct-20203.1K
DomPrinter.cpp22-Oct-20209.6K
EHPersonalities.cpp22-Oct-20205.9K
GlobalsModRef.cpp22-Oct-202039.7K
IndirectCallPromotionAnalysis.cpp22-Oct-20204.3K
InlineCost.cpp22-Oct-202081.6K
InstCount.cpp22-Oct-20202.4K
InstructionSimplify.cpp22-Oct-2020191.2K
Interval.cpp22-Oct-20201.7K
IntervalPartition.cpp22-Oct-20204.3K
IteratedDominanceFrontier.cpp22-Oct-20203.4K
IVUsers.cpp22-Oct-202016.1K
LazyBlockFrequencyInfo.cpp22-Oct-20202.8K
LazyBranchProbabilityInfo.cpp22-Oct-20202.9K
LazyCallGraph.cpp22-Oct-202065.5K
LazyValueInfo.cpp22-Oct-202074.1K
Lint.cpp22-Oct-202028.5K
LLVMBuild.txt22-Oct-2020736
Loads.cpp22-Oct-202016.9K
LoopAccessAnalysis.cpp22-Oct-202090.1K
LoopAnalysisManager.cpp22-Oct-20206.9K
LoopInfo.cpp22-Oct-202025.7K
LoopPass.cpp22-Oct-202012.9K
LoopUnrollAnalyzer.cpp22-Oct-20207.2K
MemDepPrinter.cpp22-Oct-20205K
MemDerefPrinter.cpp22-Oct-20202.4K
MemoryBuiltins.cpp22-Oct-202036.1K
MemoryDependenceAnalysis.cpp22-Oct-202070.4K
MemoryLocation.cpp22-Oct-20206K
MemorySSA.cpp22-Oct-202078.4K
MemorySSAUpdater.cpp22-Oct-202024.3K
ModuleDebugInfoPrinter.cpp22-Oct-20204K
ModuleSummaryAnalysis.cpp22-Oct-202025.8K
MustExecute.cpp22-Oct-202010.5K
ObjCARCAliasAnalysis.cpp22-Oct-20205.6K
ObjCARCAnalysisUtils.cpp22-Oct-20201K
ObjCARCInstKind.cpp22-Oct-202023.8K
OptimizationRemarkEmitter.cpp22-Oct-20204.1K
OrderedBasicBlock.cpp22-Oct-20203.5K
PHITransAddr.cpp22-Oct-202016K
PhiValues.cpp22-Oct-20207.3K
PostDominators.cpp22-Oct-20202.7K
ProfileSummaryInfo.cpp22-Oct-202011.6K
PtrUseVisitor.cpp22-Oct-20201.1K
README.txt22-Oct-20201,006
RegionInfo.cpp22-Oct-20206.4K
RegionPass.cpp22-Oct-20209.1K
RegionPrinter.cpp22-Oct-20208.6K
ScalarEvolution.cpp22-Oct-2020465.1K
ScalarEvolutionAliasAnalysis.cpp22-Oct-20205.6K
ScalarEvolutionExpander.cpp22-Oct-202091.6K
ScalarEvolutionNormalization.cpp22-Oct-20204.6K
ScopedNoAliasAA.cpp22-Oct-20207.2K
StratifiedSets.h22-Oct-202018.6K
SyntheticCountsUtils.cpp22-Oct-20204.1K
TargetLibraryInfo.cpp22-Oct-202058K
TargetTransformInfo.cpp22-Oct-202042.4K
Trace.cpp22-Oct-20201.8K
TypeBasedAliasAnalysis.cpp22-Oct-202025.7K
TypeMetadataUtils.cpp22-Oct-20204.2K
ValueLattice.cpp22-Oct-2020932
ValueLatticeUtils.cpp22-Oct-20201.5K
ValueTracking.cpp22-Oct-2020194.8K
VectorUtils.cpp22-Oct-202019.5K

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