Lines Matching refs:VF
398 unsigned VF = Ty->getVectorNumElements(); in getArithmeticInstrCost() local
411 return VF * DivMulSeqCost + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()
412 if ((SignedDivRem || UnsignedDivRem) && VF > 4) in getArithmeticInstrCost()
434 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()
437 if (VF == 2) in getArithmeticInstrCost()
451 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()
453 if (VF == 2 && ScalarBits == 32) in getArithmeticInstrCost()
563 unsigned VF = SrcTy->getVectorNumElements(); in getVectorTruncCost() local
573 if (VF == 8 && SrcTy->getScalarSizeInBits() == 64 && in getVectorTruncCost()
607 static Type *getCmpOpsType(const Instruction *I, unsigned VF = 1) { in getCmpOpsType() argument
618 if (VF == 1) { in getCmpOpsType()
625 return VectorType::get(ElTy, VF); in getCmpOpsType()
637 unsigned VF = Dst->getVectorNumElements(); in getBoolVecToIntConversionCost() local
641 Type *CmpOpTy = ((I != nullptr) ? getCmpOpsType(I, VF) : nullptr); in getBoolVecToIntConversionCost()
658 unsigned VF = Src->getVectorNumElements(); in getCastInstrCost() local
704 unsigned TotCost = VF * ScalarCost; in getCastInstrCost()
718 if (VF == 2 && SrcScalarBits == 32 && DstScalarBits == 32) in getCastInstrCost()
726 return VF /*ldxbr/lexbr*/ + getScalarizationOverhead(Dst, true, false); in getCastInstrCost()
728 return VF / 2 /*vledb*/ + std::max(1U, VF / 4 /*vperm*/); in getCastInstrCost()
736 return VF * 2; in getCastInstrCost()
739 return VF + getScalarizationOverhead(Src, false, true); in getCastInstrCost()
791 unsigned VF = ValTy->getVectorNumElements(); in getCmpSelInstrCost() local
831 Type *CmpOpTy = ((I != nullptr) ? getCmpOpsType(I, VF) : nullptr); in getCmpSelInstrCost()
1059 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost() local
1071 for (unsigned Elt = 0; Elt < VF; ++Elt) { in getInterleavedMemoryOpCost()
1083 unsigned NumDstVecs = ceil(VF * getScalarSizeInBits(VecTy), 128U); in getInterleavedMemoryOpCost()
1109 FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost() argument
1113 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()