Name | Date | Size | |
---|---|---|---|
.. | 07-Jan-2016 | 4 KiB | |
AliasAnalysis.cpp | 07-Jan-2016 | 20.3 KiB | |
AliasAnalysisCounter.cpp | 07-Jan-2016 | 6.2 KiB | |
AliasAnalysisEvaluator.cpp | 07-Jan-2016 | 13.6 KiB | |
AliasDebugger.cpp | 07-Jan-2016 | 4.8 KiB | |
AliasSetTracker.cpp | 07-Jan-2016 | 22.1 KiB | |
Analysis.cpp | 07-Jan-2016 | 4.1 KiB | |
Android.mk | 07-Jan-2016 | 2.1 KiB | |
AssumptionCache.cpp | 07-Jan-2016 | 4.9 KiB | |
BasicAliasAnalysis.cpp | 07-Jan-2016 | 63.3 KiB | |
BlockFrequencyInfo.cpp | 07-Jan-2016 | 5.5 KiB | |
BlockFrequencyInfoImpl.cpp | 07-Jan-2016 | 23.5 KiB | |
BranchProbabilityInfo.cpp | 07-Jan-2016 | 21.5 KiB | |
CaptureTracking.cpp | 07-Jan-2016 | 10.1 KiB | |
CFG.cpp | 07-Jan-2016 | 8.5 KiB | |
CFGPrinter.cpp | 07-Jan-2016 | 4.9 KiB | |
CFLAliasAnalysis.cpp | 07-Jan-2016 | 39.1 KiB | |
CGSCCPassManager.cpp | 07-Jan-2016 | 2.5 KiB | |
CMakeLists.txt | 07-Jan-2016 | 1.5 KiB | |
CodeMetrics.cpp | 07-Jan-2016 | 6.3 KiB | |
ConstantFolding.cpp | 07-Jan-2016 | 67.2 KiB | |
CostModel.cpp | 07-Jan-2016 | 17.7 KiB | |
Delinearization.cpp | 07-Jan-2016 | 4.9 KiB | |
DependenceAnalysis.cpp | 07-Jan-2016 | 145.2 KiB | |
DivergenceAnalysis.cpp | 07-Jan-2016 | 11.9 KiB | |
DominanceFrontier.cpp | 07-Jan-2016 | 1.6 KiB | |
DomPrinter.cpp | 07-Jan-2016 | 7.9 KiB | |
InstCount.cpp | 07-Jan-2016 | 2.7 KiB | |
InstructionSimplify.cpp | 07-Jan-2016 | 146.1 KiB | |
Interval.cpp | 07-Jan-2016 | 2 KiB | |
IntervalPartition.cpp | 07-Jan-2016 | 4.2 KiB | |
IPA/ | 07-Jan-2016 | 4 KiB | |
IVUsers.cpp | 07-Jan-2016 | 13 KiB | |
LazyCallGraph.cpp | 07-Jan-2016 | 26.1 KiB | |
LazyValueInfo.cpp | 07-Jan-2016 | 44.1 KiB | |
LibCallAliasAnalysis.cpp | 07-Jan-2016 | 5.4 KiB | |
LibCallSemantics.cpp | 07-Jan-2016 | 3.4 KiB | |
Lint.cpp | 07-Jan-2016 | 35.3 KiB | |
LLVMBuild.txt | 07-Jan-2016 | 735 | |
Loads.cpp | 07-Jan-2016 | 9.8 KiB | |
LoopAccessAnalysis.cpp | 07-Jan-2016 | 50.4 KiB | |
LoopInfo.cpp | 07-Jan-2016 | 25.6 KiB | |
LoopPass.cpp | 07-Jan-2016 | 12.4 KiB | |
Makefile | 07-Jan-2016 | 441 | |
MemDepPrinter.cpp | 07-Jan-2016 | 5.2 KiB | |
MemDerefPrinter.cpp | 07-Jan-2016 | 2.1 KiB | |
MemoryBuiltins.cpp | 07-Jan-2016 | 28 KiB | |
MemoryDependenceAnalysis.cpp | 07-Jan-2016 | 68.5 KiB | |
ModuleDebugInfoPrinter.cpp | 07-Jan-2016 | 3.9 KiB | |
NoAliasAnalysis.cpp | 07-Jan-2016 | 3.4 KiB | |
PHITransAddr.cpp | 07-Jan-2016 | 15.9 KiB | |
PostDominators.cpp | 07-Jan-2016 | 1.5 KiB | |
PtrUseVisitor.cpp | 07-Jan-2016 | 1 KiB | |
README.txt | 07-Jan-2016 | 1,006 | |
RegionInfo.cpp | 07-Jan-2016 | 4.7 KiB | |
RegionPass.cpp | 07-Jan-2016 | 8.6 KiB | |
RegionPrinter.cpp | 07-Jan-2016 | 6.8 KiB | |
ScalarEvolution.cpp | 07-Jan-2016 | 324.9 KiB | |
ScalarEvolutionAliasAnalysis.cpp | 07-Jan-2016 | 6.8 KiB | |
ScalarEvolutionExpander.cpp | 07-Jan-2016 | 75.9 KiB | |
ScalarEvolutionNormalization.cpp | 07-Jan-2016 | 10.1 KiB | |
ScopedNoAliasAA.cpp | 07-Jan-2016 | 8.7 KiB | |
SparsePropagation.cpp | 07-Jan-2016 | 11.9 KiB | |
StratifiedSets.h | 07-Jan-2016 | 22 KiB | |
TargetLibraryInfo.cpp | 07-Jan-2016 | 20.5 KiB | |
TargetTransformInfo.cpp | 07-Jan-2016 | 10.9 KiB | |
Trace.cpp | 07-Jan-2016 | 1.7 KiB | |
TypeBasedAliasAnalysis.cpp | 07-Jan-2016 | 22.7 KiB | |
ValueTracking.cpp | 07-Jan-2016 | 118.6 KiB |
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