Lines Matching refs:LT

640     std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Src);  in getCastInstrCost()  local
641 if (const auto *Entry = CostTableLookup(NEONFltDblTbl, ISD, LT.second)) in getCastInstrCost()
642 return AdjustCost(LT.first * Entry->Cost); in getCastInstrCost()
909 std::pair<InstructionCost, MVT> LT = in getVectorInstrCost() local
911 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost()
1012 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local
1013 return LT.first; in getCmpSelInstrCost()
1038 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local
1045 if (LT.second.isVector() && LT.second.getVectorNumElements() > 2) { in getCmpSelInstrCost()
1046 if (LT.first > 1) in getCmpSelInstrCost()
1047 return LT.first * BaseCost + in getCmpSelInstrCost()
1233 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost() local
1235 CostTableLookup(NEONDupTbl, ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
1236 return LT.first * Entry->Cost; in getShuffleCost()
1254 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost() local
1256 CostTableLookup(NEONShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
1257 return LT.first * Entry->Cost; in getShuffleCost()
1278 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost() local
1280 ISD::VECTOR_SHUFFLE, LT.second)) in getShuffleCost()
1281 return LT.first * Entry->Cost; in getShuffleCost()
1294 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost() local
1296 LT.second)) in getShuffleCost()
1297 return LT.first * Entry->Cost * in getShuffleCost()
1302 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost() local
1303 if (LT.second.isVector() && in getShuffleCost()
1304 Mask.size() <= LT.second.getVectorNumElements() && in getShuffleCost()
1305 (isVREVMask(Mask, LT.second, 16) || isVREVMask(Mask, LT.second, 32) || in getShuffleCost()
1306 isVREVMask(Mask, LT.second, 64))) in getShuffleCost()
1307 return ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput) * LT.first; in getShuffleCost()
1339 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Ty); in getArithmeticInstrCost() local
1385 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
1386 return LT.first * Entry->Cost; in getArithmeticInstrCost()
1398 if (LT.second == MVT::v2i64 && Op2Info.isUniform() && Op2Info.isConstant()) in getArithmeticInstrCost()
1441 if (TLI->isOperationLegalOrCustomOrPromote(ISDOpcode, LT.second)) in getArithmeticInstrCost()
1442 return LT.first * BaseCost; in getArithmeticInstrCost()
1479 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Src); in getMemoryOpCost() local
1480 return LT.first * 4; in getMemoryOpCost()
1580 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(DataTy); in getGatherScatterOpCost() local
1588 NumElems * LT.first * ST->getMVEVectorCostFactor(CostKind); in getGatherScatterOpCost()
1594 NumElems * LT.first + (VariableMask ? NumElems * 5 : 0) + in getGatherScatterOpCost()
1742 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getArithmeticReductionCost() local
1749 if (const auto *Entry = CostTableLookup(CostTblAdd, ISD, LT.second)) in getArithmeticReductionCost()
1750 return Entry->Cost * ST->getMVEVectorCostFactor(CostKind) * LT.first; in getArithmeticReductionCost()
1766 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getExtendedReductionCost() local
1776 ((LT.second == MVT::v16i8 && RevVTSize <= 32) || in getExtendedReductionCost()
1777 (LT.second == MVT::v8i16 && RevVTSize <= 32) || in getExtendedReductionCost()
1778 (LT.second == MVT::v4i32 && RevVTSize <= 64))) in getExtendedReductionCost()
1779 return ST->getMVEVectorCostFactor(CostKind) * LT.first; in getExtendedReductionCost()
1797 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getMulAccReductionCost() local
1807 ((LT.second == MVT::v16i8 && RevVTSize <= 32) || in getMulAccReductionCost()
1808 (LT.second == MVT::v8i16 && RevVTSize <= 64) || in getMulAccReductionCost()
1809 (LT.second == MVT::v4i32 && RevVTSize <= 64))) in getMulAccReductionCost()
1810 return ST->getMVEVectorCostFactor(CostKind) * LT.first; in getMulAccReductionCost()
1859 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Ty); in getMinMaxReductionCost() local
1869 if (const auto *Entry = CostTableLookup(CostTblAdd, ISD::SMIN, LT.second)) in getMinMaxReductionCost()
1870 return Entry->Cost * ST->getMVEVectorCostFactor(CostKind) * LT.first; in getMinMaxReductionCost()
1899 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(VT); in getIntrinsicInstrCost() local
1900 if (LT.second == MVT::v4i32 || LT.second == MVT::v8i16 || in getIntrinsicInstrCost()
1901 LT.second == MVT::v16i8) { in getIntrinsicInstrCost()
1905 LT.second.getScalarSizeInBits() == VT->getScalarSizeInBits() ? 1 : 4; in getIntrinsicInstrCost()
1906 return LT.first * ST->getMVEVectorCostFactor(CostKind) * Instrs; in getIntrinsicInstrCost()
1919 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(VT); in getIntrinsicInstrCost() local
1920 if (LT.second == MVT::v4i32 || LT.second == MVT::v8i16 || in getIntrinsicInstrCost()
1921 LT.second == MVT::v16i8) in getIntrinsicInstrCost()
1922 return LT.first * ST->getMVEVectorCostFactor(CostKind); in getIntrinsicInstrCost()
1930 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(VT); in getIntrinsicInstrCost() local
1931 if (LT.second == MVT::v4f32 || LT.second == MVT::v8f16) in getIntrinsicInstrCost()
1932 return LT.first * ST->getMVEVectorCostFactor(CostKind); in getIntrinsicInstrCost()
1940 auto LT = getTypeLegalizationCost(ICA.getArgTypes()[0]); in getIntrinsicInstrCost() local
1943 if ((ST->hasVFP2Base() && LT.second == MVT::f32 && MTy == MVT::i32) || in getIntrinsicInstrCost()
1944 (ST->hasFP64() && LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost()
1945 (ST->hasFullFP16() && LT.second == MVT::f16 && MTy == MVT::i32)) in getIntrinsicInstrCost()
1946 return LT.first; in getIntrinsicInstrCost()
1950 (LT.second == MVT::v4f32 || LT.second == MVT::v8f16) && in getIntrinsicInstrCost()
1951 LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits()) in getIntrinsicInstrCost()
1952 return LT.first * ST->getMVEVectorCostFactor(CostKind); in getIntrinsicInstrCost()
1955 if (((ST->hasVFP2Base() && LT.second == MVT::f32) || in getIntrinsicInstrCost()
1956 (ST->hasFP64() && LT.second == MVT::f64) || in getIntrinsicInstrCost()
1957 (ST->hasFullFP16() && LT.second == MVT::f16) || in getIntrinsicInstrCost()
1959 (LT.second == MVT::v4f32 || LT.second == MVT::v8f16))) && in getIntrinsicInstrCost()
1960 LT.second.getScalarSizeInBits() >= MTy.getScalarSizeInBits()) { in getIntrinsicInstrCost()
1962 LT.second.getScalarSizeInBits()); in getIntrinsicInstrCost()
1964 LT.second.isVector() ? ST->getMVEVectorCostFactor(CostKind) : 1; in getIntrinsicInstrCost()
1973 return LT.first * Cost; in getIntrinsicInstrCost()