class VPWidenSelectRecipe

Declaration

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

Description

A recipe for widening select instructions.

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

Inherits from: VPRecipeBase, VPValue

Member Variables

private bool InvariantCond
Is the condition of the select loop invariant?

Inherited from VPValue:

protected UnderlyingVal
protected Def

Method Overview

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

Inherited from VPValue:

Inherited from VPRecipeBase:

Inherited from VPUser:

Inherited from VPDef:

Methods

template <typename IterT>
VPWidenSelectRecipe(
    llvm::SelectInst& I,
    iterator_range<IterT> Operands,
    bool InvariantCond)

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

Templates

IterT

Parameters

llvm::SelectInst& I
iterator_range<IterT> Operands
bool InvariantCond

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:990

Parameters

const llvm::VPDef* D

void execute(llvm::VPTransformState& State)

Description

Produce a widened version of the select instruction.

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

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:999

Parameters

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

~VPWidenSelectRecipe()

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