search for: create_new_virtual_regist

Displaying 4 results from an estimated 4 matches for "create_new_virtual_regist".

2006 Aug 21
0
[LLVMdev] Recalculating live intervals
...; 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 instruction. } unsigned new_reg = create_new_virtual_register(v_reg); if(mi->getParent()->getNumber() == ks.get_basic_block()->getNumber()) { ks.replace_used_reg(mi, new_reg, v_reg); } this->vrm->grow(); this->reg_mapping->grow(); this->vrm->assignVirt2StackSlot(new_reg, slot);...
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,
2007 Mar 04
1
[LLVMdev] infinite number of virtual registers - sorry, modified.
Hello. I am making a backend for a virtual machine. But it does assume infinite number of virtual registers unlike those of usual machines. In this case, how can I implement this? Would you mind telling me some tips? Thank you so much. Seung Jae Lee
2006 Aug 21
3
[LLVMdev] Recalculating live intervals
...lt; 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 instruction. > } > unsigned new_reg = create_new_virtual_register(v_reg); > if(mi->getParent()->getNumber() == > ks.get_basic_block()->getNumber()) { > ks.replace_used_reg(mi, new_reg, v_reg); > } > this->vrm->grow(); > this->reg_mapping->grow(); > this->vrm->assignVir...