Home | History | Annotate | Download | only in SelectionDAG

Lines Matching full:cost

271 /// GetCostForDef - Looks up the register class and cost for a given definition.
279 unsigned &RegClass, unsigned &Cost,
293 Cost = 1;
302 Cost = 1;
310 // FIXME: Cost arbitrarily set to 1 because there doesn't seem to be a
312 Cost = 1;
315 Cost = TLI->getRepRegClassCostFor(VT);
1452 // If it's not too expensive, i.e. cost != -1, issue copies.
1971 unsigned RCId, Cost;
1972 GetCostForDef(RegDefPos, TLI, TII, TRI, RCId, Cost, MF);
1974 if ((RegPressure[RCId] + Cost) >= RegLimit[RCId])
2085 unsigned RCId, Cost;
2086 GetCostForDef(RegDefPos, TLI, TII, TRI, RCId, Cost, MF);
2087 RegPressure[RCId] += Cost;
2100 unsigned RCId, Cost;
2101 GetCostForDef(RegDefPos, TLI, TII, TRI, RCId, Cost, MF);
2102 if (RegPressure[RCId] < Cost) {
2109 RegPressure[RCId] -= Cost;
2219 /// calcMaxScratches - Returns an cost estimate of the worse case requirement