class VPWidenIntOrFpInductionRecipe

Declaration

class VPWidenIntOrFpInductionRecipe : public VPRecipeBase { /* full declaration omitted */ };

Description

A recipe for handling phi nodes of integer and floating-point inductions, producing their vector and scalar values.

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

Inherits from: VPRecipeBase

Method Overview

Inherited from VPRecipeBase:

Methods

VPWidenIntOrFpInductionRecipe(
    llvm::PHINode* IV,
    llvm::TruncInst* Trunc = nullptr)

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

Parameters

llvm::PHINode* IV
llvm::TruncInst* Trunc = nullptr

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

Description

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

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

Parameters

const llvm::VPRecipeBase* V

void execute(llvm::VPTransformState& State)

Description

Generate the vectorized and scalarized versions of the phi node as needed by their users.

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

Parameters

llvm::VPTransformState& State

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

Description

Print the recipe.

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

Parameters

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

~VPWidenIntOrFpInductionRecipe()

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