Lines Matching defs:use

47 // Replace any references to "oldref" in inputs to "use" with "newref".
50 int PhaseMacroExpand::replace_input(Node *use, Node *oldref, Node *newref) {
52 uint req = use->req();
53 for (uint j = 0; j < use->len(); j++) {
54 Node *uin = use->in(j);
57 use->set_req(j, newref);
59 use->set_prec(j, newref);
593 Node* use = res->fast_out(j);
595 if (use->is_AddP()) {
596 const TypePtr* addp_type = _igvn.type(use)->is_ptr();
604 for (DUIterator_Fast kmax, k = use->fast_outs(kmax);
606 Node* n = use->fast_out(k);
617 } else if (use->is_SafePoint()) {
618 SafePointNode* sfpt = use->as_SafePoint();
621 DEBUG_ONLY(disq_node = use;)
627 DEBUG_ONLY(disq_node = use;)
633 } else if (use->Opcode() != Op_CastP2X) { // CastP2X is used by card mark
634 if (use->is_Phi()) {
635 if (use->outcnt() == 1 && use->unique_out()->Opcode() == Op_Return) {
640 DEBUG_ONLY(disq_node = use;)
642 if (use->Opcode() == Op_Return) {
647 DEBUG_ONLY(disq_node = use;)
856 Node *use = res->last_out(j);
859 if (use->is_AddP()) {
860 for (DUIterator_Last kmin, k = use->last_outs(kmin); k >= kmin; ) {
861 Node *n = use->last_out(k);
862 uint oc2 = use->outcnt();
880 k -= (oc2 - use->outcnt());
883 eliminate_card_mark(use);
896 Node *use = _resproj->last_out(j);
898 if (use->is_Initialize()) {
900 InitializeNode *init = use->as_Initialize();
919 } else if (use->is_AddP()) {
921 _igvn.replace_node(use, C->top());
1391 result_phi_i_o = i_o; // Rename it to use in the following code.
1441 Node *use = _memproj_fallthrough->fast_out(i);
1442 _igvn.rehash_node_delayed(use);
1443 imax -= replace_input(use, _memproj_fallthrough, result_phi_rawmem);
1448 // Now change uses of _memproj_catchall to use _memproj_fallthrough and delete
1456 Node *use = _memproj_catchall->fast_out(i);
1457 _igvn.rehash_node_delayed(use);
1458 imax -= replace_input(use, _memproj_catchall, _memproj_fallthrough);
1473 Node *use = _ioproj_fallthrough->fast_out(i);
1474 _igvn.rehash_node_delayed(use);
1475 imax -= replace_input(use, _ioproj_fallthrough, result_phi_i_o);
1480 // Now change uses of _ioproj_catchall to use _ioproj_fallthrough and delete
1488 Node *use = _ioproj_catchall->fast_out(i);
1489 _igvn.rehash_node_delayed(use);
1490 imax -= replace_input(use, _ioproj_catchall, _ioproj_fallthrough);
1598 // We have no more use for this link, since the AllocateNode goes away:
1601 // who thinks he sees a real use of the address by the membar.)
1828 // Create new "eliminated" BoxLock node and use it in monitor debug info
1984 // be deleted when its last use is subsumed below.