Lines Matching defs:Cost
599 InstructionCost Cost = BaseT::getArithmeticInstrCost(
601 return Cost * CostFactor;
647 InstructionCost Cost =
649 Cost *= CostFactor;
652 return Cost == 0 ? 0 : 1;
653 return Cost;
665 InstructionCost Cost = BaseT::getCmpSelInstrCost(
669 return Cost;
670 return Cost * CostFactor;
686 InstructionCost Cost =
688 Cost *= CostFactor;
696 return Cost;
758 return LHSPenalty + Cost;
760 return Cost;
782 InstructionCost Cost =
786 return Cost;
788 Cost *= CostFactor;
815 return Cost;
826 return Cost + LT.first; // Add the cost of the permutations.
833 return Cost;
837 return Cost;
844 Cost += LT.first * ((SrcBytes / Alignment->value()) - 1);
852 Cost += getVectorInstrCost(Instruction::ExtractElement, Src, CostKind, i,
855 return Cost;
879 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment),
887 Cost += Factor*(LT.first-1);
889 return Cost;
1051 InstructionCost Cost = BaseT::getVPMemoryOpCost(Opcode, Src, Alignment,
1054 return Cost;
1057 return Cost;
1073 InstructionCost Cost = LT.first * CostFactor;
1074 assert(Cost.isValid() && "Expected valid cost");
1081 return Cost;
1091 (AlignmentProb * *Cost.getValue());