Lines Matching refs:VF
532 unsigned VF = VTy->getNumElements(); in getArithmeticInstrCost() local
546 return VF * DivMulSeqCost + in getArithmeticInstrCost()
549 if ((SignedDivRem || UnsignedDivRem) && VF > 4) in getArithmeticInstrCost()
573 (VF * ScalarCost) + in getArithmeticInstrCost()
577 if (VF == 2) in getArithmeticInstrCost()
592 InstructionCost Cost = (VF * LIBCALL_COST) + in getArithmeticInstrCost()
595 if (VF == 2 && ScalarBits == 32) in getArithmeticInstrCost()
681 unsigned VF = cast<FixedVectorType>(SrcTy)->getNumElements(); in getVectorTruncCost() local
691 if (VF == 8 && SrcTy->getScalarSizeInBits() == 64 && in getVectorTruncCost()
725 static Type *getCmpOpsType(const Instruction *I, unsigned VF = 1) { in getCmpOpsType() argument
736 if (VF == 1) { in getCmpOpsType()
743 return FixedVectorType::get(ElTy, VF); in getCmpOpsType()
755 unsigned VF = DstVTy->getNumElements(); in getBoolVecToIntConversionCost() local
759 Type *CmpOpTy = ((I != nullptr) ? getCmpOpsType(I, VF) : nullptr); in getBoolVecToIntConversionCost()
853 unsigned VF = SrcVecTy->getNumElements(); in getCastInstrCost() local
903 InstructionCost TotCost = VF * ScalarCost; in getCastInstrCost()
919 if (VF == 2 && SrcScalarBits == 32 && DstScalarBits == 32) in getCastInstrCost()
927 return VF /*ldxbr/lexbr*/ + in getCastInstrCost()
931 return VF / 2 /*vledb*/ + std::max(1U, VF / 4 /*vperm*/); in getCastInstrCost()
939 return VF * 2; in getCastInstrCost()
942 return VF + getScalarizationOverhead(SrcVecTy, /*Insert*/ false, in getCastInstrCost()
995 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost() local
1035 Type *CmpOpTy = ((I != nullptr) ? getCmpOpsType(I, VF) : nullptr); in getCmpSelInstrCost()
1248 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost() local
1260 for (unsigned Elt = 0; Elt < VF; ++Elt) { in getInterleavedMemoryOpCost()
1272 unsigned NumDstVecs = divideCeil(VF * getScalarSizeInBits(VecTy), 128U); in getInterleavedMemoryOpCost()