Lines Matching defs:MTy

3307   MVT MTy = LT.second;
3318 if (MTy.isVector() &&
3319 !((ST->hasXOP() && (!ST->hasAVX2() || MTy.is128BitVector())) ||
3320 (ST->hasAVX512() && 32 <= MTy.getScalarSizeInBits()) ||
3350 if ((ST->hasSSE41() && MTy.getScalarSizeInBits() == 32) ||
3351 (ST->hasSSE2() && MTy.getScalarSizeInBits() < 32)) {
3536 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
3541 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
3546 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy))
3551 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy))
3556 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy))
3561 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
3566 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy))
3571 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
3576 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
3581 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy))
4574 MVT MTy = LT.second;
4585 if (MTy.isScalarInteger()) {
4603 MVT MTy = LT.second;
4608 !MTy.isVector() && !ICA.isTypeBasedOnly()) {
4620 if (const auto *Entry = CostTableLookup(GLMCostTbl, ISD, MTy))
4625 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
4630 if (const auto *Entry = CostTableLookup(AVX512VBMI2CostTbl, ISD, MTy))
4635 if (const auto *Entry = CostTableLookup(AVX512BITALGCostTbl, ISD, MTy))
4640 if (const auto *Entry = CostTableLookup(AVX512VPOPCNTDQCostTbl, ISD, MTy))
4645 if (const auto *Entry = CostTableLookup(GFNICostTbl, ISD, MTy))
4650 if (const auto *Entry = CostTableLookup(AVX512CDCostTbl, ISD, MTy))
4655 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
4660 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy))
4665 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy))
4670 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy))
4675 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
4680 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy))
4685 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
4690 if (const auto *Entry = CostTableLookup(SSSE3CostTbl, ISD, MTy))
4695 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
4700 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy))
4706 if (const auto *Entry = CostTableLookup(BMI64CostTbl, ISD, MTy))
4710 if (const auto *Entry = CostTableLookup(BMI32CostTbl, ISD, MTy))
4717 if (const auto *Entry = CostTableLookup(LZCNT64CostTbl, ISD, MTy))
4721 if (const auto *Entry = CostTableLookup(LZCNT32CostTbl, ISD, MTy))
4728 if (const auto *Entry = CostTableLookup(POPCNT64CostTbl, ISD, MTy))
4732 if (const auto *Entry = CostTableLookup(POPCNT32CostTbl, ISD, MTy))
4738 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, MTy))
4742 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, MTy))
5521 MVT MTy = VT.getSimpleVT();
5523 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
5527 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5531 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5537 MVT MTy = LT.second;
5542 if (ISD == ISD::MUL && MTy.getScalarType() == MVT::i8) {
5552 if (LT.first != 1 && MTy.isVector() &&
5553 MTy.getVectorNumElements() < ValVTy->getNumElements()) {
5556 MTy.getVectorNumElements());
5562 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
5566 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5570 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5622 if (LT.first != 1 && MTy.isVector() &&
5623 MTy.getVectorNumElements() < ValVTy->getNumElements()) {
5626 MTy.getVectorNumElements());
5632 if (const auto *Entry = CostTableLookup(AVX512BoolReduction, ISD, MTy))
5635 if (const auto *Entry = CostTableLookup(AVX2BoolReduction, ISD, MTy))
5638 if (const auto *Entry = CostTableLookup(AVX1BoolReduction, ISD, MTy))
5641 if (const auto *Entry = CostTableLookup(SSE2BoolReduction, ISD, MTy))
5652 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits())
5658 if (LT.first != 1 && MTy.isVector() &&
5659 MTy.getVectorNumElements() < ValVTy->getNumElements()) {
5662 MTy.getVectorNumElements());
5665 NumVecElts = MTy.getVectorNumElements();
5734 MVT MTy = LT.second;
5793 MVT MTy = VT.getSimpleVT();
5795 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
5799 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5803 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
5807 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5816 if (LT.first != 1 && MTy.isVector() &&
5817 MTy.getVectorNumElements() < ValVTy->getNumElements()) {
5820 MTy.getVectorNumElements());
5823 NumVecElts = MTy.getVectorNumElements();
5827 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
5831 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5835 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
5839 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5847 ScalarSize != MTy.getScalarSizeInBits())