Lines Matching refs:ValTy
780 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
785 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
792 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost()
797 if (ValTy->isVectorTy() && in getVectorInstrCost()
798 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
799 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
808 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), in getVectorInstrCost()
810 cast<FixedVectorType>(ValTy)->getNumElements() / 2; in getVectorInstrCost()
813 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
816 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
824 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
826 if (TLI->getValueType(DL, ValTy, true) == MVT::Other) in getCmpSelInstrCost()
833 int Cost = TLI->getTypeLegalizationCost(DL, ValTy).first; in getCmpSelInstrCost()
840 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost()
847 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
856 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
864 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
872 ValTy->isVectorTy()) in getCmpSelInstrCost()
876 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
1460 int ARMTTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, in getArithmeticReductionCost() argument
1463 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost()
1466 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm, in getArithmeticReductionCost()
1469 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost()
1479 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm, in getArithmeticReductionCost()