Displaying 4 results from an estimated 4 matches for "spill_op".
2006 Aug 14
2
[LLVMdev] Folding instructions
...// they may be pre-colored, for instance.
unsigned p_reg = reg_mapping->get_unused_reg(v_reg);
if(p_reg != RegMapping_Fer::NO_REG) {
reg_mapping->allocate_color(v_reg, p_reg);
} else {
const MachineOperand * spill_op =
choose_reg_to_spill(v_reg);
unsigned spill_v = spill_op->getReg();
unsigned p_reg =
reg_mapping->get_physical_location(spill_v);
spill(* spill_op, ks, * mi->getParent());...
2006 Aug 14
0
[LLVMdev] Folding instructions
...may be pre-colored, for instance.
> unsigned p_reg = reg_mapping->get_unused_reg(v_reg);
> if(p_reg != RegMapping_Fer::NO_REG) {
> reg_mapping->allocate_color(v_reg, p_reg);
> } else {
> const MachineOperand * spill_op =
> choose_reg_to_spill(v_reg);
> unsigned spill_v = spill_op->getReg();
> unsigned p_reg =
> reg_mapping->get_physical_location(spill_v);
> spill(* spill_op, ks, * mi->getParen...
2006 Aug 14
0
[LLVMdev] Folding instructions
On Aug 13, 2006, at 11:16 PM, Fernando Magno Quintao Pereira wrote:
>
> Dear LLVMers,
>
> I am trying to fold memory operands in the way that is done in
> RegAllocLocal.cpp, or in LiveIntervalAnalysis.cpp, but I am getting
> errors
> that
> I don't know how to fix. Could someone tell me which steps should I
> take
> in order
> to correctly fold memory
2006 Aug 14
2
[LLVMdev] Folding instructions
Dear LLVMers,
I am trying to fold memory operands in the way that is done in
RegAllocLocal.cpp, or in LiveIntervalAnalysis.cpp, but I am getting errors
that
I don't know how to fix. Could someone tell me which steps should I take
in order
to correctly fold memory operands? The code that I am using is:
const TargetMachine & target_machine =
this->machine_function->getTarget();