LLVM: llvm::VPPhiAccessors Class Reference (original) (raw)
Helper type to provide functions to access incoming values and blocks for phi-like recipes. More...
#include "[Transforms/Vectorize/VPlan.h](VPlan%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | const_incoming_blocks_range |
| Public Member Functions | |
|---|---|
| virtual | ~VPPhiAccessors ()=default |
| VPValue * | getIncomingValue (unsigned Idx) const |
| Returns the incoming VPValue with index Idx. | |
| const VPBasicBlock * | getIncomingBlock (unsigned Idx) const |
| Returns the incoming block with index Idx. | |
| virtual unsigned | getNumIncoming () const |
| Returns the number of incoming values, also number of incoming blocks. | |
| VPUser::const_operand_range | incoming_values () const |
| Returns an interator range over the incoming values. | |
| const_incoming_blocks_range | incoming_blocks () const |
| Returns an iterator range over the incoming blocks. | |
| detail::zippy< llvm::detail::zip_first, VPUser::const_operand_range, const_incoming_blocks_range > | incoming_values_and_blocks () const |
| Returns an iterator range over pairs of incoming values and corresponding incoming blocks. | |
| void | removeIncomingValueFor (VPBlockBase *IncomingBlock) const |
| Removes the incoming value for IncomingBlock, which must be a predecessor. | |
| void | printPhiOperands (raw_ostream &O, VPSlotTracker &SlotTracker) const |
| Print the recipe. |
Helper type to provide functions to access incoming values and blocks for phi-like recipes.
Definition at line 1320 of file VPlan.h.
◆ const_incoming_blocks_range
Initial value:
VPBasicBlock serves as the leaf of the Hierarchical Control-Flow Graph.
A range adaptor for a pair of iterators.
Definition at line 1347 of file VPlan.h.
| virtual llvm::VPPhiAccessors::~VPPhiAccessors ( ) | virtualdefault |
|---|
◆ getAsRecipe()
| virtual const VPRecipeBase * llvm::VPPhiAccessors::getAsRecipe ( ) const | protectedpure virtual |
|---|
◆ getIncomingBlock()
◆ getIncomingValue()
| VPValue * llvm::VPPhiAccessors::getIncomingValue ( unsigned Idx) const | inline |
|---|
◆ getNumIncoming()
| virtual unsigned llvm::VPPhiAccessors::getNumIncoming ( ) const | inlinevirtual |
|---|
◆ incoming_blocks()
| const_incoming_blocks_range llvm::VPPhiAccessors::incoming_blocks ( ) const | inline |
|---|
◆ incoming_values()
◆ incoming_values_and_blocks()
◆ printPhiOperands()
◆ removeIncomingValueFor()
| void VPPhiAccessors::removeIncomingValueFor | ( | VPBlockBase * | IncomingBlock | ) | const |
|---|
Removes the incoming value for IncomingBlock, which must be a predecessor.
Definition at line 1548 of file VPlanRecipes.cpp.
References assert(), and getAsRecipe().
The documentation for this class was generated from the following files:
- lib/Transforms/Vectorize/VPlan.h
- lib/Transforms/Vectorize/VPlanRecipes.cpp