LLVM: slpvectorizer::BoUpSLP::VLOperands Class Reference (original) (raw)

A helper data structure to hold the operands of a vector of instructions. More...

Public Member Functions
VLOperands (ArrayRef< Value * > RootVL, ArrayRef< ValueList > Operands, const InstructionsState &S, const BoUpSLP &R)
Initialize with all the operands of the instruction vector RootVL.
ValueList getVL (unsigned OpIdx) const
\Returns a value vector with the operands across all lanes for the opearnd at OpIdx.
void reorder ()
LLVM_DUMP_METHOD raw_ostream & print (raw_ostream &OS) const
LLVM_DUMP_METHOD void dump () const
Debug print.

A helper data structure to hold the operands of a vector of instructions.

This supports a fixed vector length for all operand vectors.

Definition at line 2681 of file SLPVectorizer.cpp.

dump()

dumpMode()

LLVM_DUMP_METHOD void slpvectorizer::BoUpSLP::VLOperands::dumpMode ( ReorderingMode RMode) inlinestatic

getModeStr()

getVL()

print()

printMode()

reorder()

void slpvectorizer::BoUpSLP::VLOperands::reorder ( ) inline

Definition at line 3305 of file SLPVectorizer.cpp.

References llvm::any_of(), llvm::ArrayRef(), assert(), llvm::SmallPtrSetImpl< PtrType >::contains(), llvm::Data, llvm::dyn_cast(), llvm::ArrayRef< T >::front(), llvm::SmallVectorTemplateCommon< T, typename >::front(), getSameOpcode(), hasFullVectorsOrPowerOf2(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::isa(), llvm_unreachable, OpIdx, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SmallBitVector::set(), llvm::size(), and llvm::SmallPtrSetImplBase::size().

operator<<


The documentation for this class was generated from the following file: