Lines Matching refs:NElts
47 void DecodeMOVHLPSMask(unsigned NElts, in DecodeMOVHLPSMask() argument
49 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask()
50 ShuffleMask.push_back(NElts+i); in DecodeMOVHLPSMask()
52 for (unsigned i = NElts/2; i != NElts; ++i) in DecodeMOVHLPSMask()
57 void DecodeMOVLHPSMask(unsigned NElts, in DecodeMOVLHPSMask() argument
59 for (unsigned i = 0; i != NElts/2; ++i) in DecodeMOVLHPSMask()
62 for (unsigned i = 0; i != NElts/2; ++i) in DecodeMOVLHPSMask()
63 ShuffleMask.push_back(NElts+i); in DecodeMOVLHPSMask()
66 void DecodePSHUFMask(unsigned NElts, unsigned Imm, in DecodePSHUFMask() argument
68 for (unsigned i = 0; i != NElts; ++i) { in DecodePSHUFMask()
69 ShuffleMask.push_back(Imm % NElts); in DecodePSHUFMask()
70 Imm /= NElts; in DecodePSHUFMask()
98 void DecodePUNPCKLBWMask(unsigned NElts, in DecodePUNPCKLBWMask() argument
100 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i8, NElts), ShuffleMask); in DecodePUNPCKLBWMask()
103 void DecodePUNPCKLWDMask(unsigned NElts, in DecodePUNPCKLWDMask() argument
105 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i16, NElts), ShuffleMask); in DecodePUNPCKLWDMask()
108 void DecodePUNPCKLDQMask(unsigned NElts, in DecodePUNPCKLDQMask() argument
110 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i32, NElts), ShuffleMask); in DecodePUNPCKLDQMask()
113 void DecodePUNPCKLQDQMask(unsigned NElts, in DecodePUNPCKLQDQMask() argument
115 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i64, NElts), ShuffleMask); in DecodePUNPCKLQDQMask()
123 void DecodePUNPCKHMask(unsigned NElts, in DecodePUNPCKHMask() argument
125 for (unsigned i = 0; i != NElts/2; ++i) { in DecodePUNPCKHMask()
126 ShuffleMask.push_back(i+NElts/2); in DecodePUNPCKHMask()
127 ShuffleMask.push_back(i+NElts+NElts/2); in DecodePUNPCKHMask()
131 void DecodeSHUFPSMask(unsigned NElts, unsigned Imm, in DecodeSHUFPSMask() argument
134 for (unsigned i = 0; i != NElts/2; ++i) { in DecodeSHUFPSMask()
135 ShuffleMask.push_back(Imm % NElts); in DecodeSHUFPSMask()
136 Imm /= NElts; in DecodeSHUFPSMask()
139 for (unsigned i = 0; i != NElts/2; ++i) { in DecodeSHUFPSMask()
140 ShuffleMask.push_back(Imm % NElts + NElts); in DecodeSHUFPSMask()
141 Imm /= NElts; in DecodeSHUFPSMask()
145 void DecodeUNPCKHPMask(unsigned NElts, in DecodeUNPCKHPMask() argument
147 for (unsigned i = 0; i != NElts/2; ++i) { in DecodeUNPCKHPMask()
148 ShuffleMask.push_back(i+NElts/2); // Reads from dest in DecodeUNPCKHPMask()
149 ShuffleMask.push_back(i+NElts+NElts/2); // Reads from src in DecodeUNPCKHPMask()
153 void DecodeUNPCKLPSMask(unsigned NElts, in DecodeUNPCKLPSMask() argument
155 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i32, NElts), ShuffleMask); in DecodeUNPCKLPSMask()
158 void DecodeUNPCKLPDMask(unsigned NElts, in DecodeUNPCKLPDMask() argument
160 DecodeUNPCKLPMask(MVT::getVectorVT(MVT::i64, NElts), ShuffleMask); in DecodeUNPCKLPDMask()