Lines Matching refs:NewNode
866 graph()->NewNode(common()->Unreachable(), effect, control); in ChangeToDeadValue()
1038 DeferReplacement(node, graph()->NewNode(common()->Plug())); in VisitUnused()
1276 graph()->NewNode(jsgraph_->machine()->Word32And(), rhs, in MaskShiftOperand()
1398 jsgraph_->graph()->NewNode( in VisitFrameState()
2988 graph()->NewNode(lowering->machine()->Word64Shl(), value, in VisitNode()
2991 graph()->NewNode(lowering->machine()->Word64Sar(), shifted, in VisitNode()
4128 node = graph()->NewNode(common()->SLVerifierHint(nullptr, type), node); in InsertTypeOverrideForVerifier()
4337 graph()->NewNode(common()->Unreachable(), node, control); in InsertUnreachableIfNecessary()
4397 Node* check0 = graph()->NewNode(simplified()->ObjectIsSmi(), value); in DoJSToNumberOrNumericTruncatesToFloat64()
4399 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberOrNumericTruncatesToFloat64()
4401 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in DoJSToNumberOrNumericTruncatesToFloat64()
4405 vtrue0 = graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), value); in DoJSToNumberOrNumericTruncatesToFloat64()
4406 vtrue0 = graph()->NewNode(machine()->ChangeInt32ToFloat64(), vtrue0); in DoJSToNumberOrNumericTruncatesToFloat64()
4409 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in DoJSToNumberOrNumericTruncatesToFloat64()
4424 vfalse0 = efalse0 = if_false0 = graph()->NewNode( in DoJSToNumberOrNumericTruncatesToFloat64()
4433 if_false0 = graph()->NewNode(common()->IfSuccess(), vfalse0); in DoJSToNumberOrNumericTruncatesToFloat64()
4436 Node* check1 = graph()->NewNode(simplified()->ObjectIsSmi(), vfalse0); in DoJSToNumberOrNumericTruncatesToFloat64()
4437 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in DoJSToNumberOrNumericTruncatesToFloat64()
4439 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in DoJSToNumberOrNumericTruncatesToFloat64()
4444 graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), vfalse0); in DoJSToNumberOrNumericTruncatesToFloat64()
4445 vtrue1 = graph()->NewNode(machine()->ChangeInt32ToFloat64(), vtrue1); in DoJSToNumberOrNumericTruncatesToFloat64()
4448 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in DoJSToNumberOrNumericTruncatesToFloat64()
4452 vfalse1 = efalse1 = graph()->NewNode( in DoJSToNumberOrNumericTruncatesToFloat64()
4457 if_false0 = graph()->NewNode(common()->Merge(2), if_true1, if_false1); in DoJSToNumberOrNumericTruncatesToFloat64()
4459 graph()->NewNode(common()->EffectPhi(2), etrue1, efalse1, if_false0); in DoJSToNumberOrNumericTruncatesToFloat64()
4461 graph()->NewNode(common()->Phi(MachineRepresentation::kFloat64, 2), in DoJSToNumberOrNumericTruncatesToFloat64()
4465 control = graph()->NewNode(common()->Merge(2), if_true0, if_false0); in DoJSToNumberOrNumericTruncatesToFloat64()
4466 effect = graph()->NewNode(common()->EffectPhi(2), etrue0, efalse0, control); in DoJSToNumberOrNumericTruncatesToFloat64()
4467 value = graph()->NewNode(common()->Phi(MachineRepresentation::kFloat64, 2), in DoJSToNumberOrNumericTruncatesToFloat64()
4499 Node* check0 = graph()->NewNode(simplified()->ObjectIsSmi(), value); in DoJSToNumberOrNumericTruncatesToWord32()
4501 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberOrNumericTruncatesToWord32()
4503 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in DoJSToNumberOrNumericTruncatesToWord32()
4506 graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), value); in DoJSToNumberOrNumericTruncatesToWord32()
4508 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in DoJSToNumberOrNumericTruncatesToWord32()
4523 vfalse0 = efalse0 = if_false0 = graph()->NewNode( in DoJSToNumberOrNumericTruncatesToWord32()
4532 if_false0 = graph()->NewNode(common()->IfSuccess(), vfalse0); in DoJSToNumberOrNumericTruncatesToWord32()
4535 Node* check1 = graph()->NewNode(simplified()->ObjectIsSmi(), vfalse0); in DoJSToNumberOrNumericTruncatesToWord32()
4536 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in DoJSToNumberOrNumericTruncatesToWord32()
4538 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in DoJSToNumberOrNumericTruncatesToWord32()
4541 graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), vfalse0); in DoJSToNumberOrNumericTruncatesToWord32()
4543 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in DoJSToNumberOrNumericTruncatesToWord32()
4547 vfalse1 = efalse1 = graph()->NewNode( in DoJSToNumberOrNumericTruncatesToWord32()
4550 vfalse1 = graph()->NewNode(machine()->TruncateFloat64ToWord32(), vfalse1); in DoJSToNumberOrNumericTruncatesToWord32()
4553 if_false0 = graph()->NewNode(common()->Merge(2), if_true1, if_false1); in DoJSToNumberOrNumericTruncatesToWord32()
4555 graph()->NewNode(common()->EffectPhi(2), etrue1, efalse1, if_false0); in DoJSToNumberOrNumericTruncatesToWord32()
4556 vfalse0 = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), in DoJSToNumberOrNumericTruncatesToWord32()
4560 control = graph()->NewNode(common()->Merge(2), if_true0, if_false0); in DoJSToNumberOrNumericTruncatesToWord32()
4561 effect = graph()->NewNode(common()->EffectPhi(2), etrue0, efalse0, control); in DoJSToNumberOrNumericTruncatesToWord32()
4562 value = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), in DoJSToNumberOrNumericTruncatesToWord32()
4589 Node* result = graph()->NewNode(machine()->Float64RoundUp().placeholder(), in Float64Round()
4591 return graph()->NewNode( in Float64Round()
4593 graph()->NewNode( in Float64Round()
4595 graph()->NewNode(machine()->Float64Sub(), result, one_half), input), in Float64Round()
4596 result, graph()->NewNode(machine()->Float64Sub(), result, one)); in Float64Round()
4606 return graph()->NewNode( in Float64Sign()
4608 graph()->NewNode(machine()->Float64LessThan(), input, zero), minus_one, in Float64Sign()
4609 graph()->NewNode( in Float64Sign()
4611 graph()->NewNode(machine()->Float64LessThan(), zero, input), one, in Float64Sign()
4623 Node* sign = graph()->NewNode(machine()->Word32Sar(), input, in Int32Abs()
4625 return graph()->NewNode(machine()->Int32Sub(), in Int32Abs()
4626 graph()->NewNode(machine()->Word32Xor(), input, sign), in Int32Abs()
4638 return graph()->NewNode(machine()->Int32Sub(), zero, lhs); in Int32Div()
4642 return graph()->NewNode(machine()->Int32Div(), lhs, rhs, graph()->start()); in Int32Div()
4663 Node* check0 = graph()->NewNode(machine()->Int32LessThan(), zero, rhs); in Int32Div()
4664 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Div()
4667 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Int32Div()
4668 Node* true0 = graph()->NewNode(machine()->Int32Div(), lhs, rhs, if_true0); in Int32Div()
4670 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in Int32Div()
4673 Node* check1 = graph()->NewNode(machine()->Int32LessThan(), rhs, minus_one); in Int32Div()
4674 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in Int32Div()
4676 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Div()
4677 Node* true1 = graph()->NewNode(machine()->Int32Div(), lhs, rhs, if_true1); in Int32Div()
4679 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Int32Div()
4682 Node* check2 = graph()->NewNode(machine()->Word32Equal(), rhs, zero); in Int32Div()
4683 Node* branch2 = graph()->NewNode(common()->Branch(), check2, if_false1); in Int32Div()
4685 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in Int32Div()
4688 Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2); in Int32Div()
4689 Node* false2 = graph()->NewNode(machine()->Int32Sub(), zero, lhs); in Int32Div()
4691 if_false1 = graph()->NewNode(merge_op, if_true2, if_false2); in Int32Div()
4692 false1 = graph()->NewNode(phi_op, true2, false2, if_false1); in Int32Div()
4695 if_false0 = graph()->NewNode(merge_op, if_true1, if_false1); in Int32Div()
4696 false0 = graph()->NewNode(phi_op, true1, false1, if_false0); in Int32Div()
4699 Node* merge0 = graph()->NewNode(merge_op, if_true0, if_false0); in Int32Div()
4700 return graph()->NewNode(phi_op, true0, false0, merge0); in Int32Div()
4713 return graph()->NewNode(machine()->Int32Mod(), lhs, rhs, graph()->start()); in Int32Mod()
4740 Node* check0 = graph()->NewNode(machine()->Int32LessThan(), zero, rhs); in Int32Mod()
4741 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Mod()
4744 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Int32Mod()
4747 Node* msk = graph()->NewNode(machine()->Int32Add(), rhs, minus_one); in Int32Mod()
4749 Node* check1 = graph()->NewNode(machine()->Word32And(), rhs, msk); in Int32Mod()
4750 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_true0); in Int32Mod()
4752 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Mod()
4753 Node* true1 = graph()->NewNode(machine()->Int32Mod(), lhs, rhs, if_true1); in Int32Mod()
4755 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Int32Mod()
4758 Node* check2 = graph()->NewNode(machine()->Int32LessThan(), lhs, zero); in Int32Mod()
4759 Node* branch2 = graph()->NewNode(common()->Branch(BranchHint::kFalse), in Int32Mod()
4762 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in Int32Mod()
4763 Node* true2 = graph()->NewNode( in Int32Mod()
4765 graph()->NewNode(machine()->Word32And(), in Int32Mod()
4766 graph()->NewNode(machine()->Int32Sub(), zero, lhs), in Int32Mod()
4769 Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2); in Int32Mod()
4770 Node* false2 = graph()->NewNode(machine()->Word32And(), lhs, msk); in Int32Mod()
4772 if_false1 = graph()->NewNode(merge_op, if_true2, if_false2); in Int32Mod()
4773 false1 = graph()->NewNode(phi_op, true2, false2, if_false1); in Int32Mod()
4776 if_true0 = graph()->NewNode(merge_op, if_true1, if_false1); in Int32Mod()
4777 true0 = graph()->NewNode(phi_op, true1, false1, if_true0); in Int32Mod()
4780 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in Int32Mod()
4783 Node* check1 = graph()->NewNode(machine()->Int32LessThan(), rhs, minus_one); in Int32Mod()
4784 Node* branch1 = graph()->NewNode(common()->Branch(BranchHint::kTrue), in Int32Mod()
4787 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Mod()
4788 Node* true1 = graph()->NewNode(machine()->Int32Mod(), lhs, rhs, if_true1); in Int32Mod()
4790 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Int32Mod()
4793 if_false0 = graph()->NewNode(merge_op, if_true1, if_false1); in Int32Mod()
4794 false0 = graph()->NewNode(phi_op, true1, false1, if_false0); in Int32Mod()
4797 Node* merge0 = graph()->NewNode(merge_op, if_true0, if_false0); in Int32Mod()
4798 return graph()->NewNode(phi_op, true0, false0, merge0); in Int32Mod()
4808 return graph()->NewNode( in Int32Sign()
4810 graph()->NewNode(machine()->Int32LessThan(), input, zero), minus_one, in Int32Sign()
4811 graph()->NewNode( in Int32Sign()
4813 graph()->NewNode(machine()->Int32LessThan(), zero, input), one, in Int32Sign()
4826 return graph()->NewNode(machine()->Uint32Div(), lhs, rhs, graph()->start()); in Uint32Div()
4829 Node* check = graph()->NewNode(machine()->Word32Equal(), rhs, zero); in Uint32Div()
4831 Node* div = graph()->NewNode(machine()->Uint32Div(), lhs, rhs, d.if_false); in Uint32Div()
4845 return graph()->NewNode(machine()->Uint32Mod(), lhs, rhs, graph()->start()); in Uint32Mod()
4866 Node* check0 = graph()->NewNode(machine()->Word32Equal(), rhs, zero); in Uint32Mod()
4867 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kFalse), check0, in Uint32Mod()
4870 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Uint32Mod()
4873 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in Uint32Mod()
4876 Node* msk = graph()->NewNode(machine()->Int32Add(), rhs, minus_one); in Uint32Mod()
4878 Node* check1 = graph()->NewNode(machine()->Word32And(), rhs, msk); in Uint32Mod()
4879 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in Uint32Mod()
4881 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Uint32Mod()
4882 Node* true1 = graph()->NewNode(machine()->Uint32Mod(), lhs, rhs, if_true1); in Uint32Mod()
4884 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Uint32Mod()
4885 Node* false1 = graph()->NewNode(machine()->Word32And(), lhs, msk); in Uint32Mod()
4887 if_false0 = graph()->NewNode(merge_op, if_true1, if_false1); in Uint32Mod()
4888 false0 = graph()->NewNode(phi_op, true1, false1, if_false0); in Uint32Mod()
4891 Node* merge0 = graph()->NewNode(merge_op, if_true0, if_false0); in Uint32Mod()
4892 return graph()->NewNode(phi_op, true0, false0, merge0); in Uint32Mod()
4900 node->ReplaceInput(0, graph()->NewNode(op, lhs, rhs)); in DoMax()
4911 node->InsertInput(graph()->zone(), 0, graph()->NewNode(op, lhs, rhs)); in DoMin()
4922 node->ReplaceInput(0, graph()->NewNode(op, input, zero)); in DoIntegral32ToBit()
4930 node->ReplaceInput(0, graph()->NewNode(machine()->Float64Equal(), input, in DoOrderedNumberToBit()
4941 graph()->NewNode(machine()->Float64Abs(), input)); in DoNumberToBit()
4951 0, graph()->NewNode(machine()->Float64LessThan(), min, input)); in DoIntegerToUint8Clamped()
4954 graph()->NewNode( in DoIntegerToUint8Clamped()
4956 graph()->NewNode(machine()->Float64LessThan(), input, max), input, in DoIntegerToUint8Clamped()
4968 0, graph()->NewNode( in DoNumberToUint8Clamped()
4970 graph()->NewNode(machine()->Float64LessThan(), min, input), in DoNumberToUint8Clamped()
4971 graph()->NewNode( in DoNumberToUint8Clamped()
4973 graph()->NewNode(machine()->Float64LessThan(), input, max), in DoNumberToUint8Clamped()
4985 0, graph()->NewNode(machine()->Int32LessThanOrEqual(), input, max)); in DoSigned32ToUint8Clamped()
4988 graph()->NewNode(common()->Select(MachineRepresentation::kWord32), in DoSigned32ToUint8Clamped()
4989 graph()->NewNode(machine()->Int32LessThan(), input, min), in DoSigned32ToUint8Clamped()
5000 0, graph()->NewNode(machine()->Uint32LessThanOrEqual(), input, max)); in DoUnsigned32ToUint8Clamped()