1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/include/llvm/Analysis
Jonas Paulsson 6ae041f182 [LoopStrenghtReduce] Refactoring and addition of a new target cost function.
Refactored so that a LSRUse owns its fixups, as oppsed to letting the
LSRInstance own them. This makes it easier to rate formulas for
LSRUses, since the fixups are available directly. The Offsets vector
has been removed since it was no longer necessary.

New target hook isFoldableMemAccessOffset(), which is used during formula
rating.

For SystemZ, this is useful to express that loads and stores with
float or vector types with a big/negative offset should be avoided in
loops. Without this, LSR will generate a lot of negative offsets that
would require extra instructions for loading the address.

Updated tests:
test/CodeGen/SystemZ/loop-01.ll

Reviewed by: Quentin Colombet and Ulrich Weigand.
https://reviews.llvm.org/D19152

llvm-svn: 278927
2016-08-17 13:24:19 +00:00
..
AliasAnalysis.h
AliasAnalysisEvaluator.h
AliasSetTracker.h
AssumptionCache.h
BasicAliasAnalysis.h
BlockFrequencyInfo.h
BlockFrequencyInfoImpl.h
BranchProbabilityInfo.h
CallGraph.h
CallGraphSCCPass.h
CallPrinter.h
CaptureTracking.h
CFG.h
CFGPrinter.h
CFLAndersAliasAnalysis.h
CFLSteensAliasAnalysis.h
CGSCCPassManager.h
CodeMetrics.h
ConstantFolding.h
DemandedBits.h
DependenceAnalysis.h
DivergenceAnalysis.h
DominanceFrontier.h
DominanceFrontierImpl.h
DomPrinter.h
DOTGraphTraitsPass.h
EHPersonalities.h
GlobalsModRef.h
IndirectCallPromotionAnalysis.h
IndirectCallSiteVisitor.h
InlineCost.h
InstructionSimplify.h
Interval.h
IntervalIterator.h
IntervalPartition.h
IteratedDominanceFrontier.h
IVUsers.h
LazyBlockFrequencyInfo.h
LazyBranchProbabilityInfo.h
LazyCallGraph.h
LazyValueInfo.h
Lint.h
Loads.h
LoopAccessAnalysis.h
LoopInfo.h
LoopInfoImpl.h
LoopIterator.h
LoopPass.h
LoopPassManager.h
LoopUnrollAnalyzer.h
MemoryBuiltins.h
MemoryDependenceAnalysis.h
MemoryLocation.h
ModuleSummaryAnalysis.h
ObjCARCAliasAnalysis.h
ObjCARCAnalysisUtils.h
ObjCARCInstKind.h
OptimizationDiagnosticInfo.h
OrderedBasicBlock.h
Passes.h
PHITransAddr.h
PostDominators.h
ProfileSummaryInfo.h
PtrUseVisitor.h
RegionInfo.h
RegionInfoImpl.h
RegionIterator.h
RegionPass.h
RegionPrinter.h
ScalarEvolution.h
ScalarEvolutionAliasAnalysis.h
ScalarEvolutionExpander.h
ScalarEvolutionExpressions.h
ScalarEvolutionNormalization.h
ScopedNoAliasAA.h
SparsePropagation.h
TargetFolder.h
TargetLibraryInfo.def
TargetLibraryInfo.h
TargetTransformInfo.h
TargetTransformInfoImpl.h
Trace.h
TypeBasedAliasAnalysis.h
TypeMetadataUtils.h
ValueTracking.h
VectorUtils.h