Lines Matching defs:CostPerUseLimit
533 unsigned CostPerUseLimit) const {
536 if (CostPerUseLimit < uint8_t(~0u)) {
537 // Check of any registers in RC are below CostPerUseLimit.
540 if (MinCost >= CostPerUseLimit) {
548 if (RegCosts[Order.getOrder().back()] >= CostPerUseLimit) {
557 bool RegAllocEvictionAdvisor::canAllocatePhysReg(unsigned CostPerUseLimit,
559 if (RegCosts[PhysReg] >= CostPerUseLimit)
562 // Don't start using a CSR when the CostPerUseLimit is low.
563 if (CostPerUseLimit == 1 && isUnusedCalleeSavedReg(PhysReg)) {
580 uint8_t CostPerUseLimit,
586 VirtReg, Order, CostPerUseLimit, FixedRegisters);
2176 uint8_t &CostPerUseLimit, SmallVectorImpl<Register> &NewVRegs) {
2184 // We are going to spill, set CostPerUseLimit to 1 to make sure that
2186 CostPerUseLimit = 1;
2413 uint8_t CostPerUseLimit = uint8_t(~0u);
2425 CostPerUseLimit, NewVRegs);
2446 tryEvict(VirtReg, Order, NewVRegs, CostPerUseLimit,