Lines Matching refs:ValTy
805 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
810 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
817 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost()
822 if (ValTy->isVectorTy() && in getVectorInstrCost()
823 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
825 BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
834 getTLI()->getTypeLegalizationCost(DL, ValTy->getScalarType()); in getVectorInstrCost()
835 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost()
838 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
841 InstructionCost ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
850 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
852 if (TLI->getValueType(DL, ValTy, true) == MVT::Other) in getCmpSelInstrCost()
859 InstructionCost Cost = TLI->getTypeLegalizationCost(DL, ValTy).first; in getCmpSelInstrCost()
866 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost()
879 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost()
880 (ValTy->isIntOrIntVectorTy() || ValTy->isFPOrFPVectorTy())) { in getCmpSelInstrCost()
913 IntrinsicCostAttributes CostAttrs(IID, ValTy, {ValTy, ValTy}); in getCmpSelInstrCost()
919 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
928 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
937 TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
941 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost()
943 cast<FixedVectorType>(ValTy)->getNumElements() > 1) { in getCmpSelInstrCost()
944 FixedVectorType *VecValTy = cast<FixedVectorType>(ValTy); in getCmpSelInstrCost()
956 getCmpSelInstrCost(Opcode, ValTy->getScalarType(), in getCmpSelInstrCost()
962 TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
980 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost()
984 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
1596 ARMTTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, in getArithmeticReductionCost() argument
1600 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1602 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost()
1605 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1607 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost()
1617 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1622 Type *ResTy, VectorType *ValTy, in getExtendedAddReductionCost() argument
1624 EVT ValVT = TLI->getValueType(DL, ValTy); in getExtendedAddReductionCost()
1628 TLI->getTypeLegalizationCost(DL, ValTy); in getExtendedAddReductionCost()
1636 return BaseT::getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, ValTy, in getExtendedAddReductionCost()