Lines Matching refs:use

277       // mach use (faulting) trying to hoist
379 // Remove the existing null check; use a new implicit null check instead.
380 // Since schedule-local needs precise def-use info, we need to correct
400 // one choice, then use it. Projections take top priority for correctness
410 // If only a single entry on the stack, use it
460 // See if any use is a branch
464 Node* use = n->fast_out(j);
466 // The use is a conditional branch, make them adjacent
467 if (use->is_MachIf() && cfg->_bbs[use->_idx]==this ) {
474 if (ready_cnt.at(use->_idx) > 1)
478 // loop terminated, prefer not to use this instruction
625 // Calling C code so use C calling convention
631 // Calling Java code so use Java calling convention
895 static void catch_cleanup_fix_all_inputs(Node *use, Node *old_def, Node *new_def) {
896 for (uint l = 0; l < use->len(); l++) {
897 if (use->in(l) == old_def) {
898 if (l < use->req()) {
899 use->set_req(l, new_def);
901 use->rm_prec(l);
902 use->add_prec(new_def);
913 // The use is some block below the Catch. Find and return the clone of the def
914 // that dominates the use. If there is no clone in a dominating block, then
917 // Find which successor block dominates this use. The successor
966 // Found the use just below the Catch. Make it use the clone.
974 // Fix all input edges in use that reference "def". The use is in the same
976 static void catch_cleanup_intra_block(Node *use, Node *def, Block *blk, int beg, int n_clone_idx) {
978 // Both the use and def have been cloned. For each successor block,
979 // get the clone of the use, and make its input the clone of the def
982 uint use_idx = blk->find_node(use);
988 assert( clone->Opcode() == use->Opcode(), "" );
990 // Make use-clone reference the def-clone
996 // Fix all input edges in use that reference "def". The use is in a different
998 static void catch_cleanup_inter_block(Node *use, Block *use_blk, Node *def, Block *def_blk, Block_Array &bbs, int n_clone_idx) {
999 if( !use_blk ) return; // Can happen if the use is a precedence edge
1002 catch_cleanup_fix_all_inputs(use, def, new_def);
1038 // Fixup edges. Check the def-use info per cloned Node
1049 Node *use = out->pop();
1050 Block *buse = bbs[use->_idx];
1051 if( use->is_Phi() ) {
1052 for( uint k = 1; k < use->req(); k++ )
1053 if( use->in(k) == n ) {
1055 use->set_req(k, fixup);
1059 catch_cleanup_intra_block(use, n, this, beg, n_clone_idx);
1061 catch_cleanup_inter_block(use, buse, n, this, bbs, n_clone_idx);