Lines Matching defs:cfg

61 void Block::implicit_null_check(PhaseCFG *cfg, Node *proj, Node *val, int allowed_reasons) {
237 Block *cb = cfg->_bbs[mach->_idx];
262 Block *inb = cfg->_bbs[mach->in(j)->_idx];
272 Block *mb = cfg->_bbs[mach->_idx];
291 b = cfg->_bbs[b->pred(1)->_idx]; // Move up to predecessor block
304 cfg->_bbs[mach->_idx]->_dom_depth < cfg->_bbs[best->_idx]->_dom_depth ) {
319 Block *valb = cfg->_bbs[val->_idx];
324 cfg->_bbs.map(val->_idx,this);
330 cfg->_bbs[n->_idx]->find_remove(n);
332 cfg->_bbs.map(n->_idx,this);
338 Block *old_block = cfg->_bbs[best->_idx];
341 cfg->_bbs.map(best->_idx,this);
352 cfg->_bbs[n->_idx]->find_remove(n);
354 cfg->_bbs.map(n->_idx,this);
358 Compile *C = cfg->C;
385 cfg->_bbs.map(nul_chk->_idx,this);
393 cfg->latency_from_uses(nul_chk);
394 cfg->latency_from_uses(best);
408 Node *Block::select(PhaseCFG *cfg, Node_List &worklist, GrowableArray<int> &ready_cnt, VectorSet &next_call, uint sched_slot) {
467 if (use->is_MachIf() && cfg->_bbs[use->_idx]==this ) {
500 uint n_latency = cfg->_node_latency->at_grow(n->_idx);
667 bool Block::schedule_local(PhaseCFG *cfg, Matcher &matcher, GrowableArray<int> &ready_cnt, VectorSet &next_call) {
674 if (cfg->trace_opto_pipelining()) {
704 if( m && cfg->_bbs[m->_idx] == this && !m->is_top() )
716 assert(cfg->_bbs[oop_store->_idx]->_dom_depth <= this->_dom_depth, "oop_store must dominate card-mark");
749 if( cfg->_bbs[m->_idx] ==this ) { // Local-block user
782 needed_for_next_call(_nodes[0], next_call, cfg->_bbs);
785 if (cfg->trace_opto_pipelining()) {
790 tty->print("latency:%3d ", cfg->_node_latency->at_grow(idx));
801 if (cfg->trace_opto_pipelining()) {
812 Node* n = select(cfg, worklist, ready_cnt, next_call, phi_cnt);
816 if (cfg->trace_opto_pipelining()) {
818 tty->print(", latency:%d", cfg->_node_latency->at_grow(n->_idx));
833 phi_cnt = sched_call(matcher, cfg->_bbs, phi_cnt, worklist, ready_cnt, mcall, next_call);
843 cfg->_bbs.map(proj->_idx,this);
852 if( cfg->_bbs[m->_idx] != this ) continue;
879 if (cfg->trace_opto_pipelining()) {