Lines Matching refs:Order

359                                     AllocationOrder &Order,
368 unsigned tryAssignCSRFirstTime(LiveInterval &VirtReg, AllocationOrder &Order,
594 AllocationOrder &Order, in tryAssign() argument
596 Order.rewind(); in tryAssign()
598 while ((PhysReg = Order.next())) in tryAssign()
601 if (!PhysReg || Order.isHint()) in tryAssign()
609 if (Order.isHint(Hint)) { in tryAssign()
628 unsigned CheapReg = tryEvict(VirtReg, Order, NewVRegs, Cost); in tryAssign()
638 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo); in canReassign() local
640 while ((PhysReg = Order.next())) { in canReassign()
824 AllocationOrder &Order, in tryEvict() argument
833 unsigned OrderLimit = Order.getOrder().size(); in tryEvict()
852 if (TRI->getCostPerUse(Order.getOrder().back()) >= CostPerUseLimit) { in tryEvict()
858 Order.rewind(); in tryEvict()
859 while (unsigned PhysReg = Order.next(OrderLimit)) { in tryEvict()
879 if (Order.isHint()) in tryEvict()
1313 unsigned RAGreedy::tryRegionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryRegionSplit() argument
1333 calculateRegionSplitCost(VirtReg, Order, BestCost, NumCands, in tryRegionSplit()
1344 AllocationOrder &Order, in calculateRegionSplitCost() argument
1349 Order.rewind(); in calculateRegionSplitCost()
1350 while (unsigned PhysReg = Order.next()) { in calculateRegionSplitCost()
1472 unsigned RAGreedy::tryBlockSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryBlockSplit() argument
1540 RAGreedy::tryInstructionSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryInstructionSplit() argument
1684 unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order, in tryLocalSplit() argument
1768 Order.rewind(); in tryLocalSplit()
1769 while (unsigned PhysReg = Order.next()) { in tryLocalSplit()
1911 unsigned RAGreedy::trySplit(LiveInterval &VirtReg, AllocationOrder &Order, in trySplit() argument
1921 unsigned PhysReg = tryLocalSplit(VirtReg, Order, NewVRegs); in trySplit()
1924 return tryInstructionSplit(VirtReg, Order, NewVRegs); in trySplit()
1938 if (unsigned PhysReg = tryAssign(VirtReg, Order, NewVRegs)) in trySplit()
1946 unsigned PhysReg = tryRegionSplit(VirtReg, Order, NewVRegs); in trySplit()
1952 return tryBlockSplit(VirtReg, Order, NewVRegs); in trySplit()
2039 AllocationOrder &Order, in tryLastChanceRecoloring() argument
2066 Order.rewind(); in tryLastChanceRecoloring()
2067 while (unsigned PhysReg = Order.next()) { in tryLastChanceRecoloring()
2207 AllocationOrder &Order, in tryAssignCSRFirstTime() argument
2229 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryAssignCSRFirstTime()
2442 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo); in selectOrSplitImpl() local
2443 if (unsigned PhysReg = tryAssign(VirtReg, Order, NewVRegs)) { in selectOrSplitImpl()
2454 unsigned CSRReg = tryAssignCSRFirstTime(VirtReg, Order, PhysReg, in selectOrSplitImpl()
2473 tryEvict(VirtReg, Order, NewVRegs, CostPerUseLimit)) { in selectOrSplitImpl()
2500 return tryLastChanceRecoloring(VirtReg, Order, NewVRegs, FixedRegisters, in selectOrSplitImpl()
2504 unsigned PhysReg = trySplit(VirtReg, Order, NewVRegs); in selectOrSplitImpl()