Lines Matching defs:CostPerUseLimit
536 unsigned CostPerUseLimit) const {
539 if (CostPerUseLimit < uint8_t(~0u)) {
540 // Check of any registers in RC are below CostPerUseLimit.
543 if (MinCost >= CostPerUseLimit) {
551 if (RegCosts[Order.getOrder().back()] >= CostPerUseLimit) {
560 bool RegAllocEvictionAdvisor::canAllocatePhysReg(unsigned CostPerUseLimit,
562 if (RegCosts[PhysReg.id()] >= CostPerUseLimit)
565 // Don't start using a CSR when the CostPerUseLimit is low.
566 if (CostPerUseLimit == 1 && isUnusedCalleeSavedReg(PhysReg)) {
583 uint8_t CostPerUseLimit,
589 VirtReg, Order, CostPerUseLimit, FixedRegisters);
2190 uint8_t &CostPerUseLimit, SmallVectorImpl<Register> &NewVRegs) {
2198 // We are going to spill, set CostPerUseLimit to 1 to make sure that
2200 CostPerUseLimit = 1;
2427 uint8_t CostPerUseLimit = uint8_t(~0u);
2439 CostPerUseLimit, NewVRegs);
2460 tryEvict(VirtReg, Order, NewVRegs, CostPerUseLimit,