LLVM  14.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. More...
 
unsigned getWidestBundleBits () const
 Return the width of the widest combined bundle in bits. More...
 
bool isCompletelySLP () const
 Return true if all visited instruction can be combined. More...
 

Detailed Description

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

Definition at line 2503 of file VPlan.h.

Constructor & Destructor Documentation

◆ VPlanSlp()

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

Definition at line 2581 of file VPlan.h.

References BB.

◆ ~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 2590 of file VPlan.h.

◆ isCompletelySLP()

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

Return true if all visited instruction can be combined.

Definition at line 2593 of file VPlan.h.


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