LLVM
15.0.0git
|
This helper class is used to match constant scalars, vector splats, and fixed width vectors that satisfy a specified predicate. More...
#include "llvm/IR/PatternMatch.h"
Public Member Functions | |
template<typename ITy > | |
bool | match (ITy *V) |
This helper class is used to match constant scalars, vector splats, and fixed width vectors that satisfy a specified predicate.
For fixed width vector constants, undefined elements are ignored.
Definition at line 328 of file PatternMatch.h.
|
inline |
Definition at line 329 of file PatternMatch.h.
References assert(), llvm::Constant::getAggregateElement(), and i.
Referenced by llvm::PatternMatch::is_zero::match().