diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 17:58:59 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 17:58:59 +0000 |
commit | 1a56a5ead7a2e84bee8240f5f6b033b5f1707154 (patch) | |
tree | 2f526c9cfcb089e51c33d6e1f0d51b10bda34714 /lib/Analysis | |
parent | d8e91e46262bc44006913e6796843909f1ac7bcd (diff) |
Notes
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/CMakeLists.txt | 103 | ||||
-rw-r--r-- | lib/Analysis/LLVMBuild.txt | 22 | ||||
-rw-r--r-- | lib/Analysis/README.txt | 30 |
3 files changed, 0 insertions, 155 deletions
diff --git a/lib/Analysis/CMakeLists.txt b/lib/Analysis/CMakeLists.txt deleted file mode 100644 index c57d8ef69d69..000000000000 --- a/lib/Analysis/CMakeLists.txt +++ /dev/null @@ -1,103 +0,0 @@ -add_llvm_library(LLVMAnalysis - AliasAnalysis.cpp - AliasAnalysisEvaluator.cpp - AliasAnalysisSummary.cpp - AliasSetTracker.cpp - Analysis.cpp - AssumptionCache.cpp - BasicAliasAnalysis.cpp - BlockFrequencyInfo.cpp - BlockFrequencyInfoImpl.cpp - BranchProbabilityInfo.cpp - CFG.cpp - CFGPrinter.cpp - CFLAndersAliasAnalysis.cpp - CFLSteensAliasAnalysis.cpp - CGSCCPassManager.cpp - CallGraph.cpp - CallGraphSCCPass.cpp - CallPrinter.cpp - CaptureTracking.cpp - CmpInstAnalysis.cpp - CostModel.cpp - CodeMetrics.cpp - ConstantFolding.cpp - Delinearization.cpp - DemandedBits.cpp - DependenceAnalysis.cpp - DivergenceAnalysis.cpp - DomPrinter.cpp - DominanceFrontier.cpp - EHPersonalities.cpp - GlobalsModRef.cpp - GuardUtils.cpp - IVDescriptors.cpp - IVUsers.cpp - IndirectCallPromotionAnalysis.cpp - InlineCost.cpp - InstCount.cpp - InstructionPrecedenceTracking.cpp - InstructionSimplify.cpp - Interval.cpp - IntervalPartition.cpp - IteratedDominanceFrontier.cpp - LazyBranchProbabilityInfo.cpp - LazyBlockFrequencyInfo.cpp - LazyCallGraph.cpp - LazyValueInfo.cpp - LegacyDivergenceAnalysis.cpp - Lint.cpp - Loads.cpp - LoopAccessAnalysis.cpp - LoopAnalysisManager.cpp - LoopUnrollAnalyzer.cpp - LoopInfo.cpp - LoopPass.cpp - MemDepPrinter.cpp - MemDerefPrinter.cpp - MemoryBuiltins.cpp - MemoryDependenceAnalysis.cpp - MemoryLocation.cpp - MemorySSA.cpp - MemorySSAUpdater.cpp - ModuleDebugInfoPrinter.cpp - ModuleSummaryAnalysis.cpp - MustExecute.cpp - ObjCARCAliasAnalysis.cpp - ObjCARCAnalysisUtils.cpp - ObjCARCInstKind.cpp - OptimizationRemarkEmitter.cpp - OrderedBasicBlock.cpp - OrderedInstructions.cpp - PHITransAddr.cpp - PhiValues.cpp - PostDominators.cpp - ProfileSummaryInfo.cpp - PtrUseVisitor.cpp - RegionInfo.cpp - RegionPass.cpp - RegionPrinter.cpp - ScalarEvolution.cpp - ScalarEvolutionAliasAnalysis.cpp - ScalarEvolutionExpander.cpp - ScalarEvolutionNormalization.cpp - StackSafetyAnalysis.cpp - SyncDependenceAnalysis.cpp - SyntheticCountsUtils.cpp - TargetLibraryInfo.cpp - TargetTransformInfo.cpp - Trace.cpp - TypeBasedAliasAnalysis.cpp - TypeMetadataUtils.cpp - ScopedNoAliasAA.cpp - ValueLattice.cpp - ValueLatticeUtils.cpp - ValueTracking.cpp - VectorUtils.cpp - - ADDITIONAL_HEADER_DIRS - ${LLVM_MAIN_INCLUDE_DIR}/llvm/Analysis - - DEPENDS - intrinsics_gen - ) diff --git a/lib/Analysis/LLVMBuild.txt b/lib/Analysis/LLVMBuild.txt deleted file mode 100644 index 8a87b980b0a8..000000000000 --- a/lib/Analysis/LLVMBuild.txt +++ /dev/null @@ -1,22 +0,0 @@ -;===- ./lib/Analysis/LLVMBuild.txt -----------------------------*- Conf -*--===; -; -; The LLVM Compiler Infrastructure -; -; This file is distributed under the University of Illinois Open Source -; License. See LICENSE.TXT for details. -; -;===------------------------------------------------------------------------===; -; -; This is an LLVMBuild description file for the components in this subdirectory. -; -; For more information on the LLVMBuild system, please see: -; -; http://llvm.org/docs/LLVMBuild.html -; -;===------------------------------------------------------------------------===; - -[component_0] -type = Library -name = Analysis -parent = Libraries -required_libraries = BinaryFormat Core Object ProfileData Support diff --git a/lib/Analysis/README.txt b/lib/Analysis/README.txt deleted file mode 100644 index 0e96e4c950cc..000000000000 --- a/lib/Analysis/README.txt +++ /dev/null @@ -1,30 +0,0 @@ -Analysis Opportunities: - -//===---------------------------------------------------------------------===// - -In test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll, the -ScalarEvolution expression for %r is this: - - {1,+,3,+,2}<loop> - -Outside the loop, this could be evaluated simply as (%n * %n), however -ScalarEvolution currently evaluates it as - - (-2 + (2 * (trunc i65 (((zext i64 (-2 + %n) to i65) * (zext i64 (-1 + %n) to i65)) /u 2) to i64)) + (3 * %n)) - -In addition to being much more complicated, it involves i65 arithmetic, -which is very inefficient when expanded into code. - -//===---------------------------------------------------------------------===// - -In formatValue in test/CodeGen/X86/lsr-delayed-fold.ll, - -ScalarEvolution is forming this expression: - -((trunc i64 (-1 * %arg5) to i32) + (trunc i64 %arg5 to i32) + (-1 * (trunc i64 undef to i32))) - -This could be folded to - -(-1 * (trunc i64 undef to i32)) - -//===---------------------------------------------------------------------===// |