Lines Matching defs:Entry

386     if (const auto *Entry =
388 if (auto KindCost = Entry->Cost[CostKind])
411 if (const auto *Entry =
413 if (auto KindCost = Entry->Cost[CostKind])
447 if (const auto *Entry =
449 if (auto KindCost = Entry->Cost[CostKind])
488 if (const auto *Entry =
490 if (auto KindCost = Entry->Cost[CostKind])
531 if (const auto *Entry =
533 if (auto KindCost = Entry->Cost[CostKind])
562 if (const auto *Entry =
564 if (auto KindCost = Entry->Cost[CostKind])
580 if (const auto *Entry =
582 if (auto KindCost = Entry->Cost[CostKind])
603 if (const auto *Entry =
605 if (auto KindCost = Entry->Cost[CostKind])
626 if (const auto *Entry = CostTableLookup(AVX2ConstCostTable, ISD, LT.second))
627 if (auto KindCost = Entry->Cost[CostKind])
648 if (const auto *Entry = CostTableLookup(AVXConstCostTable, ISD, LT.second))
649 if (auto KindCost = Entry->Cost[CostKind])
658 if (const auto *Entry =
660 if (auto KindCost = Entry->Cost[CostKind])
681 if (const auto *Entry = CostTableLookup(SSE2ConstCostTable, ISD, LT.second))
682 if (auto KindCost = Entry->Cost[CostKind])
702 if (const auto *Entry =
704 if (auto KindCost = Entry->Cost[CostKind])
726 if (const auto *Entry =
728 if (auto KindCost = Entry->Cost[CostKind])
763 if (const auto *Entry =
765 if (auto KindCost = Entry->Cost[CostKind])
801 if (const auto *Entry =
803 if (auto KindCost = Entry->Cost[CostKind])
827 if (const auto *Entry =
829 if (auto KindCost = Entry->Cost[CostKind])
840 if (const auto *Entry = CostTableLookup(AVX512DQCostTable, ISD, LT.second))
841 if (auto KindCost = Entry->Cost[CostKind])
889 if (const auto *Entry = CostTableLookup(AVX512BWCostTable, ISD, LT.second))
890 if (auto KindCost = Entry->Cost[CostKind])
983 if (const auto *Entry = CostTableLookup(AVX512CostTable, ISD, LT.second))
984 if (auto KindCost = Entry->Cost[CostKind])
1019 if (const auto *Entry = CostTableLookup(AVX2ShiftCostTable, ISD, LT.second))
1020 if (auto KindCost = Entry->Cost[CostKind])
1060 if (const auto *Entry =
1062 if (auto KindCost = Entry->Cost[CostKind])
1083 if (const auto *Entry = CostTableLookup(GLMCostTable, ISD, LT.second))
1084 if (auto KindCost = Entry->Cost[CostKind])
1112 if (const auto *Entry = CostTableLookup(SLMCostTable, ISD, LT.second))
1113 if (auto KindCost = Entry->Cost[CostKind])
1187 if (const auto *Entry = CostTableLookup(AVX2CostTable, ISD, LT.second))
1188 if (auto KindCost = Entry->Cost[CostKind])
1288 if (const auto *Entry = CostTableLookup(AVX1CostTable, ISD, LT.second))
1289 if (auto KindCost = Entry->Cost[CostKind])
1317 if (const auto *Entry = CostTableLookup(SSE42CostTable, ISD, LT.second))
1318 if (auto KindCost = Entry->Cost[CostKind])
1340 if (const auto *Entry = CostTableLookup(SSE41CostTable, ISD, LT.second))
1341 if (auto KindCost = Entry->Cost[CostKind])
1349 if (const auto *Entry = CostTableLookup(SSSE3CostTable, ISD, LT.second))
1350 if (auto KindCost = Entry->Cost[CostKind])
1419 if (const auto *Entry = CostTableLookup(SSE2CostTable, ISD, LT.second))
1420 if (auto KindCost = Entry->Cost[CostKind])
1441 if (const auto *Entry = CostTableLookup(SSE1CostTable, ISD, LT.second))
1442 if (auto KindCost = Entry->Cost[CostKind])
1452 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, LT.second))
1453 if (auto KindCost = Entry->Cost[CostKind])
1476 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, LT.second))
1477 if (auto KindCost = Entry->Cost[CostKind])
1707 if (const auto *Entry =
1709 if (auto KindCost = Entry->Cost[CostKind])
1818 if (const auto *Entry =
1820 if (auto KindCost = Entry->Cost[CostKind])
1854 if (const auto *Entry =
1856 if (auto KindCost = Entry->Cost[CostKind])
1934 if (const auto *Entry = CostTableLookup(AVX512ShuffleTbl, Kind, LT.second))
1935 if (auto KindCost = Entry->Cost[CostKind])
1953 if (const auto *Entry =
1955 if (auto KindCost = Entry->Cost[CostKind])
2003 if (const auto *Entry = CostTableLookup(AVX2ShuffleTbl, Kind, LT.second))
2004 if (auto KindCost = Entry->Cost[CostKind])
2027 if (const auto *Entry = CostTableLookup(XOPShuffleTbl, Kind, LT.second))
2028 if (auto KindCost = Entry->Cost[CostKind])
2057 if (const auto *Entry =
2059 if (auto KindCost = Entry->Cost[CostKind])
2122 if (const auto *Entry = CostTableLookup(AVX1ShuffleTbl, Kind, LT.second))
2123 if (auto KindCost = Entry->Cost[CostKind])
2137 if (const auto *Entry = CostTableLookup(SSE41ShuffleTbl, Kind, LT.second))
2138 if (auto KindCost = Entry->Cost[CostKind])
2170 if (const auto *Entry = CostTableLookup(SSSE3ShuffleTbl, Kind, LT.second))
2171 if (auto KindCost = Entry->Cost[CostKind])
2230 if (const auto *Entry =
2235 return LT.first * Entry->Cost;
2238 if (const auto *Entry = CostTableLookup(SSE2ShuffleTbl, Kind, LT.second))
2239 if (auto KindCost = Entry->Cost[CostKind])
2261 if (const auto *Entry = CostTableLookup(SSE1ShuffleTbl, Kind, LT.second))
2262 if (auto KindCost = Entry->Cost[CostKind])
3101 if (const auto *Entry = ConvertCostTableLookup(
3103 if (auto KindCost = Entry->Cost[CostKind])
3107 if (const auto *Entry = ConvertCostTableLookup(
3109 if (auto KindCost = Entry->Cost[CostKind])
3113 if (const auto *Entry = ConvertCostTableLookup(
3115 if (auto KindCost = Entry->Cost[CostKind])
3120 if (const auto *Entry = ConvertCostTableLookup(
3122 if (auto KindCost = Entry->Cost[CostKind])
3126 if (const auto *Entry = ConvertCostTableLookup(
3128 if (auto KindCost = Entry->Cost[CostKind])
3132 if (const auto *Entry = ConvertCostTableLookup(AVX512VLConversionTbl, ISD,
3134 if (auto KindCost = Entry->Cost[CostKind])
3138 if (const auto *Entry = ConvertCostTableLookup(AVX2ConversionTbl, ISD,
3140 if (auto KindCost = Entry->Cost[CostKind])
3145 if (const auto *Entry = ConvertCostTableLookup(AVXConversionTbl, ISD,
3147 if (auto KindCost = Entry->Cost[CostKind])
3152 if (const auto *Entry = ConvertCostTableLookup(F16ConversionTbl, ISD,
3154 if (auto KindCost = Entry->Cost[CostKind])
3159 if (const auto *Entry = ConvertCostTableLookup(SSE41ConversionTbl, ISD,
3161 if (auto KindCost = Entry->Cost[CostKind])
3166 if (const auto *Entry = ConvertCostTableLookup(SSE2ConversionTbl, ISD,
3168 if (auto KindCost = Entry->Cost[CostKind])
3190 if (const auto *Entry = ConvertCostTableLookup(
3192 if (auto KindCost = Entry->Cost[CostKind])
3196 if (const auto *Entry = ConvertCostTableLookup(
3198 if (auto KindCost = Entry->Cost[CostKind])
3202 if (const auto *Entry = ConvertCostTableLookup(
3204 if (auto KindCost = Entry->Cost[CostKind])
3209 if (const auto *Entry = ConvertCostTableLookup(AVX512BWVLConversionTbl, ISD,
3211 if (auto KindCost = Entry->Cost[CostKind])
3215 if (const auto *Entry = ConvertCostTableLookup(AVX512DQVLConversionTbl, ISD,
3217 if (auto KindCost = Entry->Cost[CostKind])
3221 if (const auto *Entry = ConvertCostTableLookup(AVX512VLConversionTbl, ISD,
3223 if (auto KindCost = Entry->Cost[CostKind])
3227 if (const auto *Entry = ConvertCostTableLookup(AVX2ConversionTbl, ISD,
3229 if (auto KindCost = Entry->Cost[CostKind])
3233 if (const auto *Entry = ConvertCostTableLookup(AVXConversionTbl, ISD,
3235 if (auto KindCost = Entry->Cost[CostKind])
3239 if (const auto *Entry = ConvertCostTableLookup(F16ConversionTbl, ISD,
3241 if (auto KindCost = Entry->Cost[CostKind])
3246 if (const auto *Entry = ConvertCostTableLookup(SSE41ConversionTbl, ISD,
3248 if (auto KindCost = Entry->Cost[CostKind])
3252 if (const auto *Entry = ConvertCostTableLookup(SSE2ConversionTbl, ISD,
3254 if (auto KindCost = Entry->Cost[CostKind])
3536 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
3537 if (auto KindCost = Entry->Cost[CostKind])
3541 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
3542 if (auto KindCost = Entry->Cost[CostKind])
3546 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy))
3547 if (auto KindCost = Entry->Cost[CostKind])
3551 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy))
3552 if (auto KindCost = Entry->Cost[CostKind])
3556 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy))
3557 if (auto KindCost = Entry->Cost[CostKind])
3561 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
3562 if (auto KindCost = Entry->Cost[CostKind])
3566 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy))
3567 if (auto KindCost = Entry->Cost[CostKind])
3571 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
3572 if (auto KindCost = Entry->Cost[CostKind])
3576 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
3577 if (auto KindCost = Entry->Cost[CostKind])
3581 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy))
3582 if (auto KindCost = Entry->Cost[CostKind])
4620 if (const auto *Entry = CostTableLookup(GLMCostTbl, ISD, MTy))
4621 if (auto KindCost = Entry->Cost[CostKind])
4622 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4625 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
4626 if (auto KindCost = Entry->Cost[CostKind])
4627 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4630 if (const auto *Entry = CostTableLookup(AVX512VBMI2CostTbl, ISD, MTy))
4631 if (auto KindCost = Entry->Cost[CostKind])
4632 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4635 if (const auto *Entry = CostTableLookup(AVX512BITALGCostTbl, ISD, MTy))
4636 if (auto KindCost = Entry->Cost[CostKind])
4637 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4640 if (const auto *Entry = CostTableLookup(AVX512VPOPCNTDQCostTbl, ISD, MTy))
4641 if (auto KindCost = Entry->Cost[CostKind])
4642 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4645 if (const auto *Entry = CostTableLookup(GFNICostTbl, ISD, MTy))
4646 if (auto KindCost = Entry->Cost[CostKind])
4647 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4650 if (const auto *Entry = CostTableLookup(AVX512CDCostTbl, ISD, MTy))
4651 if (auto KindCost = Entry->Cost[CostKind])
4652 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4655 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
4656 if (auto KindCost = Entry->Cost[CostKind])
4657 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4660 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy))
4661 if (auto KindCost = Entry->Cost[CostKind])
4662 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4665 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy))
4666 if (auto KindCost = Entry->Cost[CostKind])
4667 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4670 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy))
4671 if (auto KindCost = Entry->Cost[CostKind])
4672 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4675 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
4676 if (auto KindCost = Entry->Cost[CostKind])
4677 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4680 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy))
4681 if (auto KindCost = Entry->Cost[CostKind])
4682 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4685 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
4686 if (auto KindCost = Entry->Cost[CostKind])
4687 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4690 if (const auto *Entry = CostTableLookup(SSSE3CostTbl, ISD, MTy))
4691 if (auto KindCost = Entry->Cost[CostKind])
4692 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4695 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
4696 if (auto KindCost = Entry->Cost[CostKind])
4697 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4700 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy))
4701 if (auto KindCost = Entry->Cost[CostKind])
4702 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4706 if (const auto *Entry = CostTableLookup(BMI64CostTbl, ISD, MTy))
4707 if (auto KindCost = Entry->Cost[CostKind])
4708 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4710 if (const auto *Entry = CostTableLookup(BMI32CostTbl, ISD, MTy))
4711 if (auto KindCost = Entry->Cost[CostKind])
4712 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4717 if (const auto *Entry = CostTableLookup(LZCNT64CostTbl, ISD, MTy))
4718 if (auto KindCost = Entry->Cost[CostKind])
4719 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4721 if (const auto *Entry = CostTableLookup(LZCNT32CostTbl, ISD, MTy))
4722 if (auto KindCost = Entry->Cost[CostKind])
4723 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4728 if (const auto *Entry = CostTableLookup(POPCNT64CostTbl, ISD, MTy))
4729 if (auto KindCost = Entry->Cost[CostKind])
4730 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4732 if (const auto *Entry = CostTableLookup(POPCNT32CostTbl, ISD, MTy))
4733 if (auto KindCost = Entry->Cost[CostKind])
4734 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4738 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, MTy))
4739 if (auto KindCost = Entry->Cost[CostKind])
4740 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4742 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, MTy))
4743 if (auto KindCost = Entry->Cost[CostKind])
4744 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4887 if (auto *Entry = CostTableLookup(SLMCostTbl, ISD, MScalarTy))
4888 return Entry->Cost + RegisterFileMoveCost;
5523 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
5524 return Entry->Cost;
5527 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5528 return Entry->Cost;
5531 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5532 return Entry->Cost;
5562 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
5563 return ArithmeticCost + Entry->Cost;
5566 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5567 return ArithmeticCost + Entry->Cost;
5570 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5571 return ArithmeticCost + Entry->Cost;
5632 if (const auto *Entry = CostTableLookup(AVX512BoolReduction, ISD, MTy))
5633 return ArithmeticCost + Entry->Cost;
5635 if (const auto *Entry = CostTableLookup(AVX2BoolReduction, ISD, MTy))
5636 return ArithmeticCost + Entry->Cost;
5638 if (const auto *Entry = CostTableLookup(AVX1BoolReduction, ISD, MTy))
5639 return ArithmeticCost + Entry->Cost;
5641 if (const auto *Entry = CostTableLookup(SSE2BoolReduction, ISD, MTy))
5642 return ArithmeticCost + Entry->Cost;
5795 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
5796 return Entry->Cost;
5799 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5800 return Entry->Cost;
5803 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
5804 return Entry->Cost;
5807 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5808 return Entry->Cost;
5827 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
5828 return MinMaxCost + Entry->Cost;
5831 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5832 return MinMaxCost + Entry->Cost;
5835 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
5836 return MinMaxCost + Entry->Cost;
5839 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5840 return MinMaxCost + Entry->Cost;
6631 if (const auto *Entry =
6633 return MaskCost + NumOfMemOps * MemOpCost + Entry->Cost;
6691 if (const auto *Entry =
6693 return MaskCost + NumOfMemOps * MemOpCost + Entry->Cost;
6987 MemOpCosts](const CostTblEntry *Entry) {
6990 return MemOpCosts + divideCeil(NumMembers * Entry->Cost, Factor);
6994 if (const auto *Entry = CostTableLookup(AVX2InterleavedLoadTbl, Factor,
6996 return GetDiscountedCost(Entry);
6999 if (const auto *Entry = CostTableLookup(SSSE3InterleavedLoadTbl, Factor,
7001 return GetDiscountedCost(Entry);
7004 if (const auto *Entry = CostTableLookup(SSE2InterleavedLoadTbl, Factor,
7006 return GetDiscountedCost(Entry);
7013 if (const auto *Entry = CostTableLookup(AVX2InterleavedStoreTbl, Factor,
7015 return MemOpCosts + Entry->Cost;
7018 if (const auto *Entry = CostTableLookup(SSE2InterleavedStoreTbl, Factor,
7020 return MemOpCosts + Entry->Cost;