search for: addreguse

Displaying 3 results from an estimated 3 matches for "addreguse".

Did you mean: addregs
2007 Aug 06
5
[LLVMdev] Spillers
...tRegisterClass::const_iterator Iter = RC->allocation_order_begin(*MF); if (Iter + J >= RC->allocation_order_end(*MF)) J = 0; unsigned PReg = *(Iter + J); // **** Assign the newly-created live interval to a physical register VRM->assignVirt2Phys(VReg, PReg); PRT->addRegUse(PReg); DEBUG(std::cerr << "\tAdded LI: " << *Added[I] << " assigned Reg " << MRI->getName(PReg) << "\n"); for (LiveIntervals::const_iterator K = LIs->begin(); K != LIs->...
2011 Jul 16
0
[LLVMdev] linear scan questions
Hi I understand the linear scan isnt the default allocator anymore. However, I havent still switched from it and so i was wondering if I can ask a few questions. 1) I do see the availability of a register maintained as a non-boolean and so addRegUse/delreguse etc increment/decrement it. I am wondering in what scenario would it be non 0/1 2) On similar lines, what is the motivation of inactiveacount - isnt that always unity since its incremented once for each inactive interval except if a register in inactive interval has aliases ? thanks d...
2007 Aug 07
0
[LLVMdev] Spillers
...t; RC->allocation_order_begin(*MF); > if (Iter + J >= RC->allocation_order_end(*MF)) J = 0; > unsigned PReg = *(Iter + J); > > // **** Assign the newly-created live interval to a physical > register > VRM->assignVirt2Phys(VReg, PReg); > PRT->addRegUse(PReg); > > DEBUG(std::cerr << "\tAdded LI: " << *Added[I] > << " assigned Reg " << MRI->getName(PReg) > << "\n"); > > for (LiveIntervals::const_iterator > K...