Searched refs:LRG (Results 1 - 8 of 8) sorted by relevance

/openjdk7/hotspot/src/share/vm/opto/
H A Dcoalesce.hpp31 class LRG;
57 LRG &lrgs( uint lidx ) { return _phc.lrgs(lidx); }
H A Dchaitin.hpp50 //------------------------------LRG--------------------------------------------
52 class LRG : public ResourceObj { class in inherits:ResourceObj
55 enum { SPILL_REG=29999 }; // Register number of a spilled LRG
67 uint _risk_bias; // Index of LRG which we want to avoid color
68 uint _copy_bias; // Index of LRG which we want to share color
70 uint _next; // Index of next LRG in linked list
71 uint _prev; // Index of prev LRG in linked list
75 // Return chosen register for this LRG. Error if the LRG is not bound to
92 int compute_degree( LRG
[all...]
H A Difg.cpp55 _lrgs = (LRG *)_arena->Amalloc( maxlrg * sizeof(LRG) );
56 memset(_lrgs,0,sizeof(LRG)*maxlrg);
159 // I remove the LRG from all neighbors.
161 LRG &lrg_a = lrgs(a);
191 int LRG::compute_degree( LRG &l ) const {
215 LRG &lrgn = lrgs(nidx);
442 static void lower_pressure( LRG *lrg, uint where, Block *b, uint *pressure, uint *hrp_index ) {
477 uint spill_reg = LRG
[all...]
H A DindexSet.cpp209 LRG &lrg1 = ifg->lrgs(lr1);
210 LRG &lrg2 = ifg->lrgs(lr2);
241 LRG &lrg = ifg->lrgs(element);
258 LRG &lrg = ifg->lrgs(element);
H A Dchaitin.cpp46 void LRG::dump( ) const {
103 double LRG::score() const {
262 gather_lrg_masks( false ); // Collect LRG masks
328 _maxlrg = Split(_maxlrg, &split_arena); // Split spilling LRG everywhere
394 _maxlrg = Split(_maxlrg, &split_arena); // Split spilling LRG everywhere
486 LRG &lrg = lrgs(_names[i]);
570 LRG &lrg = lrgs(vreg);
577 LRG &copy_src = lrgs(clidx);
607 // Check for a single def LRG; these can spill nicely
791 LRG
[all...]
H A Dreg_split.cpp46 // HRP regions will get trailing SpillCopies to push the LRG down into the
190 // Splits at uses can involve redeffing the LRG, so no CISC Spilling there.
329 // Check for single-def (LRG cannot redefined)
366 // walkThru found a multidef LRG, which is unsafe to use, so
373 if( lidx < _maxlrg && lrgs(lidx).reg() >= LRG::SPILL_REG ) {
406 bool PhaseChaitin::is_high_pressure( Block *b, LRG *lrg, uint insidx ) {
458 // USES: If USE is in HRP, split at use to leave main LRG on stack.
459 // Else, hoist LRG back up to register only (ie - split is also DEF)
490 // Gather info on which LRG's are spilling, and build maps
492 if( lrgs(bidx).alive() && lrgs(bidx).reg() >= LRG
[all...]
H A Dcoalesce.cpp93 if( !lrg ) return lrg; // Ignore the zero LRG
128 // Make the Node->LRG mapping
243 LRG *lrg1 = &_phc.lrgs(lr1);
244 LRG *lrg2 = &_phc.lrgs(lr2);
264 LRG *ltmp = lrg1; lrg1 = lrg2; lrg2 = ltmp;
496 LRG &lrg = lrgs(nidx);
620 lrgs(lr2).Clear(); // Force empty mask for LRG 2
683 // Do not let the coalesced LRG expect to get the bound color
691 // Insert lidx into union LRG; returns TRUE if actually inserted
718 LRG
[all...]
H A Dpostaloc.cpp167 const LRG &def_lrg = lrgs(n2lidx(def));
261 // allocator will reuse the original def for multidef LRG instead
263 // do so. After allocation completes if they are in the same LRG

Completed in 59 milliseconds