Lines Matching defs:Entry

387     if (const auto *Entry =
389 if (auto KindCost = Entry->Cost[CostKind])
412 if (const auto *Entry =
414 if (auto KindCost = Entry->Cost[CostKind])
448 if (const auto *Entry =
450 if (auto KindCost = Entry->Cost[CostKind])
489 if (const auto *Entry =
491 if (auto KindCost = Entry->Cost[CostKind])
532 if (const auto *Entry =
534 if (auto KindCost = Entry->Cost[CostKind])
563 if (const auto *Entry =
565 if (auto KindCost = Entry->Cost[CostKind])
581 if (const auto *Entry =
583 if (auto KindCost = Entry->Cost[CostKind])
604 if (const auto *Entry =
606 if (auto KindCost = Entry->Cost[CostKind])
627 if (const auto *Entry = CostTableLookup(AVX2ConstCostTable, ISD, LT.second))
628 if (auto KindCost = Entry->Cost[CostKind])
649 if (const auto *Entry = CostTableLookup(AVXConstCostTable, ISD, LT.second))
650 if (auto KindCost = Entry->Cost[CostKind])
659 if (const auto *Entry =
661 if (auto KindCost = Entry->Cost[CostKind])
682 if (const auto *Entry = CostTableLookup(SSE2ConstCostTable, ISD, LT.second))
683 if (auto KindCost = Entry->Cost[CostKind])
703 if (const auto *Entry =
705 if (auto KindCost = Entry->Cost[CostKind])
727 if (const auto *Entry =
729 if (auto KindCost = Entry->Cost[CostKind])
764 if (const auto *Entry =
766 if (auto KindCost = Entry->Cost[CostKind])
802 if (const auto *Entry =
804 if (auto KindCost = Entry->Cost[CostKind])
828 if (const auto *Entry =
830 if (auto KindCost = Entry->Cost[CostKind])
841 if (const auto *Entry = CostTableLookup(AVX512DQCostTable, ISD, LT.second))
842 if (auto KindCost = Entry->Cost[CostKind])
890 if (const auto *Entry = CostTableLookup(AVX512BWCostTable, ISD, LT.second))
891 if (auto KindCost = Entry->Cost[CostKind])
984 if (const auto *Entry = CostTableLookup(AVX512CostTable, ISD, LT.second))
985 if (auto KindCost = Entry->Cost[CostKind])
1020 if (const auto *Entry = CostTableLookup(AVX2ShiftCostTable, ISD, LT.second))
1021 if (auto KindCost = Entry->Cost[CostKind])
1061 if (const auto *Entry =
1063 if (auto KindCost = Entry->Cost[CostKind])
1084 if (const auto *Entry = CostTableLookup(GLMCostTable, ISD, LT.second))
1085 if (auto KindCost = Entry->Cost[CostKind])
1113 if (const auto *Entry = CostTableLookup(SLMCostTable, ISD, LT.second))
1114 if (auto KindCost = Entry->Cost[CostKind])
1188 if (const auto *Entry = CostTableLookup(AVX2CostTable, ISD, LT.second))
1189 if (auto KindCost = Entry->Cost[CostKind])
1289 if (const auto *Entry = CostTableLookup(AVX1CostTable, ISD, LT.second))
1290 if (auto KindCost = Entry->Cost[CostKind])
1318 if (const auto *Entry = CostTableLookup(SSE42CostTable, ISD, LT.second))
1319 if (auto KindCost = Entry->Cost[CostKind])
1341 if (const auto *Entry = CostTableLookup(SSE41CostTable, ISD, LT.second))
1342 if (auto KindCost = Entry->Cost[CostKind])
1350 if (const auto *Entry = CostTableLookup(SSSE3CostTable, ISD, LT.second))
1351 if (auto KindCost = Entry->Cost[CostKind])
1420 if (const auto *Entry = CostTableLookup(SSE2CostTable, ISD, LT.second))
1421 if (auto KindCost = Entry->Cost[CostKind])
1442 if (const auto *Entry = CostTableLookup(SSE1CostTable, ISD, LT.second))
1443 if (auto KindCost = Entry->Cost[CostKind])
1453 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, LT.second))
1454 if (auto KindCost = Entry->Cost[CostKind])
1477 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, LT.second))
1478 if (auto KindCost = Entry->Cost[CostKind])
1668 if (const auto *Entry =
1670 return Entry->Cost;
1783 if (const auto *Entry =
1785 return LT.first * Entry->Cost;
1818 if (const auto *Entry =
1820 return LT.first * Entry->Cost;
1897 if (const auto *Entry = CostTableLookup(AVX512ShuffleTbl, Kind, LT.second))
1898 if (auto KindCost = Entry->Cost[CostKind])
1952 if (const auto *Entry = CostTableLookup(AVX2ShuffleTbl, Kind, LT.second))
1953 return LT.first * Entry->Cost;
1974 if (const auto *Entry = CostTableLookup(XOPShuffleTbl, Kind, LT.second))
1975 return LT.first * Entry->Cost;
2037 if (const auto *Entry = CostTableLookup(AVX1ShuffleTbl, Kind, LT.second))
2038 return LT.first * Entry->Cost;
2051 if (const auto *Entry = CostTableLookup(SSE41ShuffleTbl, Kind, LT.second))
2052 return LT.first * Entry->Cost;
2083 if (const auto *Entry = CostTableLookup(SSSE3ShuffleTbl, Kind, LT.second))
2084 return LT.first * Entry->Cost;
2142 if (const auto *Entry =
2147 return LT.first * Entry->Cost;
2150 if (const auto *Entry = CostTableLookup(SSE2ShuffleTbl, Kind, LT.second))
2151 return LT.first * Entry->Cost;
2164 if (const auto *Entry = CostTableLookup(SSE1ShuffleTbl, Kind, LT.second))
2165 return LT.first * Entry->Cost;
2988 if (const auto *Entry = ConvertCostTableLookup(
2990 if (auto KindCost = Entry->Cost[CostKind])
2994 if (const auto *Entry = ConvertCostTableLookup(
2996 if (auto KindCost = Entry->Cost[CostKind])
3000 if (const auto *Entry = ConvertCostTableLookup(
3002 if (auto KindCost = Entry->Cost[CostKind])
3007 if (const auto *Entry = ConvertCostTableLookup(
3009 if (auto KindCost = Entry->Cost[CostKind])
3013 if (const auto *Entry = ConvertCostTableLookup(
3015 if (auto KindCost = Entry->Cost[CostKind])
3019 if (const auto *Entry = ConvertCostTableLookup(AVX512VLConversionTbl, ISD,
3021 if (auto KindCost = Entry->Cost[CostKind])
3025 if (const auto *Entry = ConvertCostTableLookup(AVX2ConversionTbl, ISD,
3027 if (auto KindCost = Entry->Cost[CostKind])
3032 if (const auto *Entry = ConvertCostTableLookup(AVXConversionTbl, ISD,
3034 if (auto KindCost = Entry->Cost[CostKind])
3039 if (const auto *Entry = ConvertCostTableLookup(SSE41ConversionTbl, ISD,
3041 if (auto KindCost = Entry->Cost[CostKind])
3046 if (const auto *Entry = ConvertCostTableLookup(SSE2ConversionTbl, ISD,
3048 if (auto KindCost = Entry->Cost[CostKind])
3063 if (const auto *Entry = ConvertCostTableLookup(
3065 if (auto KindCost = Entry->Cost[CostKind])
3069 if (const auto *Entry = ConvertCostTableLookup(
3071 if (auto KindCost = Entry->Cost[CostKind])
3075 if (const auto *Entry = ConvertCostTableLookup(
3077 if (auto KindCost = Entry->Cost[CostKind])
3082 if (const auto *Entry = ConvertCostTableLookup(AVX512BWVLConversionTbl, ISD,
3084 if (auto KindCost = Entry->Cost[CostKind])
3088 if (const auto *Entry = ConvertCostTableLookup(AVX512DQVLConversionTbl, ISD,
3090 if (auto KindCost = Entry->Cost[CostKind])
3094 if (const auto *Entry = ConvertCostTableLookup(AVX512VLConversionTbl, ISD,
3096 if (auto KindCost = Entry->Cost[CostKind])
3100 if (const auto *Entry = ConvertCostTableLookup(AVX2ConversionTbl, ISD,
3102 if (auto KindCost = Entry->Cost[CostKind])
3106 if (const auto *Entry = ConvertCostTableLookup(AVXConversionTbl, ISD,
3108 if (auto KindCost = Entry->Cost[CostKind])
3112 if (const auto *Entry = ConvertCostTableLookup(SSE41ConversionTbl, ISD,
3114 if (auto KindCost = Entry->Cost[CostKind])
3118 if (const auto *Entry = ConvertCostTableLookup(SSE2ConversionTbl, ISD,
3120 if (auto KindCost = Entry->Cost[CostKind])
3401 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
3402 if (auto KindCost = Entry->Cost[CostKind])
3406 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
3407 if (auto KindCost = Entry->Cost[CostKind])
3411 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy))
3412 if (auto KindCost = Entry->Cost[CostKind])
3416 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy))
3417 if (auto KindCost = Entry->Cost[CostKind])
3421 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy))
3422 if (auto KindCost = Entry->Cost[CostKind])
3426 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
3427 if (auto KindCost = Entry->Cost[CostKind])
3431 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy))
3432 if (auto KindCost = Entry->Cost[CostKind])
3436 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
3437 if (auto KindCost = Entry->Cost[CostKind])
3441 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
3442 if (auto KindCost = Entry->Cost[CostKind])
3446 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy))
3447 if (auto KindCost = Entry->Cost[CostKind])
4346 if (const auto *Entry = CostTableLookup(GLMCostTbl, ISD, MTy))
4347 if (auto KindCost = Entry->Cost[CostKind])
4348 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4351 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
4352 if (auto KindCost = Entry->Cost[CostKind])
4353 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4356 if (const auto *Entry = CostTableLookup(AVX512VBMI2CostTbl, ISD, MTy))
4357 if (auto KindCost = Entry->Cost[CostKind])
4358 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4361 if (const auto *Entry = CostTableLookup(AVX512BITALGCostTbl, ISD, MTy))
4362 if (auto KindCost = Entry->Cost[CostKind])
4363 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4366 if (const auto *Entry = CostTableLookup(AVX512VPOPCNTDQCostTbl, ISD, MTy))
4367 if (auto KindCost = Entry->Cost[CostKind])
4368 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4371 if (const auto *Entry = CostTableLookup(GFNICostTbl, ISD, MTy))
4372 if (auto KindCost = Entry->Cost[CostKind])
4373 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4376 if (const auto *Entry = CostTableLookup(AVX512CDCostTbl, ISD, MTy))
4377 if (auto KindCost = Entry->Cost[CostKind])
4378 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4381 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
4382 if (auto KindCost = Entry->Cost[CostKind])
4383 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4386 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy))
4387 if (auto KindCost = Entry->Cost[CostKind])
4388 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4391 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy))
4392 if (auto KindCost = Entry->Cost[CostKind])
4393 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4396 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy))
4397 if (auto KindCost = Entry->Cost[CostKind])
4398 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4401 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
4402 if (auto KindCost = Entry->Cost[CostKind])
4403 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4406 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy))
4407 if (auto KindCost = Entry->Cost[CostKind])
4408 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4411 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
4412 if (auto KindCost = Entry->Cost[CostKind])
4413 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4416 if (const auto *Entry = CostTableLookup(SSSE3CostTbl, ISD, MTy))
4417 if (auto KindCost = Entry->Cost[CostKind])
4418 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4421 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
4422 if (auto KindCost = Entry->Cost[CostKind])
4423 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4426 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy))
4427 if (auto KindCost = Entry->Cost[CostKind])
4428 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4432 if (const auto *Entry = CostTableLookup(BMI64CostTbl, ISD, MTy))
4433 if (auto KindCost = Entry->Cost[CostKind])
4434 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4436 if (const auto *Entry = CostTableLookup(BMI32CostTbl, ISD, MTy))
4437 if (auto KindCost = Entry->Cost[CostKind])
4438 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4443 if (const auto *Entry = CostTableLookup(LZCNT64CostTbl, ISD, MTy))
4444 if (auto KindCost = Entry->Cost[CostKind])
4445 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4447 if (const auto *Entry = CostTableLookup(LZCNT32CostTbl, ISD, MTy))
4448 if (auto KindCost = Entry->Cost[CostKind])
4449 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4454 if (const auto *Entry = CostTableLookup(POPCNT64CostTbl, ISD, MTy))
4455 if (auto KindCost = Entry->Cost[CostKind])
4456 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4458 if (const auto *Entry = CostTableLookup(POPCNT32CostTbl, ISD, MTy))
4459 if (auto KindCost = Entry->Cost[CostKind])
4460 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4464 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, MTy))
4465 if (auto KindCost = Entry->Cost[CostKind])
4466 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4468 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, MTy))
4469 if (auto KindCost = Entry->Cost[CostKind])
4470 return adjustTableCost(Entry->ISD, *KindCost, LT, ICA.getFlags());
4592 if (auto *Entry = CostTableLookup(SLMCostTbl, ISD, MScalarTy))
4593 return Entry->Cost + RegisterFileMoveCost;
5225 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
5226 return Entry->Cost;
5229 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5230 return Entry->Cost;
5233 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5234 return Entry->Cost;
5264 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy))
5265 return ArithmeticCost + Entry->Cost;
5268 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5269 return ArithmeticCost + Entry->Cost;
5272 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5273 return ArithmeticCost + Entry->Cost;
5334 if (const auto *Entry = CostTableLookup(AVX512BoolReduction, ISD, MTy))
5335 return ArithmeticCost + Entry->Cost;
5337 if (const auto *Entry = CostTableLookup(AVX2BoolReduction, ISD, MTy))
5338 return ArithmeticCost + Entry->Cost;
5340 if (const auto *Entry = CostTableLookup(AVX1BoolReduction, ISD, MTy))
5341 return ArithmeticCost + Entry->Cost;
5343 if (const auto *Entry = CostTableLookup(SSE2BoolReduction, ISD, MTy))
5344 return ArithmeticCost + Entry->Cost;
5498 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
5499 return Entry->Cost;
5502 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5503 return Entry->Cost;
5506 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
5507 return Entry->Cost;
5510 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5511 return Entry->Cost;
5530 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy))
5531 return MinMaxCost + Entry->Cost;
5534 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy))
5535 return MinMaxCost + Entry->Cost;
5538 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy))
5539 return MinMaxCost + Entry->Cost;
5542 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy))
5543 return MinMaxCost + Entry->Cost;
6328 if (const auto *Entry =
6330 return MaskCost + NumOfMemOps * MemOpCost + Entry->Cost;
6388 if (const auto *Entry =
6390 return MaskCost + NumOfMemOps * MemOpCost + Entry->Cost;
6684 MemOpCosts](const CostTblEntry *Entry) {
6687 return MemOpCosts + divideCeil(NumMembers * Entry->Cost, Factor);
6691 if (const auto *Entry = CostTableLookup(AVX2InterleavedLoadTbl, Factor,
6693 return GetDiscountedCost(Entry);
6696 if (const auto *Entry = CostTableLookup(SSSE3InterleavedLoadTbl, Factor,
6698 return GetDiscountedCost(Entry);
6701 if (const auto *Entry = CostTableLookup(SSE2InterleavedLoadTbl, Factor,
6703 return GetDiscountedCost(Entry);
6710 if (const auto *Entry = CostTableLookup(AVX2InterleavedStoreTbl, Factor,
6712 return MemOpCosts + Entry->Cost;
6715 if (const auto *Entry = CostTableLookup(SSE2InterleavedStoreTbl, Factor,
6717 return MemOpCosts + Entry->Cost;