Lines Matching refs:ValTy

875 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy,  in getVectorInstrCost()  argument
880 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
887 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost()
892 if (ValTy->isVectorTy() && in getVectorInstrCost()
893 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
895 BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
904 getTLI()->getTypeLegalizationCost(DL, ValTy->getScalarType()); in getVectorInstrCost()
905 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost()
908 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
911 InstructionCost ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
920 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
922 if (TLI->getValueType(DL, ValTy, true) == MVT::Other) in getCmpSelInstrCost()
929 InstructionCost Cost = TLI->getTypeLegalizationCost(DL, ValTy).first; in getCmpSelInstrCost()
936 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost()
949 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost()
950 (ValTy->isIntOrIntVectorTy() || ValTy->isFPOrFPVectorTy())) { in getCmpSelInstrCost()
983 IntrinsicCostAttributes CostAttrs(IID, ValTy, {ValTy, ValTy}); in getCmpSelInstrCost()
989 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
998 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
1007 TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
1011 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost()
1013 cast<FixedVectorType>(ValTy)->getNumElements() > 1) { in getCmpSelInstrCost()
1014 FixedVectorType *VecValTy = cast<FixedVectorType>(ValTy); in getCmpSelInstrCost()
1026 getCmpSelInstrCost(Opcode, ValTy->getScalarType(), in getCmpSelInstrCost()
1032 TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
1050 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost()
1054 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
1656 ARMTTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, in getArithmeticReductionCost() argument
1660 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1662 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost()
1665 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1667 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost()
1677 return BaseT::getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getArithmeticReductionCost()
1682 Type *ResTy, VectorType *ValTy, in getExtendedAddReductionCost() argument
1684 EVT ValVT = TLI->getValueType(DL, ValTy); in getExtendedAddReductionCost()
1689 TLI->getTypeLegalizationCost(DL, ValTy); in getExtendedAddReductionCost()
1707 return BaseT::getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, ValTy, in getExtendedAddReductionCost()