LLVM
12.0.0git
|
This class augments VPValue with operands which provide the inverse def-use edges from VPValue's users to their defs. More...
#include "Transforms/Vectorize/VPlanValue.h"
Public Types | |
typedef SmallVectorImpl< VPValue * >::iterator | operand_iterator |
typedef SmallVectorImpl< VPValue * >::const_iterator | const_operand_iterator |
typedef iterator_range< operand_iterator > | operand_range |
typedef iterator_range< const_operand_iterator > | const_operand_range |
Public Member Functions | |
VPUser () | |
VPUser (ArrayRef< VPValue * > Operands) | |
VPUser (std::initializer_list< VPValue * > Operands) | |
template<typename IterT > | |
VPUser (iterator_range< IterT > Operands) | |
VPUser (const VPUser &)=delete | |
VPUser & | operator= (const VPUser &)=delete |
virtual | ~VPUser () |
void | addOperand (VPValue *Operand) |
unsigned | getNumOperands () const |
VPValue * | getOperand (unsigned N) const |
void | setOperand (unsigned I, VPValue *New) |
operand_iterator | op_begin () |
const_operand_iterator | op_begin () const |
operand_iterator | op_end () |
const_operand_iterator | op_end () const |
operand_range | operands () |
const_operand_range | operands () const |
Static Public Member Functions | |
static bool | classof (const VPDef *Recipe) |
Method to support type inquiry through isa, cast, and dyn_cast. More... | |
Protected Member Functions | |
void | printOperands (raw_ostream &O, VPSlotTracker &SlotTracker) const |
Print the operands to O . More... | |
This class augments VPValue with operands which provide the inverse def-use edges from VPValue's users to their defs.
Definition at line 187 of file VPlanValue.h.
Definition at line 233 of file VPlanValue.h.
Definition at line 235 of file VPlanValue.h.
typedef SmallVectorImpl<VPValue *>::iterator llvm::VPUser::operand_iterator |
Definition at line 232 of file VPlanValue.h.
Definition at line 234 of file VPlanValue.h.
|
inline |
Definition at line 195 of file VPlanValue.h.
Definition at line 196 of file VPlanValue.h.
References addOperand(), and Operands.
|
inline |
Definition at line 201 of file VPlanValue.h.
References Operands.
|
inline |
Definition at line 203 of file VPlanValue.h.
References addOperand(), and Operands.
|
inlinevirtual |
Definition at line 210 of file VPlanValue.h.
References operands().
|
inline |
Definition at line 215 of file VPlanValue.h.
References llvm::VPValue::addUser(), and Operands.
Referenced by llvm::VPBranchOnMaskRecipe::VPBranchOnMaskRecipe(), llvm::VPInterleaveRecipe::VPInterleaveRecipe(), and VPUser().
Method to support type inquiry through isa, cast, and dyn_cast.
Definition at line 694 of file VPlan.h.
References llvm::tgtok::Def.
|
inline |
Definition at line 220 of file VPlanValue.h.
References Operands.
Referenced by llvm::VPReductionRecipe::getCondOp(), llvm::VPInterleaveRecipe::getMask(), llvm::VPBranchOnMaskRecipe::getMask(), llvm::VPWidenMemoryInstructionRecipe::getMask(), llvm::VPBlendRecipe::getNumIncomingValues(), llvm::VPWidenPHIRecipe::getStartValue(), and llvm::VPInterleaveRecipe::getStoredValues().
Definition at line 221 of file VPlanValue.h.
References assert(), N, and Operands.
Referenced by llvm::VPInterleaveRecipe::getAddr(), llvm::VPWidenMemoryInstructionRecipe::getAddr(), llvm::VPReductionRecipe::getChainOp(), llvm::VPReductionRecipe::getCondOp(), llvm::VPBlendRecipe::getIncomingValue(), llvm::VPBlendRecipe::getMask(), llvm::VPInterleaveRecipe::getMask(), llvm::VPBranchOnMaskRecipe::getMask(), llvm::VPWidenMemoryInstructionRecipe::getMask(), llvm::VPWidenIntOrFpInductionRecipe::getStartValue(), llvm::VPWidenPHIRecipe::getStartValue(), llvm::VPWidenMemoryInstructionRecipe::getStoredValue(), llvm::VPReductionRecipe::getVecOp(), and llvm::VPWidenSelectRecipe::print().
|
inline |
Definition at line 237 of file VPlanValue.h.
References Operands.
Referenced by llvm::VPInterleaveRecipe::getStoredValues(), and operands().
|
inline |
Definition at line 238 of file VPlanValue.h.
References Operands.
|
inline |
|
inline |
Definition at line 240 of file VPlanValue.h.
References Operands.
|
inline |
Definition at line 241 of file VPlanValue.h.
References op_begin(), and op_end().
Referenced by llvm::VPInstruction::clone(), llvm::VPInstruction::print(), printOperands(), llvm::InnerLoopVectorizer::widenCallInstruction(), and ~VPUser().
|
inline |
Definition at line 242 of file VPlanValue.h.
References op_begin(), and op_end().
|
protected |
Print the operands to O
.
Definition at line 1035 of file VPlan.cpp.
References llvm::interleaveComma(), llvm::RISCVFenceField::O, and operands().
Referenced by llvm::VPWidenRecipe::print(), llvm::VPWidenCallRecipe::print(), llvm::VPWidenGEPRecipe::print(), llvm::VPReplicateRecipe::print(), llvm::VPPredInstPHIRecipe::print(), and llvm::VPWidenMemoryInstructionRecipe::print().
Definition at line 226 of file VPlanValue.h.