Lines Matching defs:callee
92 Node* callee = node->InputAt(0);
96 HeapObjectMatcher m(callee);
113 HeapObjectMatcher m2(callee->InputAt(n));
140 JSCreateClosureNode n(callee);
413 bool JSInliningHeuristic::TryReuseDispatch(Node* node, Node* callee,
417 // the {callee} target of the call. We only reuse the branch if there
418 // is no side-effect between the call and the branch, and if the callee is
431 // Phi(callee) EffectPhi(effect_phi) |
458 // The {callee} here is a phi that merges the possible call targets, {node}
504 // have replaced the callee phi with a constant).
505 if (callee->opcode() != IrOpcode::kPhi) return false;
506 int const num_calls = callee->op()->ValueInputCount();
508 // If there is a control node between the callee computation
510 Node* merge = NodeProperties::GetControlInput(callee);
513 // If there is a non-checkpoint effect node between the callee computation
515 // the callee phi because the callee computation should have its own
528 // The effect phi, the callee, the call and the checkpoint must be the only
531 if (merge_use != effect_phi && merge_use != callee && merge_use != node &&
542 // We must replace the callee phi with the appropriate constant in
548 // 2. The checkpoint between the call and the callee computation merge.
554 // To check the uses, we first collect all the occurrences of callee in 1, 2
555 // and 3, and then we check that all uses of callee are in the collected
561 // occurrences of the {callee} phi with the appropriate constant.
572 if (!CollectFrameStateUniqueUses(callee, FrameState{checkpoint_state},
581 if (!CollectFrameStateUniqueUses(callee, frame_state, replaceable_uses,
586 // Bail out if there is a use of {callee} that is not reachable from 1, 2
588 for (Edge edge : callee->use_edges()) {
609 // frame state, and change all the uses of the callee to the constant
610 // callee.
611 Node* target = callee->InputAt(i);
618 FrameState{checkpoint_state}, callee, target,
626 frame_state, callee, target,
638 callee->ReplaceInput(num_calls, jsgraph()->Dead());
648 void JSInliningHeuristic::CreateOrReuseDispatch(Node* node, Node* callee,
655 if (TryReuseDispatch(node, callee, if_successes, calls, inputs,
672 graph()->NewNode(simplified()->ReferenceEqual(), callee, target);
721 Node* callee = NodeProperties::GetValueInput(node, 0);
731 CreateOrReuseDispatch(node, callee, candidate, if_successes, calls, inputs,