class VPlanSlp
Declaration
class VPlanSlp { /* full declaration omitted */ };
Description
Class that maps (parts of) an existing VPlan to trees of combined VPInstructions.
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1681
Method Overview
- public VPlanSlp(llvm::VPInterleavedAccessInfo & IAI, llvm::VPBasicBlock & BB)
- public llvm::VPInstruction * buildGraph(ArrayRef<llvm::VPValue *> Operands)
- public unsigned int getWidestBundleBits() const
- public bool isCompletelySLP() const
- public ~VPlanSlp()
Methods
¶VPlanSlp(llvm::VPInterleavedAccessInfo& IAI,
llvm::VPBasicBlock& BB)
VPlanSlp(llvm::VPInterleavedAccessInfo& IAI,
llvm::VPBasicBlock& BB)
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1758
Parameters
¶llvm::VPInstruction* buildGraph(
ArrayRef<llvm::VPValue*> Operands)
llvm::VPInstruction* buildGraph(
ArrayRef<llvm::VPValue*> Operands)
Description
Tries to build an SLP tree rooted at \p Operands and returns a VPInstruction combining \p Operands, if they can be combined.
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1767
Parameters
- ArrayRef<llvm::VPValue*> Operands
¶unsigned int getWidestBundleBits() const
unsigned int getWidestBundleBits() const
Description
Return the width of the widest combined bundle in bits.
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1770
¶bool isCompletelySLP() const
bool isCompletelySLP() const
Description
Return true if all visited instruction can be combined.
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1773
¶~VPlanSlp()
~VPlanSlp()
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1760