Lines Matching refs:LT

92   std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty);  in getArithmeticInstrCost()  local
130 int Idx = CostTableLookup(AVX2UniformConstCostTable, ISD, LT.second); in getArithmeticInstrCost()
132 return LT.first * AVX2UniformConstCostTable[Idx].Cost; in getArithmeticInstrCost()
180 int Idx = CostTableLookup(AVX512CostTable, ISD, LT.second); in getArithmeticInstrCost()
182 return LT.first * AVX512CostTable[Idx].Cost; in getArithmeticInstrCost()
186 if (ISD == ISD::SHL && LT.second == MVT::v16i16 && in getArithmeticInstrCost()
191 return LT.first; in getArithmeticInstrCost()
193 int Idx = CostTableLookup(AVX2CostTable, ISD, LT.second); in getArithmeticInstrCost()
195 return LT.first * AVX2CostTable[Idx].Cost; in getArithmeticInstrCost()
227 if (ISD == ISD::SDIV && LT.second == MVT::v4i32 && ST->hasSSE41()) in getArithmeticInstrCost()
228 return LT.first * 15; in getArithmeticInstrCost()
230 int Idx = CostTableLookup(SSE2UniformConstCostTable, ISD, LT.second); in getArithmeticInstrCost()
232 return LT.first * SSE2UniformConstCostTable[Idx].Cost; in getArithmeticInstrCost()
237 EVT VT = LT.second; in getArithmeticInstrCost()
242 return LT.first; in getArithmeticInstrCost()
292 int Idx = CostTableLookup(SSE2CostTable, ISD, LT.second); in getArithmeticInstrCost()
294 return LT.first * SSE2CostTable[Idx].Cost; in getArithmeticInstrCost()
317 EVT VT = LT.second; in getArithmeticInstrCost()
327 return LT.first * AVX1CostTable[Idx].Cost; in getArithmeticInstrCost()
337 int Idx = CostTableLookup(CustomLowered, ISD, LT.second); in getArithmeticInstrCost()
339 return LT.first * CustomLowered[Idx].Cost; in getArithmeticInstrCost()
343 if (ISD == ISD::MUL && LT.second == MVT::v4i32 && ST->hasSSE2() && in getArithmeticInstrCost()
345 return LT.first * 6; in getArithmeticInstrCost()
358 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
360 if (LT.second.getSizeInBits() > 128) in getShuffleCost()
364 return Cost * LT.first; in getShuffleCost()
370 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
374 if (ST->hasAVX2() && LT.second == MVT::v16i16) in getShuffleCost()
375 return LT.first; in getShuffleCost()
394 int Idx = CostTableLookup(AVXAltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); in getShuffleCost()
396 return LT.first * AVXAltShuffleTbl[Idx].Cost; in getShuffleCost()
418 int Idx = CostTableLookup(SSE41AltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); in getShuffleCost()
420 return LT.first * SSE41AltShuffleTbl[Idx].Cost; in getShuffleCost()
437 int Idx = CostTableLookup(SSSE3AltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); in getShuffleCost()
439 return LT.first * SSSE3AltShuffleTbl[Idx].Cost; in getShuffleCost()
457 int Idx = CostTableLookup(SSEAltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); in getShuffleCost()
459 return LT.first * SSEAltShuffleTbl[Idx].Cost; in getShuffleCost()
673 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() local
675 MVT MTy = LT.second; in getCmpSelInstrCost()
716 return LT.first * AVX512CostTbl[Idx].Cost; in getCmpSelInstrCost()
722 return LT.first * AVX2CostTbl[Idx].Cost; in getCmpSelInstrCost()
728 return LT.first * AVX1CostTbl[Idx].Cost; in getCmpSelInstrCost()
734 return LT.first * SSE42CostTbl[Idx].Cost; in getCmpSelInstrCost()
746 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Val); in getVectorInstrCost() local
749 if (!LT.second.isVector()) in getVectorInstrCost()
753 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
809 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Src); in getMemoryOpCost() local
814 unsigned Cost = LT.first * 1; in getMemoryOpCost()
818 if (LT.second.getSizeInBits() > 128 && !ST->hasAVX2()) in getMemoryOpCost()
856 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, SrcVTy); in getMaskedMemoryOpCost() local
858 if (LT.second != TLI->getValueType(DL, SrcVTy).getSimpleVT() && in getMaskedMemoryOpCost()
859 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost()
864 else if (LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
866 LT.second.getVectorNumElements()); in getMaskedMemoryOpCost()
871 return Cost + LT.first*4; // Each maskmov costs 4 in getMaskedMemoryOpCost()
874 return Cost+LT.first; in getMaskedMemoryOpCost()
893 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getReductionCost() local
895 MVT MTy = LT.second; in getReductionCost()
945 return LT.first * AVX1CostTblPairWise[Idx].Cost; in getReductionCost()
951 return LT.first * SSE42CostTblPairWise[Idx].Cost; in getReductionCost()
957 return LT.first * AVX1CostTblNoPairWise[Idx].Cost; in getReductionCost()
963 return LT.first * SSE42CostTblNoPairWise[Idx].Cost; in getReductionCost()