LLVM
13.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) |
void | removeLastOperand () |
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 191 of file VPlanValue.h.
Definition at line 242 of file VPlanValue.h.
Definition at line 244 of file VPlanValue.h.
typedef SmallVectorImpl<VPValue *>::iterator llvm::VPUser::operand_iterator |
Definition at line 241 of file VPlanValue.h.
Definition at line 243 of file VPlanValue.h.
|
inline |
Definition at line 199 of file VPlanValue.h.
Definition at line 200 of file VPlanValue.h.
References addOperand(), and Operands.
|
inline |
Definition at line 205 of file VPlanValue.h.
References Operands.
|
inline |
Definition at line 207 of file VPlanValue.h.
References addOperand(), and Operands.
|
inlinevirtual |
Definition at line 214 of file VPlanValue.h.
References operands().
|
inline |
Definition at line 219 of file VPlanValue.h.
References llvm::VPValue::addUser(), and Operands.
Referenced by llvm::VPWidenPHIRecipe::addIncoming(), resetSingleOpUser(), and VPUser().
Method to support type inquiry through isa, cast, and dyn_cast.
Definition at line 584 of file VPlan.h.
References llvm::tgtok::Def.
|
inline |
Definition at line 224 of file VPlanValue.h.
References Operands.
Referenced by llvm::InnerLoopVectorizer::fixNonInductionPHIs(), llvm::VPReductionRecipe::getCondOp(), llvm::VPInterleaveRecipe::getMask(), llvm::VPBranchOnMaskRecipe::getMask(), llvm::VPWidenMemoryInstructionRecipe::getMask(), llvm::VPBlendRecipe::getNumIncomingValues(), getSingleOperandOrNull(), llvm::VPWidenPHIRecipe::getStartValue(), llvm::VPInterleaveRecipe::getStoredValues(), and resetSingleOpUser().
|
inline |
Definition at line 225 of file VPlanValue.h.
References assert(), N, and Operands.
Referenced by llvm::VPInterleaveRecipe::getAddr(), llvm::VPWidenMemoryInstructionRecipe::getAddr(), llvm::VPReductionRecipe::getChainOp(), llvm::VPReductionRecipe::getCondOp(), llvm::VPWidenPHIRecipe::getIncomingValue(), llvm::VPBlendRecipe::getIncomingValue(), llvm::VPBlendRecipe::getMask(), llvm::VPInterleaveRecipe::getMask(), llvm::VPBranchOnMaskRecipe::getMask(), llvm::VPWidenMemoryInstructionRecipe::getMask(), getSingleOperandOrNull(), llvm::VPWidenIntOrFpInductionRecipe::getStartValue(), llvm::VPWidenPHIRecipe::getStartValue(), llvm::VPWidenMemoryInstructionRecipe::getStoredValue(), llvm::VPReductionRecipe::getVecOp(), and llvm::VPWidenSelectRecipe::print().
|
inline |
Definition at line 246 of file VPlanValue.h.
References Operands.
Referenced by llvm::VPInterleaveRecipe::getStoredValues(), and operands().
|
inline |
Definition at line 247 of file VPlanValue.h.
References Operands.
|
inline |
|
inline |
Definition at line 249 of file VPlanValue.h.
References Operands.
|
inline |
Definition at line 250 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 251 of file VPlanValue.h.
References op_begin(), and op_end().
|
protected |
Print the operands to O
.
Definition at line 1075 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().
|
inline |
Definition at line 236 of file VPlanValue.h.
References Operands.
Referenced by resetSingleOpUser().
|
inline |
Definition at line 230 of file VPlanValue.h.
Referenced by resetSingleOpUser().