Lines Matching defs:CostPerUseLimit
535 unsigned CostPerUseLimit) const {
538 if (CostPerUseLimit < uint8_t(~0u)) {
539 // Check of any registers in RC are below CostPerUseLimit.
542 if (MinCost >= CostPerUseLimit) {
550 if (RegCosts[Order.getOrder().back()] >= CostPerUseLimit) {
559 bool RegAllocEvictionAdvisor::canAllocatePhysReg(unsigned CostPerUseLimit,
561 if (RegCosts[PhysReg] >= CostPerUseLimit)
564 // Don't start using a CSR when the CostPerUseLimit is low.
565 if (CostPerUseLimit == 1 && isUnusedCalleeSavedReg(PhysReg)) {
582 uint8_t CostPerUseLimit,
588 VirtReg, Order, CostPerUseLimit, FixedRegisters);
2178 uint8_t &CostPerUseLimit, SmallVectorImpl<Register> &NewVRegs) {
2186 // We are going to spill, set CostPerUseLimit to 1 to make sure that
2188 CostPerUseLimit = 1;
2415 uint8_t CostPerUseLimit = uint8_t(~0u);
2427 CostPerUseLimit, NewVRegs);
2448 tryEvict(VirtReg, Order, NewVRegs, CostPerUseLimit,