class VPWidenRecipe

Declaration

class VPWidenRecipe : public VPRecipeBase, public VPValue { /* full declaration omitted */ };

Description

VPWidenRecipe is a recipe for producing a copy of vector type its ingredient. This recipe covers most of the traditional vectorization cases where each ingredient transforms into a vectorized version of itself.

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

Inherits from: VPRecipeBase, VPValue

Member Variables

Inherited from VPValue:

protected UnderlyingVal
protected Def

Method Overview

  • public template <typename IterT> VPWidenRecipe(llvm::Instruction & I, iterator_range<IterT> Operands)
  • public static inline bool classof(const llvm::VPDef * D)
  • public static inline bool classof(const llvm::VPValue * V)
  • public void execute(llvm::VPTransformState & State)
  • public void print(llvm::raw_ostream & O, const llvm::Twine & Indent, llvm::VPSlotTracker & SlotTracker) const
  • public ~VPWidenRecipe()

Inherited from VPValue:

Inherited from VPRecipeBase:

Inherited from VPUser:

Inherited from VPDef:

Methods

template <typename IterT>
VPWidenRecipe(llvm::Instruction& I,
              iterator_range<IterT> Operands)

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

Templates

IterT

Parameters

llvm::Instruction& I
iterator_range<IterT> Operands

static inline bool classof(const llvm::VPDef* D)

Description

Method to support type inquiry through isa, cast, and dyn_cast.

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

Parameters

const llvm::VPDef* D

static inline bool classof(const llvm::VPValue* V)

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

Parameters

const llvm::VPValue* V

void execute(llvm::VPTransformState& State)

Description

Produce widened copies of all Ingredients.

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

Parameters

llvm::VPTransformState& State

void print(llvm::raw_ostream& O,
           const llvm::Twine& Indent,
           llvm::VPSlotTracker& SlotTracker) const

Description

Print the recipe.

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

Parameters

llvm::raw_ostream& O
const llvm::Twine& Indent
llvm::VPSlotTracker& SlotTracker

~VPWidenRecipe()

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