Lines Matching refs:ValTy

878 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy,  in getVectorInstrCost()  argument
885 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
892 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost()
897 if (ValTy->isVectorTy() && in getVectorInstrCost()
898 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
900 BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1), in getVectorInstrCost()
910 getTypeLegalizationCost(ValTy->getScalarType()); in getVectorInstrCost()
911 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost()
914 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getVectorInstrCost()
917 InstructionCost ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
926 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
928 if (TLI->getValueType(DL, ValTy, true) == MVT::Other) in getCmpSelInstrCost()
935 InstructionCost Cost = getTypeLegalizationCost(ValTy).first; in getCmpSelInstrCost()
942 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost()
955 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost()
956 (ValTy->isIntOrIntVectorTy() || ValTy->isFPOrFPVectorTy())) { in getCmpSelInstrCost()
989 IntrinsicCostAttributes CostAttrs(IID, ValTy, {ValTy, ValTy}); in getCmpSelInstrCost()
995 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
1004 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
1012 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
1016 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost()
1018 cast<FixedVectorType>(ValTy)->getNumElements() > 1) { in getCmpSelInstrCost()
1019 FixedVectorType *VecValTy = cast<FixedVectorType>(ValTy); in getCmpSelInstrCost()
1033 getCmpSelInstrCost(Opcode, ValTy->getScalarType(), in getCmpSelInstrCost()
1038 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
1057 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost()
1061 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
1670 ARMTTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, in getArithmeticReductionCost() argument
1674 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost()
1685 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements(); in getArithmeticReductionCost()
1690 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2); in getArithmeticReductionCost()
1707 getArithmeticInstrCost(Opcode, ValTy->getElementType(), CostKind); in getArithmeticReductionCost()
1712 unsigned NumElts = cast<FixedVectorType>(ValTy)->getNumElements(); in getArithmeticReductionCost()
1717 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts / 2); in getArithmeticReductionCost()
1725 Type *VecTy = FixedVectorType::get(ValTy->getElementType(), NumElts); in getArithmeticReductionCost()
1735 Opcode, ValTy->getElementType(), CostKind); in getArithmeticReductionCost()
1740 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1742 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getArithmeticReductionCost()
1752 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1756 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument
1758 EVT ValVT = TLI->getValueType(DL, ValTy); in getExtendedReductionCost()
1766 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getExtendedReductionCost()
1785 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, FMF, in getExtendedReductionCost()
1791 VectorType *ValTy, in getMulAccReductionCost() argument
1793 EVT ValVT = TLI->getValueType(DL, ValTy); in getMulAccReductionCost()
1797 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getMulAccReductionCost()
1813 return BaseT::getMulAccReductionCost(IsUnsigned, ResTy, ValTy, CostKind); in getMulAccReductionCost()