|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| IPA/ | | 22-Nov-2023 | - | 2,152 | 1,457 |
| AliasAnalysis.cpp | D | 22-Nov-2023 | 15.2 KiB | 443 | 263 |
| AliasAnalysisCounter.cpp | D | 22-Nov-2023 | 6.2 KiB | 174 | 133 |
| AliasAnalysisEvaluator.cpp | D | 22-Nov-2023 | 10.9 KiB | 305 | 245 |
| AliasDebugger.cpp | D | 22-Nov-2023 | 4.8 KiB | 139 | 89 |
| AliasSetTracker.cpp | D | 22-Nov-2023 | 21.6 KiB | 652 | 452 |
| Analysis.cpp | D | 22-Nov-2023 | 3.7 KiB | 106 | 85 |
| BasicAliasAnalysis.cpp | D | 22-Nov-2023 | 47.7 KiB | 1,236 | 755 |
| BlockFrequencyInfo.cpp | D | 22-Nov-2023 | 2.1 KiB | 64 | 35 |
| BranchProbabilityInfo.cpp | D | 22-Nov-2023 | 14.7 KiB | 512 | 328 |
| CFGPrinter.cpp | D | 22-Nov-2023 | 4.9 KiB | 166 | 107 |
| CaptureTracking.cpp | D | 22-Nov-2023 | 6.1 KiB | 149 | 76 |
| ConstantFolding.cpp | D | 22-Nov-2023 | 54.9 KiB | 1,413 | 1,008 |
| DIBuilder.cpp | D | 22-Nov-2023 | 37.8 KiB | 940 | 764 |
| DbgInfoPrinter.cpp | D | 22-Nov-2023 | 6.3 KiB | 225 | 166 |
| DebugInfo.cpp | D | 22-Nov-2023 | 32.6 KiB | 1,144 | 820 |
| DomPrinter.cpp | D | 22-Nov-2023 | 6.7 KiB | 233 | 166 |
| DominanceFrontier.cpp | D | 22-Nov-2023 | 4.3 KiB | 138 | 101 |
| INSTALL.vcxproj.filters | D | 22-Nov-2023 | 657 | 25 | 24 |
| IVUsers.cpp | D | 22-Nov-2023 | 9.5 KiB | 274 | 187 |
| InlineCost.cpp | D | 22-Nov-2023 | 25.3 KiB | 656 | 336 |
| InstCount.cpp | D | 22-Nov-2023 | 2.7 KiB | 88 | 56 |
| InstructionSimplify.cpp | D | 22-Nov-2023 | 98 KiB | 2,576 | 1,720 |
| Interval.cpp | D | 22-Nov-2023 | 2 KiB | 59 | 28 |
| IntervalPartition.cpp | D | 22-Nov-2023 | 4.2 KiB | 115 | 51 |
| LLVMAnalysis.vcxproj | D | 22-Nov-2023 | 25.7 KiB | 386 | 386 |
| LLVMAnalysis.vcxproj.filters | D | 22-Nov-2023 | 2.8 KiB | 90 | 90 |
| LazyValueInfo.cpp | D | 22-Nov-2023 | 37.8 KiB | 1,129 | 784 |
| LibCallAliasAnalysis.cpp | D | 22-Nov-2023 | 5.2 KiB | 138 | 69 |
| LibCallSemantics.cpp | D | 22-Nov-2023 | 2.1 KiB | 64 | 28 |
| Lint.cpp | D | 22-Nov-2023 | 24.9 KiB | 656 | 486 |
| Loads.cpp | D | 22-Nov-2023 | 9.4 KiB | 241 | 130 |
| LoopDependenceAnalysis.cpp | D | 22-Nov-2023 | 12.9 KiB | 365 | 258 |
| LoopInfo.cpp | D | 22-Nov-2023 | 25 KiB | 706 | 413 |
| LoopPass.cpp | D | 22-Nov-2023 | 11.4 KiB | 379 | 230 |
| Makefile | D | 22-Nov-2023 | 441 | 17 | 5 |
| MemDepPrinter.cpp | D | 22-Nov-2023 | 6.3 KiB | 193 | 150 |
| MemoryBuiltins.cpp | D | 22-Nov-2023 | 7.6 KiB | 214 | 121 |
| MemoryDependenceAnalysis.cpp | D | 22-Nov-2023 | 60.2 KiB | 1,486 | 849 |
| ModuleDebugInfoPrinter.cpp | D | 22-Nov-2023 | 2.6 KiB | 88 | 60 |
| NoAliasAnalysis.cpp | D | 22-Nov-2023 | 3.1 KiB | 89 | 52 |
| PACKAGE.vcxproj.filters | D | 22-Nov-2023 | 657 | 25 | 24 |
| PHITransAddr.cpp | D | 22-Nov-2023 | 16 KiB | 443 | 274 |
| PathNumbering.cpp | D | 22-Nov-2023 | 16.2 KiB | 523 | 328 |
| PathProfileInfo.cpp | D | 22-Nov-2023 | 13.9 KiB | 435 | 275 |
| PathProfileVerifier.cpp | D | 22-Nov-2023 | 6.9 KiB | 208 | 141 |
| PostDominators.cpp | D | 22-Nov-2023 | 1.5 KiB | 52 | 26 |
| ProfileEstimatorPass.cpp | D | 22-Nov-2023 | 15.8 KiB | 427 | 289 |
| ProfileInfo.cpp | D | 22-Nov-2023 | 32.9 KiB | 1,106 | 880 |
| ProfileInfoLoader.cpp | D | 22-Nov-2023 | 4.8 KiB | 158 | 105 |
| ProfileInfoLoaderPass.cpp | D | 22-Nov-2023 | 9.3 KiB | 268 | 198 |
| ProfileVerifierPass.cpp | D | 22-Nov-2023 | 13.4 KiB | 383 | 294 |
| README.txt | D | 22-Nov-2023 | 1,006 | 31 | 17 |
| RegionInfo.cpp | D | 22-Nov-2023 | 22.7 KiB | 852 | 589 |
| RegionPass.cpp | D | 22-Nov-2023 | 8.5 KiB | 276 | 159 |
| RegionPrinter.cpp | D | 22-Nov-2023 | 6.7 KiB | 221 | 160 |
| ScalarEvolution.cpp | D | 22-Nov-2023 | 266.2 KiB | 6,745 | 4,574 |
| ScalarEvolutionAliasAnalysis.cpp | D | 22-Nov-2023 | 6.7 KiB | 174 | 95 |
| ScalarEvolutionExpander.cpp | D | 22-Nov-2023 | 61.7 KiB | 1,579 | 1,057 |
| ScalarEvolutionNormalization.cpp | D | 22-Nov-2023 | 8.6 KiB | 226 | 149 |
| SparsePropagation.cpp | D | 22-Nov-2023 | 11.9 KiB | 348 | 212 |
| Trace.cpp | D | 22-Nov-2023 | 1.6 KiB | 52 | 25 |
| TypeBasedAliasAnalysis.cpp | D | 22-Nov-2023 | 10.2 KiB | 301 | 161 |
| ValueTracking.cpp | D | 22-Nov-2023 | 70.3 KiB | 1,796 | 1,192 |
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