LLVM 22.0.0git
|
This structure holds any data we need about the edges being traversed during buildTreeRec(). More...
Public Member Functions | |
EdgeInfo ()=default | |
EdgeInfo (TreeEntry *UserTE, unsigned EdgeIdx) | |
void | dump (raw_ostream &OS) const |
Debug print. | |
LLVM_DUMP_METHOD void | dump () const |
bool | operator== (const EdgeInfo &Other) const |
operator bool () const |
Public Attributes | |
TreeEntry * | UserTE = nullptr |
The user TreeEntry. | |
unsigned | EdgeIdx = UINT_MAX |
The operand index of the use. |
Friends | |
raw_ostream & | operator<< (raw_ostream &OS, const BoUpSLP::EdgeInfo &EI) |
This structure holds any data we need about the edges being traversed during buildTreeRec().
We keep track of: (i) the user TreeEntry index, and (ii) the index of the edge.
Definition at line 2282 of file SLPVectorizer.cpp.
|
default |
Referenced by operator==().
|
inline |
Definition at line 2284 of file SLPVectorizer.cpp.
|
inline |
Definition at line 2301 of file SLPVectorizer.cpp.
References llvm::dbgs(), dump(), and LLVM_DUMP_METHOD.
Referenced by dump().
|
inline |
Debug print.
Definition at line 2297 of file SLPVectorizer.cpp.
References EdgeIdx, and UserTE.
Referenced by operator<<.
|
inline |
Definition at line 2307 of file SLPVectorizer.cpp.
References UserTE.
Definition at line 2303 of file SLPVectorizer.cpp.
References EdgeIdx, EdgeInfo(), llvm::Other, and UserTE.
|
friend |
Definition at line 2291 of file SLPVectorizer.cpp.
References dump().
unsigned llvm::slpvectorizer::BoUpSLP::EdgeInfo::EdgeIdx = UINT_MAX |
The operand index of the use.
Definition at line 2289 of file SLPVectorizer.cpp.
Referenced by dump(), EdgeInfo(), llvm::DenseMapInfo< BoUpSLP::EdgeInfo >::getHashValue(), and operator==().
TreeEntry* llvm::slpvectorizer::BoUpSLP::EdgeInfo::UserTE = nullptr |
The user TreeEntry.
Definition at line 2287 of file SLPVectorizer.cpp.
Referenced by dump(), EdgeInfo(), llvm::DenseMapInfo< BoUpSLP::EdgeInfo >::getHashValue(), operator bool(), operator==(), and tryToFindDuplicates().