LLVM 20.0.0git
Classes | Public Member Functions | List of all members
llvm::VPlanSlp Class Reference

Class that maps (parts of) an existing VPlan to trees of combined VPInstructions. More...

#include "Transforms/Vectorize/VPlan.h"

Public Member Functions

 VPlanSlp (VPInterleavedAccessInfo &IAI, VPBasicBlock &BB)
 
 ~VPlanSlp ()=default
 
VPInstructionbuildGraph (ArrayRef< VPValue * > Operands)
 Tries to build an SLP tree rooted at Operands and returns a VPInstruction combining Operands, if they can be combined.
 
unsigned getWidestBundleBits () const
 Return the width of the widest combined bundle in bits.
 
bool isCompletelySLP () const
 Return true if all visited instruction can be combined.
 

Detailed Description

Class that maps (parts of) an existing VPlan to trees of combined VPInstructions.

Definition at line 3708 of file VPlan.h.

Constructor & Destructor Documentation

◆ VPlanSlp()

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

Definition at line 3786 of file VPlan.h.

◆ ~VPlanSlp()

llvm::VPlanSlp::~VPlanSlp ( )
default

Member Function Documentation

◆ buildGraph()

VPInstruction * VPlanSlp::buildGraph ( ArrayRef< VPValue * >  Operands)

◆ getWidestBundleBits()

unsigned llvm::VPlanSlp::getWidestBundleBits ( ) const
inline

Return the width of the widest combined bundle in bits.

Definition at line 3795 of file VPlan.h.

◆ isCompletelySLP()

bool llvm::VPlanSlp::isCompletelySLP ( ) const
inline

Return true if all visited instruction can be combined.

Definition at line 3798 of file VPlan.h.


The documentation for this class was generated from the following files: