LLVM 20.0.0git
|
A helper data structure to hold the operands of a vector of instructions. More...
Public Member Functions | |
VLOperands (ArrayRef< Value * > RootVL, 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. | |
Static Public Member Functions | |
static LLVM_DUMP_METHOD StringRef | getModeStr (ReorderingMode RMode) |
static LLVM_DUMP_METHOD raw_ostream & | printMode (ReorderingMode RMode, raw_ostream &OS) |
static LLVM_DUMP_METHOD void | dumpMode (ReorderingMode RMode) |
Debug print. | |
Friends | |
raw_ostream & | operator<< (raw_ostream &OS, ReorderingMode RMode) |
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 1808 of file SLPVectorizer.cpp.
|
inline |
Initialize with all the operands of the instruction vector RootVL
.
Definition at line 2372 of file SLPVectorizer.cpp.
References DL.
|
inline |
Debug print.
Definition at line 2577 of file SLPVectorizer.cpp.
References llvm::dbgs(), and print().
|
inlinestatic |
Debug print.
Definition at line 2550 of file SLPVectorizer.cpp.
References llvm::dbgs(), and printMode().
|
inlinestatic |
Definition at line 2528 of file SLPVectorizer.cpp.
References llvm_unreachable.
Referenced by printMode().
\Returns a value vector with the operands across all lanes for the opearnd at OpIdx
.
Definition at line 2382 of file SLPVectorizer.cpp.
References assert(), and llvm::size().
|
inline |
Definition at line 2558 of file SLPVectorizer.cpp.
References llvm::raw_ostream::indent(), and OS.
Referenced by dump().
|
inlinestatic |
Definition at line 2544 of file SLPVectorizer.cpp.
References getModeStr(), and OS.
Referenced by dumpMode().
|
inline |
Definition at line 2394 of file SLPVectorizer.cpp.
References llvm::any_of(), assert(), llvm::SmallPtrSetImpl< PtrType >::contains(), llvm::Data, llvm::drop_begin(), llvm::SmallVectorTemplateCommon< T, typename >::front(), getSameOpcode(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::isPowerOf2_32(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SmallPtrSetImplBase::size(), and llvm::size().
|
friend |
Definition at line 2554 of file SLPVectorizer.cpp.