diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h')
-rw-r--r-- | llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h b/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h index 2963415175795..51229a69a6263 100644 --- a/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h +++ b/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h @@ -14,15 +14,13 @@ #ifndef LLVM_LIB_TARGET_X86_X86SHUFFLEDECODECONSTANTPOOL_H #define LLVM_LIB_TARGET_X86_X86SHUFFLEDECODECONSTANTPOOL_H -#include "llvm/ADT/SmallVector.h" - //===----------------------------------------------------------------------===// // Vector Mask Decoding //===----------------------------------------------------------------------===// namespace llvm { class Constant; -class MVT; +template <typename T> class SmallVectorImpl; /// Decode a PSHUFB mask from an IR-level vector constant. void DecodePSHUFBMask(const Constant *C, unsigned Width, @@ -33,9 +31,8 @@ void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, unsigned Width, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPERMILP2 variable mask from an IR-level vector constant. -void DecodeVPERMIL2PMask(const Constant *C, unsigned MatchImm, unsigned ElSize, - unsigned Width, - SmallVectorImpl<int> &ShuffleMask); +void DecodeVPERMIL2PMask(const Constant *C, unsigned M2Z, unsigned ElSize, + unsigned Width, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPPERM variable mask from an IR-level vector constant. void DecodeVPPERMMask(const Constant *C, unsigned Width, |