|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| IPA/ | | 03-May-2024 | - | 3,120 | 1,897 |
| AliasAnalysis.cpp | D | 03-May-2024 | 19.4 KiB | 557 | 342 |
| AliasAnalysisCounter.cpp | D | 03-May-2024 | 6.1 KiB | 172 | 131 |
| AliasAnalysisEvaluator.cpp | D | 03-May-2024 | 13.6 KiB | 373 | 307 |
| AliasDebugger.cpp | D | 03-May-2024 | 4.8 KiB | 139 | 89 |
| AliasSetTracker.cpp | D | 03-May-2024 | 21.8 KiB | 656 | 456 |
| Analysis.cpp | D | 03-May-2024 | 3.9 KiB | 110 | 89 |
| Android.mk | D | 03-May-2024 | 2 KiB | 88 | 76 |
| BasicAliasAnalysis.cpp | D | 03-May-2024 | 51 KiB | 1,311 | 797 |
| BlockFrequencyInfo.cpp | D | 03-May-2024 | 1.8 KiB | 59 | 35 |
| BranchProbabilityInfo.cpp | D | 03-May-2024 | 20.5 KiB | 638 | 406 |
| CFG.cpp | D | 03-May-2024 | 8 KiB | 228 | 138 |
| CFGPrinter.cpp | D | 03-May-2024 | 4.9 KiB | 165 | 107 |
| CMakeLists.txt | D | 03-May-2024 | 1.4 KiB | 67 | 64 |
| CaptureTracking.cpp | D | 03-May-2024 | 6.6 KiB | 181 | 103 |
| CodeMetrics.cpp | D | 03-May-2024 | 3.7 KiB | 97 | 46 |
| ConstantFolding.cpp | D | 03-May-2024 | 61.6 KiB | 1,591 | 1,147 |
| CostModel.cpp | D | 03-May-2024 | 8.2 KiB | 248 | 197 |
| DependenceAnalysis.cpp | D | 03-May-2024 | 140.1 KiB | 3,844 | 2,660 |
| DomPrinter.cpp | D | 03-May-2024 | 6.7 KiB | 233 | 166 |
| DominanceFrontier.cpp | D | 03-May-2024 | 4.4 KiB | 142 | 104 |
| IVUsers.cpp | D | 03-May-2024 | 12.1 KiB | 336 | 227 |
| InstCount.cpp | D | 03-May-2024 | 2.7 KiB | 88 | 56 |
| InstructionSimplify.cpp | D | 03-May-2024 | 121.7 KiB | 3,226 | 2,137 |
| Interval.cpp | D | 03-May-2024 | 2 KiB | 59 | 28 |
| IntervalPartition.cpp | D | 03-May-2024 | 4.2 KiB | 115 | 51 |
| LLVMBuild.txt | D | 03-May-2024 | 742 | 26 | 23 |
| LazyValueInfo.cpp | D | 03-May-2024 | 38.7 KiB | 1,144 | 782 |
| LibCallAliasAnalysis.cpp | D | 03-May-2024 | 5.2 KiB | 138 | 69 |
| LibCallSemantics.cpp | D | 03-May-2024 | 2.1 KiB | 64 | 28 |
| Lint.cpp | D | 03-May-2024 | 26.5 KiB | 693 | 509 |
| Loads.cpp | D | 03-May-2024 | 8.6 KiB | 222 | 112 |
| LoopInfo.cpp | D | 03-May-2024 | 25.7 KiB | 739 | 450 |
| LoopPass.cpp | D | 03-May-2024 | 11.2 KiB | 368 | 217 |
| Makefile | D | 03-May-2024 | 441 | 17 | 5 |
| MemDepPrinter.cpp | D | 03-May-2024 | 6.4 KiB | 193 | 150 |
| MemoryBuiltins.cpp | D | 03-May-2024 | 27.5 KiB | 792 | 544 |
| MemoryDependenceAnalysis.cpp | D | 03-May-2024 | 62.2 KiB | 1,539 | 890 |
| ModuleDebugInfoPrinter.cpp | D | 03-May-2024 | 2.6 KiB | 88 | 60 |
| NOTICE | D | 03-May-2024 | 3.1 KiB | 70 | 55 |
| NoAliasAnalysis.cpp | D | 03-May-2024 | 3.1 KiB | 89 | 52 |
| PHITransAddr.cpp | D | 03-May-2024 | 16.1 KiB | 444 | 275 |
| PathNumbering.cpp | D | 03-May-2024 | 16.2 KiB | 522 | 328 |
| PathProfileInfo.cpp | D | 03-May-2024 | 14 KiB | 434 | 275 |
| PathProfileVerifier.cpp | D | 03-May-2024 | 6.9 KiB | 207 | 141 |
| PostDominators.cpp | D | 03-May-2024 | 1.5 KiB | 52 | 26 |
| ProfileDataLoader.cpp | D | 03-May-2024 | 5.4 KiB | 156 | 91 |
| ProfileDataLoaderPass.cpp | D | 03-May-2024 | 7.1 KiB | 189 | 126 |
| ProfileEstimatorPass.cpp | D | 03-May-2024 | 15.8 KiB | 427 | 289 |
| ProfileInfo.cpp | D | 03-May-2024 | 32.5 KiB | 1,080 | 861 |
| ProfileInfoLoader.cpp | D | 03-May-2024 | 4.7 KiB | 156 | 103 |
| ProfileInfoLoaderPass.cpp | D | 03-May-2024 | 9.3 KiB | 268 | 198 |
| ProfileVerifierPass.cpp | D | 03-May-2024 | 13.4 KiB | 384 | 295 |
| PtrUseVisitor.cpp | D | 03-May-2024 | 1.1 KiB | 37 | 19 |
| README.txt | D | 03-May-2024 | 1,006 | 31 | 17 |
| RegionInfo.cpp | D | 03-May-2024 | 23.1 KiB | 868 | 604 |
| RegionPass.cpp | D | 03-May-2024 | 8.5 KiB | 276 | 159 |
| RegionPrinter.cpp | D | 03-May-2024 | 6.6 KiB | 219 | 158 |
| ScalarEvolution.cpp | D | 03-May-2024 | 280.5 KiB | 7,130 | 4,813 |
| ScalarEvolutionAliasAnalysis.cpp | D | 03-May-2024 | 6.7 KiB | 174 | 95 |
| ScalarEvolutionExpander.cpp | D | 03-May-2024 | 69.3 KiB | 1,753 | 1,171 |
| ScalarEvolutionNormalization.cpp | D | 03-May-2024 | 8.5 KiB | 224 | 147 |
| SparsePropagation.cpp | D | 03-May-2024 | 12 KiB | 348 | 213 |
| TargetTransformInfo.cpp | D | 03-May-2024 | 18.8 KiB | 583 | 400 |
| Trace.cpp | D | 03-May-2024 | 1.7 KiB | 54 | 27 |
| TypeBasedAliasAnalysis.cpp | D | 03-May-2024 | 17.2 KiB | 512 | 299 |
| ValueTracking.cpp | D | 03-May-2024 | 78.8 KiB | 2,066 | 1,387 |
README.txt
1Analysis Opportunities:
2
3//===---------------------------------------------------------------------===//
4
5In test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll, the
6ScalarEvolution expression for %r is this:
7
8 {1,+,3,+,2}<loop>
9
10Outside the loop, this could be evaluated simply as (%n * %n), however
11ScalarEvolution 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
15In addition to being much more complicated, it involves i65 arithmetic,
16which is very inefficient when expanded into code.
17
18//===---------------------------------------------------------------------===//
19
20In formatValue in test/CodeGen/X86/lsr-delayed-fold.ll,
21
22ScalarEvolution is forming this expression:
23
24((trunc i64 (-1 * %arg5) to i32) + (trunc i64 %arg5 to i32) + (-1 * (trunc i64 undef to i32)))
25
26This could be folded to
27
28(-1 * (trunc i64 undef to i32))
29
30//===---------------------------------------------------------------------===//
31