LLVM  10.0.0svn
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
[legend]

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...
 

Friends

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 636 of file SLPVectorizer.cpp.

Constructor & Destructor Documentation

◆ EdgeInfo() [1/2]

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

◆ EdgeInfo() [2/2]

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

Definition at line 638 of file SLPVectorizer.cpp.

Member Function Documentation

◆ dump() [1/2]

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

Debug print.

Definition at line 651 of file SLPVectorizer.cpp.

References llvm::to_string().

◆ dump() [2/2]

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

Definition at line 655 of file SLPVectorizer.cpp.

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

Referenced by dump().

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 645 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 643 of file SLPVectorizer.cpp.

◆ UserTE

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

The user TreeEntry.

Definition at line 641 of file SLPVectorizer.cpp.

Referenced by llvm::slpvectorizer::BoUpSLP::isDeleted().


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