Lines Matching defs:LoopCost
280 CostInfo *LoopCost);
969 CostInfo LoopCost[2] = {{Scaled64::getZero(), Scaled64::getZero()},
971 if (!computeLoopCosts(L, SIGroups, InstCostMap, LoopCost) ||
972 !checkLoopHeuristics(L, LoopCost)) {
1211 const CostInfo LoopCost[2]) {
1221 if (LoopCost[0].NonPredCost > LoopCost[0].PredCost ||
1222 LoopCost[1].NonPredCost >= LoopCost[1].PredCost) {
1229 Scaled64 Gain[2] = {LoopCost[0].PredCost - LoopCost[0].NonPredCost,
1230 LoopCost[1].PredCost - LoopCost[1].NonPredCost};
1236 Gain[1] * Scaled64::get(GainRelativeThreshold) < LoopCost[1].PredCost) {
1237 Scaled64 RelativeGain = Scaled64::get(100) * Gain[1] / LoopCost[1].PredCost;
1253 (LoopCost[1].PredCost - LoopCost[0].PredCost);
1281 DenseMap<const Instruction *, CostInfo> &InstCostMap, CostInfo *LoopCost) {
1291 CostInfo &MaxCost = LoopCost[Iter];