LLVM 22.0.0git
|
Describes how to collect the values needed by each lane. More...
#include "llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h"
Classes | |
class | ExtractElementDescr |
Describes how to get a value element. More... |
Public Types | |
using | DescrVecT = SmallVector<ExtractElementDescr, 4> |
Public Member Functions | |
CollectDescr (SmallVectorImpl< ExtractElementDescr > &&Descrs) | |
std::optional< std::pair< Action *, ShuffleMask > > | getSingleInput () const |
If all elements come from a single vector input, then return that vector and also the shuffle mask required to get them in order. | |
bool | hasVectorInputs () const |
const SmallVector< ExtractElementDescr, 4 > & | getDescrs () const |
Public Attributes | |
DescrVecT | Descrs |
Describes how to collect the values needed by each lane.
Definition at line 252 of file Legality.h.
Definition at line 271 of file Legality.h.
|
inline |
Definition at line 275 of file Legality.h.
References Descrs, and llvm::move().
|
inline |
Definition at line 298 of file Legality.h.
References Descrs.
|
inline |
If all elements come from a single vector input, then return that vector and also the shuffle mask required to get them in order.
Definition at line 279 of file Legality.h.
References Descrs, llvm::drop_begin(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 295 of file Legality.h.
References llvm::any_of(), D(), and Descrs.
DescrVecT llvm::sandboxir::CollectDescr::Descrs |
Definition at line 272 of file Legality.h.
Referenced by CollectDescr(), getDescrs(), getSingleInput(), and hasVectorInputs().