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:
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:
- public addUser
- public dump
- public getDef
- public getDef
- public getLiveInIRValue
- public getLiveInIRValue
- public getNumUsers
- public getUnderlyingValue
- public getUnderlyingValue
- public getVPValueID
- public hasMoreThanOneUniqueUser
- public print
- public printAsOperand
- public removeUser
- public replaceAllUsesWith
- protected setUnderlyingValue
- public user_begin
- public user_begin
- public user_end
- public user_end
- public users
- public users
Inherited from VPRecipeBase:
- public classof
- public classof
- public eraseFromParent
- public execute
- public getParent
- public getParent
- public getUnderlyingInstr
- public getUnderlyingInstr
- public insertAfter
- public insertBefore
- public insertBefore
- public isPhi
- public mayHaveSideEffects
- public mayReadFromMemory
- public mayReadOrWriteMemory
- public mayWriteToMemory
- public moveAfter
- public moveBefore
- public removeFromParent
Inherited from VPUser:
- public addOperand
- public classof
- public getNumOperands
- public getOperand
- public getVPUserID
- public onlyFirstLaneUsed
- public op_begin
- public op_begin
- public op_end
- public op_end
- public operands
- public operands
- protected printOperands
- public removeLastOperand
- public setOperand
- public usesScalars
Inherited from VPDef:
- public definedValues
- public definedValues
- public dump
- public getNumDefinedValues
- public getVPDefID
- public getVPSingleValue
- public getVPSingleValue
- public getVPValue
- public getVPValue
- public print
Methods
¶template <typename IterT>
VPWidenRecipe(llvm::Instruction& I,
iterator_range<IterT> Operands)
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)
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)
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)
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
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()
~VPWidenRecipe()
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:927