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
- public VPWidenIntOrFpInductionRecipe(llvm::PHINode * IV, llvm::TruncInst * Trunc = nullptr)
- public static inline bool classof(const llvm::VPRecipeBase * V)
- public void execute(llvm::VPTransformState & State)
- public void print(llvm::raw_ostream & O, const llvm::Twine & Indent) const
- public ~VPWidenIntOrFpInductionRecipe()
Inherited from VPRecipeBase:
- public eraseFromParent
- public execute
- public getParent
- public getParent
- public getVPRecipeID
- public insertAfter
- public insertBefore
- public moveAfter
- public print
- public removeFromParent
Methods
¶VPWidenIntOrFpInductionRecipe(
llvm::PHINode* IV,
llvm::TruncInst* Trunc = nullptr)
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)
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)
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
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()
~VPWidenIntOrFpInductionRecipe()
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:802