class VPSlotTracker
Declaration
class VPSlotTracker { /* full declaration omitted */ };
Description
This class can be used to assign consecutive numbers to all VPValues in a VPlan and allows querying the numbering for printing, similar to the ModuleSlotTracker for IR values.
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:438
Member Variables
- private DenseMap<const llvm::VPValue*, unsigned int> Slots
- private unsigned int NextSlot = 0
Method Overview
- public VPSlotTracker(const llvm::VPlan * Plan = nullptr)
- private void assignSlot(const llvm::VPValue * V)
- private void assignSlots(const llvm::VPlan & Plan)
- public unsigned int getSlot(const llvm::VPValue * V) const
Methods
¶VPSlotTracker(const llvm::VPlan* Plan = nullptr)
VPSlotTracker(const llvm::VPlan* Plan = nullptr)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:446
Parameters
- const llvm::VPlan* Plan = nullptr
¶void assignSlot(const llvm::VPValue* V)
void assignSlot(const llvm::VPValue* V)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:442
Parameters
- const llvm::VPValue* V
¶void assignSlots(const llvm::VPlan& Plan)
void assignSlots(const llvm::VPlan& Plan)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:443
Parameters
- const llvm::VPlan& Plan
¶unsigned int getSlot(const llvm::VPValue* V) const
unsigned int getSlot(const llvm::VPValue* V) const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:451
Parameters
- const llvm::VPValue* V