LLVM  14.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::slpvectorizer::BoUpSLP::EdgeInfo Struct Reference

This structure holds any data we need about the edges being traversed during buildTree_rec(). More...

Collaboration diagram for llvm::slpvectorizer::BoUpSLP::EdgeInfo:
Collaboration graph

Public Member Functions

 EdgeInfo ()=default
 EdgeInfo (TreeEntry *UserTE, unsigned EdgeIdx)
void dump (raw_ostream &OS) const
 Debug print. More...
LLVM_DUMP_METHOD void dump () const

Public Attributes

TreeEntry * UserTE = nullptr
 The user TreeEntry. More...
unsigned EdgeIdx = UINT_MAX
 The operand index of the use. More...


raw_ostreamoperator<< (raw_ostream &OS, const BoUpSLP::EdgeInfo &EI)

Detailed Description

This structure holds any data we need about the edges being traversed during buildTree_rec().

We keep track of: (i) the user TreeEntry index, and (ii) the index of the edge.

Definition at line 899 of file SLPVectorizer.cpp.

Constructor & Destructor Documentation

◆ EdgeInfo() [1/2]

llvm::slpvectorizer::BoUpSLP::EdgeInfo::EdgeInfo ( )

◆ EdgeInfo() [2/2]

llvm::slpvectorizer::BoUpSLP::EdgeInfo::EdgeInfo ( TreeEntry *  UserTE,
unsigned  EdgeIdx 

Definition at line 901 of file SLPVectorizer.cpp.

Member Function Documentation

◆ dump() [1/2]

LLVM_DUMP_METHOD void llvm::slpvectorizer::BoUpSLP::EdgeInfo::dump ( ) const

Definition at line 918 of file SLPVectorizer.cpp.

References llvm::dbgs(), and dump().

Referenced by dump().

◆ dump() [2/2]

void llvm::slpvectorizer::BoUpSLP::EdgeInfo::dump ( raw_ostream OS) const

Debug print.

Definition at line 914 of file SLPVectorizer.cpp.

References llvm::to_string().

Friends And Related Function Documentation

◆ operator<<

raw_ostream& operator<< ( raw_ostream OS,
const BoUpSLP::EdgeInfo EI 

Definition at line 908 of file SLPVectorizer.cpp.

Member Data Documentation

◆ EdgeIdx

unsigned llvm::slpvectorizer::BoUpSLP::EdgeInfo::EdgeIdx = UINT_MAX

The operand index of the use.

Definition at line 906 of file SLPVectorizer.cpp.

◆ UserTE

TreeEntry* llvm::slpvectorizer::BoUpSLP::EdgeInfo::UserTE = nullptr

The user TreeEntry.

Definition at line 904 of file SLPVectorizer.cpp.

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