LLVM 24.0.0git
llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty > Struct Template Reference

Matches a G_SHUFFLE_VECTOR, binding its two source operands and its mask. More...

#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"

Public Member Functions

 ShuffleVectorMatch (const Src1Ty &Src1, const Src2Ty &Src2, ArrayRef< int > &Mask)
bool match (const MachineRegisterInfo &MRI, Register Reg)

Public Attributes

Src1Ty Src1
Src2Ty Src2
ArrayRef< int > & Mask

Detailed Description

template<typename Src1Ty, typename Src2Ty>
struct llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty >

Matches a G_SHUFFLE_VECTOR, binding its two source operands and its mask.

Definition at line 697 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ShuffleVectorMatch()

template<typename Src1Ty, typename Src2Ty>
llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty >::ShuffleVectorMatch ( const Src1Ty & Src1,
const Src2Ty & Src2,
ArrayRef< int > & Mask )
inline

Definition at line 702 of file MIPatternMatch.h.

References Mask, Src1, and Src2.

Member Function Documentation

◆ match()

template<typename Src1Ty, typename Src2Ty>
bool llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty >::match ( const MachineRegisterInfo & MRI,
Register Reg )
inline

Member Data Documentation

◆ Mask

template<typename Src1Ty, typename Src2Ty>
ArrayRef<int>& llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty >::Mask

Definition at line 700 of file MIPatternMatch.h.

Referenced by match(), and ShuffleVectorMatch().

◆ Src1

template<typename Src1Ty, typename Src2Ty>
Src1Ty llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty >::Src1

Definition at line 698 of file MIPatternMatch.h.

Referenced by match(), and ShuffleVectorMatch().

◆ Src2

template<typename Src1Ty, typename Src2Ty>
Src2Ty llvm::MIPatternMatch::ShuffleVectorMatch< Src1Ty, Src2Ty >::Src2

Definition at line 699 of file MIPatternMatch.h.

Referenced by match(), and ShuffleVectorMatch().


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