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

Methods

VPlanSlp(llvm::VPInterleavedAccessInfo& IAI,
         llvm::VPBasicBlock& BB)

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1758

Parameters

llvm::VPInterleavedAccessInfo& IAI
llvm::VPBasicBlock& BB

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

Description

Return the width of the widest combined bundle in bits.

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1770

bool isCompletelySLP() const

Description

Return true if all visited instruction can be combined.

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1773

~VPlanSlp()

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:1760