|
LLVM 23.0.0git
|
#include "llvm/CodeGen/SDPatternMatch.h"
Public Member Functions | |
| FunnelShiftLike_match (const T0_P &Op0, const T1_P &Op1, const T2_P &Op2) | |
| template<typename MatchContext> | |
| bool | matchOperands (const MatchContext &Ctx, SDValue X, SDValue Y, SDValue Z) |
| template<typename MatchContext> | |
| bool | matchShiftOr (const MatchContext &Ctx, SDValue N, unsigned BitWidth) |
| template<typename MatchContext> | |
| bool | match (const MatchContext &Ctx, SDValue N) |
Static Public Member Functions | |
| static bool | hasComplementaryConstantShifts (const APInt &ShlV, const APInt &SrlV, unsigned BitWidth) |
Public Attributes | |
| T0_P | Op0 |
| T1_P | Op1 |
| T2_P | Op2 |
Definition at line 982 of file SDPatternMatch.h.
|
inline |
Definition at line 987 of file SDPatternMatch.h.
|
inlinestatic |
Definition at line 990 of file SDPatternMatch.h.
References llvm::bit_width(), llvm::BitWidth, llvm::APInt::getBitWidth(), and llvm::APInt::zext().
Referenced by matchShiftOr().
|
inline |
Definition at line 1011 of file SDPatternMatch.h.
References llvm::Left, llvm::SDPatternMatch::m_FShL(), llvm::SDPatternMatch::m_FShR(), llvm::SDPatternMatch::m_Rotl(), llvm::SDPatternMatch::m_Rotr(), llvm::SDPatternMatch::m_Value(), matchOperands(), matchShiftOr(), N, Op0, Op1, Op2, llvm::SDPatternMatch::sd_context_match(), and X.
|
inline |
Definition at line 1003 of file SDPatternMatch.h.
References Op0, Op1, Op2, X, and Y.
Referenced by match(), and matchShiftOr().
| bool llvm::SDPatternMatch::FunnelShiftLike_match< T0_P, T1_P, T2_P, Left >::matchShiftOr | ( | const MatchContext & | Ctx, |
| SDValue | N, | ||
| unsigned | BitWidth ) |
Definition at line 1299 of file SDPatternMatch.h.
References llvm::BitWidth, hasComplementaryConstantShifts(), llvm::Left, llvm::SDPatternMatch::m_ConstInt(), llvm::SDPatternMatch::m_Or(), llvm::SDPatternMatch::m_Shl(), llvm::SDPatternMatch::m_Srl(), llvm::SDPatternMatch::m_Value(), matchOperands(), N, llvm::SDPatternMatch::sd_context_match(), X, and Y.
Referenced by match().
| T0_P llvm::SDPatternMatch::FunnelShiftLike_match< T0_P, T1_P, T2_P, Left >::Op0 |
Definition at line 983 of file SDPatternMatch.h.
Referenced by FunnelShiftLike_match(), match(), and matchOperands().
| T1_P llvm::SDPatternMatch::FunnelShiftLike_match< T0_P, T1_P, T2_P, Left >::Op1 |
Definition at line 984 of file SDPatternMatch.h.
Referenced by FunnelShiftLike_match(), match(), and matchOperands().
| T2_P llvm::SDPatternMatch::FunnelShiftLike_match< T0_P, T1_P, T2_P, Left >::Op2 |
Definition at line 985 of file SDPatternMatch.h.
Referenced by FunnelShiftLike_match(), match(), and matchOperands().