llvm::MIPatternMatch::ICstOrSplatMatch

Matcher for an integer constant or constant splat, binding the value.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MIPatternMatch.h>

template<typename ConstT>
struct ICstOrSplatMatch;

Member Functions

NameDescription
ICstOrSplatMatch [constructor]Construct a matcher that binds into C.
match Match Reg if it is a constant or constant splat.

Data Members

NameDescription
CR Output that receives the matched constant or splat lane value.

Non-Member Functions

NameDescription
m_ICstOrSplatMatches an integer constant or splat, binding a sign-extended int64.
m_ICstOrSplatMatches an integer constant or splat, binding an APInt to Cst.