Lines Matching refs:LT

637     std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Src);  in getCastInstrCost()  local
638 if (const auto *Entry = CostTableLookup(NEONFltDblTbl, ISD, LT.second)) in getCastInstrCost()
639 return AdjustCost(LT.first * Entry->Cost); in getCastInstrCost()
903 std::pair<InstructionCost, MVT> LT = in getVectorInstrCost() local
905 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost()
1006 std::pair<InstructionCost, MVT> LT = in getCmpSelInstrCost() local
1008 return LT.first; in getCmpSelInstrCost()
1031 std::pair<InstructionCost, MVT> LT = in getCmpSelInstrCost() local
1039 if (LT.second.isVector() && LT.second.getVectorNumElements() > 2) { in getCmpSelInstrCost()
1040 if (LT.first > 1) in getCmpSelInstrCost()
1041 return LT.first * BaseCost + in getCmpSelInstrCost()
1225 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
1227 CostTableLookup(NEONDupTbl, ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
1228 return LT.first * Entry->Cost; in getShuffleCost()
1246 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
1248 CostTableLookup(NEONShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
1249 return LT.first * Entry->Cost; in getShuffleCost()
1270 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
1272 ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
1273 return LT.first * Entry->Cost; in getShuffleCost()
1286 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
1288 LT.second)) in getShuffleCost()
1289 return LT.first * Entry->Cost * in getShuffleCost()
1294 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local
1295 if (LT.second.isVector() && in getShuffleCost()
1296 Mask.size() <= LT.second.getVectorNumElements() && in getShuffleCost()
1297 (isVREVMask(Mask, LT.second, 16) || isVREVMask(Mask, LT.second, 32) || in getShuffleCost()
1298 isVREVMask(Mask, LT.second, 64))) in getShuffleCost()
1299 return ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput) * LT.first; in getShuffleCost()
1331 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local
1377 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
1378 return LT.first * Entry->Cost; in getArithmeticInstrCost()
1390 if (LT.second == MVT::v2i64 && in getArithmeticInstrCost()
1434 if (TLI->isOperationLegalOrCustomOrPromote(ISDOpcode, LT.second)) in getArithmeticInstrCost()
1435 return LT.first * BaseCost; in getArithmeticInstrCost()
1470 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, Src); in getMemoryOpCost() local
1471 return LT.first * 4; in getMemoryOpCost()
1571 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, DataTy); in getGatherScatterOpCost() local
1579 NumElems * LT.first * ST->getMVEVectorCostFactor(CostKind); in getGatherScatterOpCost()
1583 NumElems * LT.first + BaseT::getScalarizationOverhead(VTy, true, false) + in getGatherScatterOpCost()
1667 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost() local
1674 if (const auto *Entry = CostTableLookup(CostTblAdd, ISD, LT.second)) in getArithmeticReductionCost()
1675 return Entry->Cost * ST->getMVEVectorCostFactor(CostKind) * LT.first; in getArithmeticReductionCost()
1688 std::pair<InstructionCost, MVT> LT = in getExtendedAddReductionCost() local
1701 ((LT.second == MVT::v16i8 && RevVTSize <= 32) || in getExtendedAddReductionCost()
1702 (LT.second == MVT::v8i16 && RevVTSize <= (IsMLA ? 64u : 32u)) || in getExtendedAddReductionCost()
1703 (LT.second == MVT::v4i32 && RevVTSize <= 64))) in getExtendedAddReductionCost()
1704 return ST->getMVEVectorCostFactor(CostKind) * LT.first; in getExtendedAddReductionCost()
1734 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, VT); in getIntrinsicInstrCost() local
1735 if (LT.second == MVT::v4i32 || LT.second == MVT::v8i16 || in getIntrinsicInstrCost()
1736 LT.second == MVT::v16i8) { in getIntrinsicInstrCost()
1740 LT.second.getScalarSizeInBits() == VT->getScalarSizeInBits() ? 1 : 4; in getIntrinsicInstrCost()
1741 return LT.first * ST->getMVEVectorCostFactor(CostKind) * Instrs; in getIntrinsicInstrCost()
1754 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, VT); in getIntrinsicInstrCost() local
1755 if (LT.second == MVT::v4i32 || LT.second == MVT::v8i16 || in getIntrinsicInstrCost()
1756 LT.second == MVT::v16i8) in getIntrinsicInstrCost()
1757 return LT.first * ST->getMVEVectorCostFactor(CostKind); in getIntrinsicInstrCost()
1765 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, VT); in getIntrinsicInstrCost() local
1766 if (LT.second == MVT::v4f32 || LT.second == MVT::v8f16) in getIntrinsicInstrCost()
1767 return LT.first * ST->getMVEVectorCostFactor(CostKind); in getIntrinsicInstrCost()
1775 auto LT = TLI->getTypeLegalizationCost(DL, ICA.getArgTypes()[0]); in getIntrinsicInstrCost() local
1778 if ((ST->hasVFP2Base() && LT.second == MVT::f32 && MTy == MVT::i32) || in getIntrinsicInstrCost()
1779 (ST->hasFP64() && LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost()
1780 (ST->hasFullFP16() && LT.second == MVT::f16 && MTy == MVT::i32)) in getIntrinsicInstrCost()
1781 return LT.first; in getIntrinsicInstrCost()
1785 (LT.second == MVT::v4f32 || LT.second == MVT::v8f16) && in getIntrinsicInstrCost()
1786 LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits()) in getIntrinsicInstrCost()
1787 return LT.first * ST->getMVEVectorCostFactor(CostKind); in getIntrinsicInstrCost()
1790 if (((ST->hasVFP2Base() && LT.second == MVT::f32) || in getIntrinsicInstrCost()
1791 (ST->hasFP64() && LT.second == MVT::f64) || in getIntrinsicInstrCost()
1792 (ST->hasFullFP16() && LT.second == MVT::f16) || in getIntrinsicInstrCost()
1794 (LT.second == MVT::v4f32 || LT.second == MVT::v8f16))) && in getIntrinsicInstrCost()
1795 LT.second.getScalarSizeInBits() >= MTy.getScalarSizeInBits()) { in getIntrinsicInstrCost()
1797 LT.second.getScalarSizeInBits()); in getIntrinsicInstrCost()
1799 LT.second.isVector() ? ST->getMVEVectorCostFactor(CostKind) : 1; in getIntrinsicInstrCost()
1808 return LT.first * Cost; in getIntrinsicInstrCost()