LLVM
15.0.0git
|
A helper data structure to hold the operands of a vector of instructions. More...
Public Member Functions | |
VLOperands (ArrayRef< Value * > RootVL, const DataLayout &DL, ScalarEvolution &SE, const BoUpSLP &R) | |
Initialize with all the operands of the instruction vector RootVL . More... | |
ValueList | getVL (unsigned OpIdx) const |
\Returns a value vector with the operands across all lanes for the opearnd at OpIdx . More... | |
void | reorder () |
LLVM_DUMP_METHOD raw_ostream & | print (raw_ostream &OS) const |
LLVM_DUMP_METHOD void | dump () const |
Debug print. More... | |
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. More... | |
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 1323 of file SLPVectorizer.cpp.
|
inline |
Initialize with all the operands of the instruction vector RootVL
.
Definition at line 1809 of file SLPVectorizer.cpp.
|
inline |
Debug print.
Definition at line 2015 of file SLPVectorizer.cpp.
References llvm::dbgs(), and print().
|
inlinestatic |
|
inlinestatic |
Definition at line 1966 of file SLPVectorizer.cpp.
References llvm::ISD::Constant, llvm::Failed(), llvm_unreachable, and llvm::SPII::Load.
|
inline |
\Returns a value vector with the operands across all lanes for the opearnd at OpIdx
.
Definition at line 1818 of file SLPVectorizer.cpp.
References assert(), and llvm::size().
|
inline |
Definition at line 1996 of file SLPVectorizer.cpp.
References llvm::raw_ostream::indent().
|
inlinestatic |
Definition at line 1982 of file SLPVectorizer.cpp.
|
inline |
Definition at line 1830 of file SLPVectorizer.cpp.
References llvm::any_of(), assert(), llvm::ISD::Constant, llvm::SmallPtrSetImpl< PtrType >::contains(), llvm::Data, llvm::drop_begin(), llvm::Failed(), getSameOpcode(), llvm::Optional< T >::getValue(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::isPowerOf2_32(), llvm::SPII::Load, Pass, llvm::SmallPtrSetImplBase::size(), llvm::size(), and std::swap().
|
friend |
Definition at line 1992 of file SLPVectorizer.cpp.