1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Transforms/Vectorize
Florian Hahn 45b8bf3b33 [VPlan] Use consecutive numbers to print VPValues instead of addresses.
Currently when printing VPValues we use the object address, which makes
it hard to distinguish VPValues as they usually are large numbers with
varying distance between them.

This patch adds a simple slot tracker, similar to the ModuleSlotTracker
used for IR values. In order to dump a VPValue or anything containing a
VPValue, a slot tracker for the enclosing VPlan needs to be created. The
existing VPlanPrinter can take care of that for the existing code. We
assign consecutive numbers to each VPValue we encounter in a reverse
post order traversal of the VPlan.

Reviewers: rengolin, hsaito, fhahn, Ayal, dorit, gilr

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D73078
2020-03-05 14:55:15 +00:00
..
CMakeLists.txt [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00
LLVMBuild.txt
LoadStoreVectorizer.cpp [IR] Lazily number instructions for local dominance queries 2020-02-18 14:44:24 -08:00
LoopVectorizationLegality.cpp [LoopVectorizer] Change types of lists from pointers to references. NFC 2020-03-02 15:04:41 +00:00
LoopVectorizationPlanner.h [LV] Do not try to sink dead instructions. 2020-01-28 08:28:03 -08:00
LoopVectorize.cpp [VPlan] Use consecutive numbers to print VPValues instead of addresses. 2020-03-05 14:55:15 +00:00
SLPVectorizer.cpp [SLP][NFC] Assert that tree entry operands completed when scheduler looks for dependencies. 2020-02-28 10:34:48 -08:00
VectorCombine.cpp [VectorCombine] Fix assert on compare extract index 2020-02-28 10:37:08 -08:00
Vectorize.cpp [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00
VPlan.cpp [VPlan] Use consecutive numbers to print VPValues instead of addresses. 2020-03-05 14:55:15 +00:00
VPlan.h [VPlan] Use consecutive numbers to print VPValues instead of addresses. 2020-03-05 14:55:15 +00:00
VPlanDominatorTree.h
VPlanHCFGBuilder.cpp Hide two unused debugging methods, NFCI. 2019-03-01 17:15:21 +00:00
VPlanHCFGBuilder.h
VPlanLoopInfo.h
VPlanPredicator.cpp Update files that were mistakenly added with the old file header to the 2019-02-11 08:07:38 +00:00
VPlanPredicator.h Update files that were mistakenly added with the old file header to the 2019-02-11 08:07:38 +00:00
VPlanSLP.cpp [VPlanSLP] Don't dereference a cast_or_null<VPInstruction> result. NFCI. 2019-09-16 11:22:44 +00:00
VPlanTransforms.cpp [LoopVectorizer] Change types of lists from pointers to references. NFC 2020-03-02 15:04:41 +00:00
VPlanTransforms.h [LoopVectorizer] Change types of lists from pointers to references. NFC 2020-03-02 15:04:41 +00:00
VPlanValue.h [VPlan] Use consecutive numbers to print VPValues instead of addresses. 2020-03-05 14:55:15 +00:00
VPlanVerifier.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
VPlanVerifier.h
VPRecipeBuilder.h [LV] Apply sink-after & interleave-groups as VPlan transformations (NFCI) 2019-11-09 20:52:25 +02:00