Lines Matching defs:s32

51   const LLT s32 = LLT::scalar(32);
55 const LLT sMaxScalar = Subtarget.is64Bit() ? s64 : s32;
88 // s64 = EXTEND (G_IMPLICIT_DEF s32) -> s64 = G_IMPLICIT_DEF
89 // s128 = EXTEND (G_IMPLICIT_DEF s32/s64) -> s128 = G_IMPLICIT_DEF
90 return typeInSet(0, {p0, s1, s8, s16, s32, s64})(Query) ||
96 return typeInSet(0, {p0, s8, s16, s32})(Query) ||
110 .minScalar(BigTyIdx, s32)
140 if (typeInSet(0, {s8, s16, s32})(Query))
156 .clampMinNumElements(0, s32, 4)
160 .clampMaxNumElements(0, s32, HasAVX512 ? 16 : (HasAVX2 ? 8 : 4))
168 return typePairInSet(0, 1, {{s8, s1}, {s16, s1}, {s32, s1}})(Query) ||
179 if (typeInSet(0, {s8, s16, s32})(Query))
200 .clampMinNumElements(0, s32, 4)
203 .clampMaxNumElements(0, s32, HasAVX512 ? 16 : (HasAVX2 ? 8 : 4))
211 return typeInSet(0, {s8, s16, s32})(Query) ||
221 return typeInSet(0, {s8, s16, s32})(Query) ||
230 return typePairInSet(0, 1, {{s8, s8}, {s16, s8}, {s32, s8}})(Query) ||
239 if (typeInSet(0, {s8, s16, s32})(Query))
253 .clampMinNumElements(0, s32, 4)
257 .clampMaxNumElements(0, s32, HasAVX512 ? 16 : (HasAVX ? 8 : 4))
264 const std::initializer_list<LLT> IntTypes32 = {s8, s16, s32, p0};
265 const std::initializer_list<LLT> IntTypes64 = {s8, s16, s32, s64, p0};
275 return Query.Types[0] == s32 ||
279 .clampScalar(0, s32, sMaxScalar);
285 (typePairInSet(0, 1, {{s16, s16}, {s32, s32}})(Query) ||
296 (typePairInSet(0, 1, {{s16, s16}, {s32, s32}})(Query) ||
307 (typePairInSet(0, 1, {{s16, s16}, {s32, s32}})(Query) ||
317 return typeInSet(0, {s8, s16, s32, p0})(Query) ||
326 .clampMinNumElements(0, s32, 4)
330 .clampMaxNumElements(0, s32, HasAVX512 ? 16 : (HasAVX ? 8 : 4))
339 const std::initializer_list<LLT> PtrTypes32 = {s1, s8, s16, s32};
340 const std::initializer_list<LLT> PtrTypes64 = {s1, s8, s16, s32, s64};
353 return typePairInSet(0, 1, {{p0, s32}})(Query) ||
357 .clampScalar(1, s32, sMaxScalar);
368 {s32, p0, s8, 1},
369 {s32, p0, s16, 1},
370 {s32, p0, s32, 1},
377 {s64, p0, s32, 1},
406 {s32, p0, s8, 1},
407 {s32, p0, s16, 1}});
411 {s64, p0, s32, 1}});
418 return typeInSet(0, {s8, s16, s32})(Query) ||
433 return (typeInSet(0, {s32, s64})(Query)) ||
440 return (typeInSet(0, {s32, s64})(Query)) ||
451 return (HasSSE1 && typePairInSet(0, 1, {{s8, s32}})(Query)) ||
455 .clampScalar(1, s32, HasSSE2 ? s64 : s32)
460 return (HasSSE2 && typePairInSet(0, 1, {{s64, s32}})(Query)) ||
467 return (HasSSE2 && typePairInSet(0, 1, {{s32, s64}})(Query)) ||
475 (typePairInSet(0, 1, {{s32, s32}})(Query) ||
476 (Is64Bit && typePairInSet(0, 1, {{s32, s64}})(Query)))) ||
478 (typePairInSet(0, 1, {{s64, s32}})(Query) ||
481 .clampScalar(1, s32, sMaxScalar)
483 .clampScalar(0, s32, HasSSE2 ? s64 : s32)
489 (typePairInSet(0, 1, {{s32, s32}})(Query) ||
490 (Is64Bit && typePairInSet(0, 1, {{s64, s32}})(Query)))) ||
492 (typePairInSet(0, 1, {{s32, s64}})(Query) ||
495 .clampScalar(1, s32, HasSSE2 ? s64 : s32)
497 .clampScalar(0, s32, sMaxScalar)
555 .legalFor({{s8, s32}, {s16, s32}, {s32, s32}, {s64, s32}, {p0, s32}})
558 .clampScalar(1, s32, s32);
574 .legalFor({s8, s16, s32, s64, p0})