LLVM 22.0.0git
llvm::PatternMatch::ShiftLike_match< LHS_t, Opcode > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 ShiftLike_match (const LHS_t &LHS, uint64_t &RHS)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

LHS_t L
uint64_tR

Detailed Description

template<typename LHS_t, unsigned Opcode>
struct llvm::PatternMatch::ShiftLike_match< LHS_t, Opcode >

Definition at line 1331 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ ShiftLike_match()

template<typename LHS_t, unsigned Opcode>
llvm::PatternMatch::ShiftLike_match< LHS_t, Opcode >::ShiftLike_match ( const LHS_t & LHS,
uint64_t & RHS )
inline

Definition at line 1335 of file PatternMatch.h.

References L, LHS, R, and RHS.

Member Function Documentation

◆ match()

template<typename LHS_t, unsigned Opcode>
template<typename OpTy>
bool llvm::PatternMatch::ShiftLike_match< LHS_t, Opcode >::match ( OpTy * V) const
inline

Definition at line 1337 of file PatternMatch.h.

References llvm::dyn_cast(), L, llvm::PatternMatch::m_ConstantInt(), and R.

Member Data Documentation

◆ L

template<typename LHS_t, unsigned Opcode>
LHS_t llvm::PatternMatch::ShiftLike_match< LHS_t, Opcode >::L

Definition at line 1332 of file PatternMatch.h.

Referenced by match(), and ShiftLike_match().

◆ R

template<typename LHS_t, unsigned Opcode>
uint64_t& llvm::PatternMatch::ShiftLike_match< LHS_t, Opcode >::R

Definition at line 1333 of file PatternMatch.h.

Referenced by match(), and ShiftLike_match().


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