290 #endif |
290 #endif |
291 |
291 |
292 //------------------------------interfere_with_live---------------------------- |
292 //------------------------------interfere_with_live---------------------------- |
293 // Interfere this register with everything currently live. Use the RegMasks |
293 // Interfere this register with everything currently live. Use the RegMasks |
294 // to trim the set of possible interferences. Return a count of register-only |
294 // to trim the set of possible interferences. Return a count of register-only |
295 // inteferences as an estimate of register pressure. |
295 // interferences as an estimate of register pressure. |
296 void PhaseChaitin::interfere_with_live( uint r, IndexSet *liveout ) { |
296 void PhaseChaitin::interfere_with_live( uint r, IndexSet *liveout ) { |
297 uint retval = 0; |
297 uint retval = 0; |
298 // Interfere with everything live. |
298 // Interfere with everything live. |
299 const RegMask &rm = lrgs(r).mask(); |
299 const RegMask &rm = lrgs(r).mask(); |
300 // Check for interference by checking overlap of regmasks. |
300 // Check for interference by checking overlap of regmasks. |