1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib/Transforms/Vectorize
David Sherwood 6c0762e51e [NFC] Make remaining cost functions in LoopVectorize.cpp use InstructionCost
A previous patch has already changed getInstructionCost to return
an InstructionCost type. This patch changes the other various
getXXXCost functions to return an InstructionCost too. This is a
non-functional change - I've added a few asserts that the costs
are valid in places where we're selecting between vector call
and intrinsic costs. However, since we don't yet return invalid
costs from any of the TTI implementations these asserts should
not fire.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Differential Revision: https://reviews.llvm.org/D94065
2021-01-19 09:08:40 +00:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
LoadStoreVectorizer.cpp [CSSPGO] IR intrinsic for pseudo-probe block instrumentation 2020-11-20 10:39:24 -08:00
LoopVectorizationLegality.cpp [LV] Relax assumption that LCSSA implies single entry 2021-01-12 12:34:52 -08:00
LoopVectorizationPlanner.h [LV] Simplify lambda in all_of to directly return hasVF() result. (NFC) 2021-01-05 10:34:06 +00:00
LoopVectorize.cpp [NFC] Make remaining cost functions in LoopVectorize.cpp use InstructionCost 2021-01-19 09:08:40 +00:00
SLPVectorizer.cpp [SLP] match maxnum/minnum intrinsics as FP reduction ops 2021-01-18 17:37:16 -05:00
VectorCombine.cpp [NFC]Migrate VectorCombine.cpp to use InstructionCost 2021-01-18 13:37:21 +00:00
Vectorize.cpp
VPlan.cpp [llvm] Construct SmallVector with iterator ranges (NFC) 2021-01-16 09:40:53 -08:00
VPlan.h [VPlan] Unify value/recipe printing after VPDef transition. 2021-01-11 14:42:46 +00:00
VPlanDominatorTree.h Revert multiple patches based on "Introduce CfgTraits abstraction" 2020-10-27 20:33:30 +01:00
VPlanHCFGBuilder.cpp
VPlanHCFGBuilder.h
VPlanLoopInfo.h
VPlanPredicator.cpp [llvm] Drop unnecessary make_range (NFC) 2021-01-09 09:25:00 -08:00
VPlanPredicator.h
VPlanSLP.cpp [VPlan] Unify value/recipe printing after VPDef transition. 2021-01-11 14:42:46 +00:00
VPlanTransforms.cpp [VPlan] Keep start value in VPWidenIntOrFpInductionRecipe (NFC). 2021-01-06 11:47:33 +00:00
VPlanTransforms.h
VPlanValue.h [VPlan] Unify value/recipe printing after VPDef transition. 2021-01-11 14:42:46 +00:00
VPlanVerifier.cpp Use llvm::is_contained where appropriate (NFC) 2020-07-27 10:20:44 -07:00
VPlanVerifier.h
VPRecipeBuilder.h [VPlan] Keep start value in VPWidenIntOrFpInductionRecipe (NFC). 2021-01-06 11:47:33 +00:00