Lines Matching refs:LT
93 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local
130 LT.second)) in getArithmeticInstrCost()
131 return LT.first * Entry->Cost; in getArithmeticInstrCost()
144 if (const auto *Entry = CostTableLookup(AVX512CostTable, ISD, LT.second)) in getArithmeticInstrCost()
145 return LT.first * Entry->Cost; in getArithmeticInstrCost()
165 if (ISD == ISD::SHL && LT.second == MVT::v16i16 && in getArithmeticInstrCost()
170 return LT.first; in getArithmeticInstrCost()
172 if (const auto *Entry = CostTableLookup(AVX2CostTable, ISD, LT.second)) in getArithmeticInstrCost()
173 return LT.first * Entry->Cost; in getArithmeticInstrCost()
207 if (const auto *Entry = CostTableLookup(XOPCostTable, ISD, LT.second)) in getArithmeticInstrCost()
208 return LT.first * Entry->Cost; in getArithmeticInstrCost()
237 LT.second)) in getArithmeticInstrCost()
238 return LT.first * Entry->Cost; in getArithmeticInstrCost()
282 if (ISD == ISD::SDIV && LT.second == MVT::v4i32 && ST->hasSSE41()) in getArithmeticInstrCost()
283 return LT.first * 15; in getArithmeticInstrCost()
286 LT.second)) in getArithmeticInstrCost()
287 return LT.first * Entry->Cost; in getArithmeticInstrCost()
292 MVT VT = LT.second; in getArithmeticInstrCost()
297 return LT.first; in getArithmeticInstrCost()
365 if (const auto *Entry = CostTableLookup(SSE2CostTable, ISD, LT.second)) in getArithmeticInstrCost()
366 return LT.first * Entry->Cost; in getArithmeticInstrCost()
389 MVT VT = LT.second; in getArithmeticInstrCost()
392 return LT.first * Entry->Cost; in getArithmeticInstrCost()
402 if (const auto *Entry = CostTableLookup(CustomLowered, ISD, LT.second)) in getArithmeticInstrCost()
403 return LT.first * Entry->Cost; in getArithmeticInstrCost()
407 if (ISD == ISD::MUL && LT.second == MVT::v4i32 && ST->hasSSE2() && in getArithmeticInstrCost()
409 return LT.first * 6; in getArithmeticInstrCost()
422 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
424 if (LT.second.getSizeInBits() > 128) in getShuffleCost()
428 return Cost * LT.first; in getShuffleCost()
434 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
438 if (ST->hasAVX2() && LT.second == MVT::v16i16) in getShuffleCost()
439 return LT.first; in getShuffleCost()
459 ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
460 return LT.first * Entry->Cost; in getShuffleCost()
482 LT.second)) in getShuffleCost()
483 return LT.first * Entry->Cost; in getShuffleCost()
500 ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
501 return LT.first * Entry->Cost; in getShuffleCost()
519 ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
520 return LT.first * Entry->Cost; in getShuffleCost()
879 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() local
881 MVT MTy = LT.second; in getCmpSelInstrCost()
925 return LT.first * Entry->Cost; in getCmpSelInstrCost()
929 return LT.first * Entry->Cost; in getCmpSelInstrCost()
933 return LT.first * Entry->Cost; in getCmpSelInstrCost()
937 return LT.first * Entry->Cost; in getCmpSelInstrCost()
941 return LT.first * Entry->Cost; in getCmpSelInstrCost()
1008 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, RetTy); in getIntrinsicInstrCost() local
1009 MVT MTy = LT.second; in getIntrinsicInstrCost()
1014 return LT.first * Entry->Cost; in getIntrinsicInstrCost()
1018 return LT.first * Entry->Cost; in getIntrinsicInstrCost()
1022 return LT.first * Entry->Cost; in getIntrinsicInstrCost()
1026 return LT.first * Entry->Cost; in getIntrinsicInstrCost()
1030 return LT.first * Entry->Cost; in getIntrinsicInstrCost()
1047 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Val); in getVectorInstrCost() local
1050 if (!LT.second.isVector()) in getVectorInstrCost()
1054 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
1113 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Src); in getMemoryOpCost() local
1118 int Cost = LT.first * 1; in getMemoryOpCost()
1122 if (LT.second.getStoreSize() == 32 && ST->isUnalignedMem32Slow()) in getMemoryOpCost()
1158 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, SrcVTy); in getMaskedMemoryOpCost() local
1161 if (VT.isSimple() && LT.second != VT.getSimpleVT() && in getMaskedMemoryOpCost()
1162 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost()
1167 else if (LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
1169 LT.second.getVectorNumElements()); in getMaskedMemoryOpCost()
1174 return Cost + LT.first*4; // Each maskmov costs 4 in getMaskedMemoryOpCost()
1177 return Cost+LT.first; in getMaskedMemoryOpCost()
1196 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getReductionCost() local
1198 MVT MTy = LT.second; in getReductionCost()
1247 return LT.first * Entry->Cost; in getReductionCost()
1251 return LT.first * Entry->Cost; in getReductionCost()
1255 return LT.first * Entry->Cost; in getReductionCost()
1259 return LT.first * Entry->Cost; in getReductionCost()