Lines Matching defs:Cost
601 InstructionCost Cost = BaseT::getArithmeticInstrCost(
603 return Cost * CostFactor;
649 InstructionCost Cost =
651 Cost *= CostFactor;
654 return Cost == 0 ? 0 : 1;
655 return Cost;
668 InstructionCost Cost =
672 return Cost;
673 return Cost * CostFactor;
689 InstructionCost Cost =
691 Cost *= CostFactor;
699 return Cost;
761 return LHSPenalty + Cost;
763 return Cost;
785 InstructionCost Cost =
789 return Cost;
791 Cost *= CostFactor;
812 return Cost;
823 return Cost + LT.first; // Add the cost of the permutations.
830 return Cost;
834 return Cost;
841 Cost += LT.first * ((SrcBytes / Alignment->value()) - 1);
849 Cost += getVectorInstrCost(Instruction::ExtractElement, Src, CostKind, i,
852 return Cost;
876 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment),
884 Cost += Factor*(LT.first-1);
886 return Cost;
1048 InstructionCost Cost = BaseT::getVPMemoryOpCost(Opcode, Src, Alignment,
1051 return Cost;
1054 return Cost;
1070 InstructionCost Cost = LT.first * CostFactor;
1071 assert(Cost.isValid() && "Expected valid cost");
1078 return Cost;
1088 (AlignmentProb * *Cost.getValue());