Lines Matching refs:lrgs

243     LRG *lrg1 = &_phc.lrgs(lr1);
244 LRG *lrg2 = &_phc.lrgs(lr2);
496 LRG &lrg = lrgs(nidx);
616 lrgs(lr1)._def = (lrgs(lr1).is_multidef() ||
617 lrgs(lr2).is_multidef() )
619 lrgs(lr2)._def = NULL; // No def for lrg 2
620 lrgs(lr2).Clear(); // Force empty mask for LRG 2
621 //lrgs(lr2)._size = 0; // Live-range 2 goes dead
622 lrgs(lr1)._is_oop |= lrgs(lr2)._is_oop;
623 lrgs(lr2)._is_oop = 0; // In particular, not an oop for GC info
625 if (lrgs(lr1)._maxfreq < lrgs(lr2)._maxfreq)
626 lrgs(lr1)._maxfreq = lrgs(lr2)._maxfreq;
654 assert(!lrgs(lr1)._fat_proj, "cannot coalesce fat_proj");
655 assert(!lrgs(lr2)._fat_proj, "cannot coalesce fat_proj");
682 if( lrgs(lidx).is_bound() ) {
684 rm.SUBTRACT( lrgs(lidx).mask() );
690 if( rm.overlap(lrgs(lidx).mask()) ) {
695 if( !lrgs(lidx).mask().is_AllStack() ) {
698 if( lrgs(lidx).just_lo_degree() )
718 LRG &lrg1 = lrgs(lr1);
722 lrgs(neighbor).inc_degree( -lrg1.compute_degree(lrgs(neighbor)) );
728 LRG &lrg2 = lrgs(lr2);
731 lrgs(neighbor).inc_degree( -lrg2.compute_degree(lrgs(neighbor)) );
738 lrgs(neighbor).inc_degree( lrg1.compute_degree(lrgs(neighbor)) );
744 if( !ifg->lrgs(lr1)._copy_bias )
745 ifg->lrgs(lr1)._copy_bias = lr2;
746 if( !ifg->lrgs(lr2)._copy_bias )
747 ifg->lrgs(lr2)._copy_bias = lr1;
769 if( !lrgs(lr1)._is_oop && lrgs(lr2)._is_oop ) // not an oop->int cast
774 if( lrgs(lr1)._fat_proj != lrgs(lr2)._fat_proj )
787 RegMask rm = lrgs(lr1).mask();
788 rm.AND(lrgs(lr2).mask());
848 assert( lrgs(lr1).num_regs() == lrgs(lr2).num_regs(), "" );
877 lrgs(lr1).set_degree( _phc._ifg->effective_degree(lr1) );
878 lrgs(lr2).set_degree( 0 );
884 lrgs(lr1).set_mask(rm);
885 lrgs(lr1).compute_set_mask_size();
886 lrgs(lr1)._cost += lrgs(lr2)._cost;
887 lrgs(lr1)._area += lrgs(lr2)._area;
892 lrgs(lr1)._was_lo = 1;