Displaying 3 results from an estimated 3 matches for "use_sites".
2006 Aug 21
0
[LLVMdev] Recalculating live intervals
...ysical_location(v_reg);
// Now, it is necessary to break the live range of the spilled
register.
// This is done by creating new virtual registers, and substituting
the
// spilled register by the new registers.
MachineInstr * last_seen;
std::vector< MachineInstr * > & use_sites =
this->def_use_sites->get_use_sites(v_reg);
for(unsigned u = 0; u < use_sites.size(); u++) {
MachineInstr * mi = use_sites[u];
if(mi == last_seen) {
continue; // this happens when the same virtual is used
multiple
// times in the same...
2006 Aug 21
2
[LLVMdev] Recalculating live intervals
So what addIntervalsToSpills returns are new intervals to allocate with
infinite weights, right?
And I need not to allocate the old interval. Should hasStackSlot return true
on its register then?
On 8/21/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote:
>
>
> Well, someone correct me if am wrong, but, you still have to allocate
> physical registers to them,
2006 Aug 21
3
[LLVMdev] Recalculating live intervals
...// Now, it is necessary to break the live range of the spilled
> register.
> // This is done by creating new virtual registers, and substituting
> the
> // spilled register by the new registers.
> MachineInstr * last_seen;
> std::vector< MachineInstr * > & use_sites =
>
> this->def_use_sites->get_use_sites(v_reg);
> for(unsigned u = 0; u < use_sites.size(); u++) {
> MachineInstr * mi = use_sites[u];
> if(mi == last_seen) {
> continue; // this happens when the same virtual is used
> multiple
>...