llvm-6502/include/llvm/Transforms/Utils
Hal Finkel 75277b9f70 [LoopVectorize] Ignore @llvm.assume for cost estimates and legality
A few minor changes to prevent @llvm.assume from interfering with loop
vectorization. First, treat @llvm.assume like the lifetime intrinsics, which
are scalarized (but don't otherwise interfere with the legality checking).
Second, ignore the cost of ephemeral instructions in the loop (these will go
away anyway during CodeGen).

Alignment assumptions and other uses of @llvm.assume can often end up inside of
loops that should be vectorized (this is not uncommon for assumptions generated
by __attribute__((align_value(n))), for example).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219741 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-14 22:59:49 +00:00
..
ASanStackFrameLayout.h
BasicBlockUtils.h Give SplitBlockAndInsertIfThen the ability to update a domtree. 2014-07-15 04:40:27 +00:00
BuildLibCalls.h Reformat blank lines. 2014-05-19 04:43:26 +00:00
BypassSlowDivision.h
Cloning.h Add an Assumption-Tracking Pass 2014-09-07 12:44:26 +00:00
CmpInstAnalysis.h Whitespace. 2014-05-19 04:43:03 +00:00
CodeExtractor.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
CtorUtils.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
GlobalStatus.h
IntegerDivision.h Whitespace. 2014-05-19 04:43:03 +00:00
Local.h [SimplifyCFG] threshold for folding branches with common destination 2014-09-30 22:23:38 +00:00
LoopUtils.h Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.) 2014-09-07 18:57:58 +00:00
ModuleUtils.h Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size. 2014-08-21 05:55:13 +00:00
PromoteMemToReg.h Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.) 2014-09-07 18:57:58 +00:00
SimplifyIndVar.h Reformat blank lines. 2014-05-19 04:43:26 +00:00
SimplifyLibCalls.h Optimize away fabs() calls when input is squared (known positive). 2014-10-14 20:43:11 +00:00
SSAUpdater.h Reformat blank lines. 2014-05-19 04:43:26 +00:00
SSAUpdaterImpl.h [Modules] Make Support/Debug.h modular. This requires it to not change 2014-04-21 22:55:11 +00:00
UnifyFunctionExitNodes.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
UnrollLoop.h Add an Assumption-Tracking Pass 2014-09-07 12:44:26 +00:00
ValueMapper.h Reformat blank lines. 2014-05-19 04:43:26 +00:00
VectorUtils.h [LoopVectorize] Ignore @llvm.assume for cost estimates and legality 2014-10-14 22:59:49 +00:00