Tex Riddell 7c9e487afd Implement IsHelperLane() (#3382) 4 vuotta sitten
..
IPA 4391420da4 Integration from OS repo (#2541) 5 vuotta sitten
AliasAnalysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
AliasAnalysisCounter.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
AliasAnalysisEvaluator.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
AliasDebugger.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
AliasSetTracker.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
Analysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
AssumptionCache.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
BasicAliasAnalysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
BlockFrequencyInfo.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
BlockFrequencyInfoImpl.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
BranchProbabilityInfo.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
CFG.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
CFGPrinter.cpp bbe8831fe1 fix dot-cfg so it doesn't act like dot-cfg-only (#556) 8 vuotta sitten
CFLAliasAnalysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
CGSCCPassManager.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
CMakeLists.txt 2ac188b4ce Minor refactoring to reduce size of dxilconv.dll (#3240) 4 vuotta sitten
CaptureTracking.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
CodeMetrics.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
ConstantFolding.cpp b9f2c78314 [linux-port] Evade unused in LLVM code (#1327) 7 vuotta sitten
CostModel.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
Delinearization.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
DependenceAnalysis.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
DivergenceAnalysis.cpp e5c0e5ffaa Merge DivergenceAnalysis from llvm3.8. (#528) 8 vuotta sitten
DomPrinter.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
DominanceFrontier.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
DxilConstantFolding.cpp 7c9e487afd Implement IsHelperLane() (#3382) 4 vuotta sitten
DxilConstantFoldingExt.cpp 022eb5717f Add hooks for constant folding extensions (#209) 8 vuotta sitten
DxilSimplify.cpp d8dec0efd7 Fixed some cases where O0 fails compilation (#3205) 4 vuotta sitten
DxilValueCache.cpp 91df0242a3 Not assuming callee being a function in DVC (#3206) 4 vuotta sitten
IVUsers.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
InstCount.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
InstructionSimplify.cpp d8dec0efd7 Fixed some cases where O0 fails compilation (#3205) 4 vuotta sitten
Interval.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
IntervalPartition.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
IteratedDominanceFrontier.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
LLVMBuild.txt f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
LazyCallGraph.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
LazyValueInfo.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
LibCallAliasAnalysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
LibCallSemantics.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
Lint.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
Loads.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
LoopAccessAnalysis.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
LoopInfo.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
LoopPass.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
MemDepPrinter.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
MemDerefPrinter.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
MemoryBuiltins.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
MemoryDependenceAnalysis.cpp 08f3100f25 Increase scan limit for DSE, add option (#2725) 5 vuotta sitten
MemoryLocation.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
ModuleDebugInfoPrinter.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
NoAliasAnalysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
PHITransAddr.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
PostDominators.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
PtrUseVisitor.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
README.txt f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
ReducibilityAnalysis.cpp fbe1371aae Fix Validation for RDAT and other issues with Subobjects (#1706) 6 vuotta sitten
RegionPass.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
ScalarEvolution.cpp 227c8e6f5a Added instructions to preserve intermediate values of computations. (#2721) 5 vuotta sitten
ScalarEvolutionAliasAnalysis.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
ScalarEvolutionExpander.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
ScalarEvolutionNormalization.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
ScopedNoAliasAA.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
SparsePropagation.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
StratifiedSets.h f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
TargetLibraryInfo.cpp 4aa0ac6c50 [linux-port] Fix GCC build on alpine Linux (and others) (#1378) 7 vuotta sitten
TargetTransformInfo.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
Trace.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten
TypeBasedAliasAnalysis.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
ValueTracking.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
VectorUtils.cpp 2ac188b4ce Minor refactoring to reduce size of dxilconv.dll (#3240) 4 vuotta sitten
VectorUtils2.cpp 2ac188b4ce Minor refactoring to reduce size of dxilconv.dll (#3240) 4 vuotta sitten
regioninfo.cpp d5bb3089cf Add support for custom allocators (#390) 8 vuotta sitten
regionprinter.cpp f805233b49 Revert license text in banner comments to original llvm verbage (#33) 8 vuotta sitten

README.txt

Analysis Opportunities:

//===---------------------------------------------------------------------===//

In test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll, the
ScalarEvolution expression for %r is this:

{1,+,3,+,2}

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))

//===---------------------------------------------------------------------===//