Lines Matching defs:Cost
572 InstructionCost Cost =
578 Cost *= 2;
579 return Cost;
592 InstructionCost Cost = (VF * LIBCALL_COST) +
596 Cost *= 2;
597 return Cost;
679 unsigned Cost = 0;
685 Cost += NumParts;
693 Cost--;
695 return Cost;
756 unsigned Cost = 0;
761 Cost = getVectorBitmaskConversionCost(CmpOpTy, Dst);
764 Cost += getNumVectorRegs(Dst);
765 return Cost;
808 unsigned Cost = 0;
810 Cost = (DstScalarBits < 64 ? 3 : 4);
812 Cost = 3;
816 Cost++;
817 return Cost;
983 unsigned Cost = 1;
985 Cost += (I != nullptr ? getOperandsExtensionCost(I) : 2);
986 return Cost;
1026 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost));
1027 return Cost;
1057 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1);
1061 Cost += 1;
1063 return Cost;
1285 // Cost of load/store operations and the permutations needed.
1310 int Cost = VectorRegsNeeded + LastVectorHandling - 1;
1311 return Cost;
1319 InstructionCost Cost = getVectorIntrinsicInstrCost(
1321 if (Cost != -1)
1322 return Cost;