Lines Matching refs:Cost

568         InstructionCost Cost =  in getArithmeticInstrCost()  local
574 Cost *= 2; in getArithmeticInstrCost()
575 return Cost; in getArithmeticInstrCost()
588 InstructionCost Cost = (VF * LIBCALL_COST) + in getArithmeticInstrCost() local
592 Cost *= 2; in getArithmeticInstrCost()
593 return Cost; in getArithmeticInstrCost()
677 unsigned Cost = 0; in getVectorTruncCost() local
683 Cost += NumParts; in getVectorTruncCost()
691 Cost--; in getVectorTruncCost()
693 return Cost; in getVectorTruncCost()
754 unsigned Cost = 0; in getBoolVecToIntConversionCost() local
759 Cost = getVectorBitmaskConversionCost(CmpOpTy, Dst); in getBoolVecToIntConversionCost()
762 Cost += getNumVectorRegs(Dst); in getBoolVecToIntConversionCost()
763 return Cost; in getBoolVecToIntConversionCost()
806 unsigned Cost = 0; in getCastInstrCost() local
808 Cost = (DstScalarBits < 64 ? 3 : 4); in getCastInstrCost()
810 Cost = 3; in getCastInstrCost()
814 Cost++; in getCastInstrCost()
815 return Cost; in getCastInstrCost()
981 unsigned Cost = 1; in getCmpSelInstrCost() local
983 Cost += (I != nullptr ? getOperandsExtensionCost(I) : 2); in getCmpSelInstrCost()
984 return Cost; in getCmpSelInstrCost()
1024 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local
1025 return Cost; in getCmpSelInstrCost()
1055 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local
1059 Cost += 1; in getVectorInstrCost()
1061 return Cost; in getVectorInstrCost()
1296 InstructionCost Cost = in getIntrinsicInstrCost() local
1298 if (Cost != -1) in getIntrinsicInstrCost()
1299 return Cost; in getIntrinsicInstrCost()