Lines Matching refs:NewNode
2721 Node* check0 = graph()->NewNode(simplified()->ObjectIsSmi(), value); in DoJSToNumberTruncatesToFloat64()
2723 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberTruncatesToFloat64()
2725 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in DoJSToNumberTruncatesToFloat64()
2729 vtrue0 = graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), value); in DoJSToNumberTruncatesToFloat64()
2730 vtrue0 = graph()->NewNode(machine()->ChangeInt32ToFloat64(), vtrue0); in DoJSToNumberTruncatesToFloat64()
2733 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in DoJSToNumberTruncatesToFloat64()
2738 graph()->NewNode(ToNumberOperator(), ToNumberCode(), value, context, in DoJSToNumberTruncatesToFloat64()
2740 if_false0 = graph()->NewNode(common()->IfSuccess(), throwing); in DoJSToNumberTruncatesToFloat64()
2742 Node* check1 = graph()->NewNode(simplified()->ObjectIsSmi(), vfalse0); in DoJSToNumberTruncatesToFloat64()
2743 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in DoJSToNumberTruncatesToFloat64()
2745 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in DoJSToNumberTruncatesToFloat64()
2750 graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), vfalse0); in DoJSToNumberTruncatesToFloat64()
2751 vtrue1 = graph()->NewNode(machine()->ChangeInt32ToFloat64(), vtrue1); in DoJSToNumberTruncatesToFloat64()
2754 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in DoJSToNumberTruncatesToFloat64()
2758 vfalse1 = efalse1 = graph()->NewNode( in DoJSToNumberTruncatesToFloat64()
2763 if_false0 = graph()->NewNode(common()->Merge(2), if_true1, if_false1); in DoJSToNumberTruncatesToFloat64()
2765 graph()->NewNode(common()->EffectPhi(2), etrue1, efalse1, if_false0); in DoJSToNumberTruncatesToFloat64()
2767 graph()->NewNode(common()->Phi(MachineRepresentation::kFloat64, 2), in DoJSToNumberTruncatesToFloat64()
2771 control = graph()->NewNode(common()->Merge(2), if_true0, if_false0); in DoJSToNumberTruncatesToFloat64()
2772 effect = graph()->NewNode(common()->EffectPhi(2), etrue0, efalse0, control); in DoJSToNumberTruncatesToFloat64()
2773 value = graph()->NewNode(common()->Phi(MachineRepresentation::kFloat64, 2), in DoJSToNumberTruncatesToFloat64()
2805 Node* check0 = graph()->NewNode(simplified()->ObjectIsSmi(), value); in DoJSToNumberTruncatesToWord32()
2807 graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, control); in DoJSToNumberTruncatesToWord32()
2809 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in DoJSToNumberTruncatesToWord32()
2812 graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), value); in DoJSToNumberTruncatesToWord32()
2814 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in DoJSToNumberTruncatesToWord32()
2819 graph()->NewNode(ToNumberOperator(), ToNumberCode(), value, context, in DoJSToNumberTruncatesToWord32()
2821 if_false0 = graph()->NewNode(common()->IfSuccess(), throwing); in DoJSToNumberTruncatesToWord32()
2823 Node* check1 = graph()->NewNode(simplified()->ObjectIsSmi(), vfalse0); in DoJSToNumberTruncatesToWord32()
2824 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in DoJSToNumberTruncatesToWord32()
2826 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in DoJSToNumberTruncatesToWord32()
2829 graph()->NewNode(simplified()->ChangeTaggedSignedToInt32(), vfalse0); in DoJSToNumberTruncatesToWord32()
2831 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in DoJSToNumberTruncatesToWord32()
2835 vfalse1 = efalse1 = graph()->NewNode( in DoJSToNumberTruncatesToWord32()
2838 vfalse1 = graph()->NewNode(machine()->TruncateFloat64ToWord32(), vfalse1); in DoJSToNumberTruncatesToWord32()
2841 if_false0 = graph()->NewNode(common()->Merge(2), if_true1, if_false1); in DoJSToNumberTruncatesToWord32()
2843 graph()->NewNode(common()->EffectPhi(2), etrue1, efalse1, if_false0); in DoJSToNumberTruncatesToWord32()
2844 vfalse0 = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), in DoJSToNumberTruncatesToWord32()
2848 control = graph()->NewNode(common()->Merge(2), if_true0, if_false0); in DoJSToNumberTruncatesToWord32()
2849 effect = graph()->NewNode(common()->EffectPhi(2), etrue0, efalse0, control); in DoJSToNumberTruncatesToWord32()
2850 value = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), in DoJSToNumberTruncatesToWord32()
2886 ? graph()->NewNode(machine()->ChangeUint32ToUint64(), offset) in DoLoadBuffer()
2889 Node* check = graph()->NewNode(machine()->Uint32LessThan(), offset, length); in DoLoadBuffer()
2891 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in DoLoadBuffer()
2893 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in DoLoadBuffer()
2894 Node* etrue = graph()->NewNode(machine()->Load(access_type), buffer, index, in DoLoadBuffer()
2902 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in DoLoadBuffer()
2917 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in DoLoadBuffer()
2918 Node* ephi = graph()->NewNode(common()->EffectPhi(2), etrue, efalse, merge); in DoLoadBuffer()
2948 Node* result = graph()->NewNode(machine()->Float64RoundUp().placeholder(), in Float64Round()
2950 return graph()->NewNode( in Float64Round()
2952 graph()->NewNode( in Float64Round()
2954 graph()->NewNode(machine()->Float64Sub(), result, one_half), input), in Float64Round()
2955 result, graph()->NewNode(machine()->Float64Sub(), result, one)); in Float64Round()
2965 return graph()->NewNode( in Float64Sign()
2967 graph()->NewNode(machine()->Float64LessThan(), input, zero), minus_one, in Float64Sign()
2968 graph()->NewNode( in Float64Sign()
2970 graph()->NewNode(machine()->Float64LessThan(), zero, input), one, in Float64Sign()
2982 Node* sign = graph()->NewNode(machine()->Word32Sar(), input, in Int32Abs()
2984 return graph()->NewNode(machine()->Int32Sub(), in Int32Abs()
2985 graph()->NewNode(machine()->Word32Xor(), input, sign), in Int32Abs()
2997 return graph()->NewNode(machine()->Int32Sub(), zero, lhs); in Int32Div()
3001 return graph()->NewNode(machine()->Int32Div(), lhs, rhs, graph()->start()); in Int32Div()
3022 Node* check0 = graph()->NewNode(machine()->Int32LessThan(), zero, rhs); in Int32Div()
3023 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Div()
3026 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Int32Div()
3027 Node* true0 = graph()->NewNode(machine()->Int32Div(), lhs, rhs, if_true0); in Int32Div()
3029 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in Int32Div()
3032 Node* check1 = graph()->NewNode(machine()->Int32LessThan(), rhs, minus_one); in Int32Div()
3033 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_false0); in Int32Div()
3035 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Div()
3036 Node* true1 = graph()->NewNode(machine()->Int32Div(), lhs, rhs, if_true1); in Int32Div()
3038 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Int32Div()
3041 Node* check2 = graph()->NewNode(machine()->Word32Equal(), rhs, zero); in Int32Div()
3042 Node* branch2 = graph()->NewNode(common()->Branch(), check2, if_false1); in Int32Div()
3044 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in Int32Div()
3047 Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2); in Int32Div()
3048 Node* false2 = graph()->NewNode(machine()->Int32Sub(), zero, lhs); in Int32Div()
3050 if_false1 = graph()->NewNode(merge_op, if_true2, if_false2); in Int32Div()
3051 false1 = graph()->NewNode(phi_op, true2, false2, if_false1); in Int32Div()
3054 if_false0 = graph()->NewNode(merge_op, if_true1, if_false1); in Int32Div()
3055 false0 = graph()->NewNode(phi_op, true1, false1, if_false0); in Int32Div()
3058 Node* merge0 = graph()->NewNode(merge_op, if_true0, if_false0); in Int32Div()
3059 return graph()->NewNode(phi_op, true0, false0, merge0); in Int32Div()
3073 return graph()->NewNode(machine()->Int32Mod(), lhs, rhs, graph()->start()); in Int32Mod()
3100 Node* check0 = graph()->NewNode(machine()->Int32LessThan(), zero, rhs); in Int32Mod()
3101 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), check0, in Int32Mod()
3104 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Int32Mod()
3107 Node* msk = graph()->NewNode(machine()->Int32Add(), rhs, minus_one); in Int32Mod()
3109 Node* check1 = graph()->NewNode(machine()->Word32And(), rhs, msk); in Int32Mod()
3110 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_true0); in Int32Mod()
3112 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Mod()
3113 Node* true1 = graph()->NewNode(machine()->Int32Mod(), lhs, rhs, if_true1); in Int32Mod()
3115 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Int32Mod()
3118 Node* check2 = graph()->NewNode(machine()->Int32LessThan(), lhs, zero); in Int32Mod()
3119 Node* branch2 = graph()->NewNode(common()->Branch(BranchHint::kFalse), in Int32Mod()
3122 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in Int32Mod()
3123 Node* true2 = graph()->NewNode( in Int32Mod()
3125 graph()->NewNode(machine()->Word32And(), in Int32Mod()
3126 graph()->NewNode(machine()->Int32Sub(), zero, lhs), in Int32Mod()
3129 Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2); in Int32Mod()
3130 Node* false2 = graph()->NewNode(machine()->Word32And(), lhs, msk); in Int32Mod()
3132 if_false1 = graph()->NewNode(merge_op, if_true2, if_false2); in Int32Mod()
3133 false1 = graph()->NewNode(phi_op, true2, false2, if_false1); in Int32Mod()
3136 if_true0 = graph()->NewNode(merge_op, if_true1, if_false1); in Int32Mod()
3137 true0 = graph()->NewNode(phi_op, true1, false1, if_true0); in Int32Mod()
3140 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in Int32Mod()
3143 Node* check1 = graph()->NewNode(machine()->Int32LessThan(), rhs, minus_one); in Int32Mod()
3144 Node* branch1 = graph()->NewNode(common()->Branch(BranchHint::kTrue), in Int32Mod()
3147 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Mod()
3148 Node* true1 = graph()->NewNode(machine()->Int32Mod(), lhs, rhs, if_true1); in Int32Mod()
3150 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Int32Mod()
3153 if_false0 = graph()->NewNode(merge_op, if_true1, if_false1); in Int32Mod()
3154 false0 = graph()->NewNode(phi_op, true1, false1, if_false0); in Int32Mod()
3157 Node* merge0 = graph()->NewNode(merge_op, if_true0, if_false0); in Int32Mod()
3158 return graph()->NewNode(phi_op, true0, false0, merge0); in Int32Mod()
3168 return graph()->NewNode( in Int32Sign()
3170 graph()->NewNode(machine()->Int32LessThan(), input, zero), minus_one, in Int32Sign()
3171 graph()->NewNode( in Int32Sign()
3173 graph()->NewNode(machine()->Int32LessThan(), zero, input), one, in Int32Sign()
3186 return graph()->NewNode(machine()->Uint32Div(), lhs, rhs, graph()->start()); in Uint32Div()
3189 Node* check = graph()->NewNode(machine()->Word32Equal(), rhs, zero); in Uint32Div()
3191 Node* div = graph()->NewNode(machine()->Uint32Div(), lhs, rhs, d.if_false); in Uint32Div()
3206 return graph()->NewNode(machine()->Uint32Mod(), lhs, rhs, graph()->start()); in Uint32Mod()
3227 Node* branch0 = graph()->NewNode(common()->Branch(BranchHint::kTrue), rhs, in Uint32Mod()
3230 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Uint32Mod()
3233 Node* msk = graph()->NewNode(machine()->Int32Add(), rhs, minus_one); in Uint32Mod()
3235 Node* check1 = graph()->NewNode(machine()->Word32And(), rhs, msk); in Uint32Mod()
3236 Node* branch1 = graph()->NewNode(common()->Branch(), check1, if_true0); in Uint32Mod()
3238 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Uint32Mod()
3239 Node* true1 = graph()->NewNode(machine()->Uint32Mod(), lhs, rhs, if_true1); in Uint32Mod()
3241 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in Uint32Mod()
3242 Node* false1 = graph()->NewNode(machine()->Word32And(), lhs, msk); in Uint32Mod()
3244 if_true0 = graph()->NewNode(merge_op, if_true1, if_false1); in Uint32Mod()
3245 true0 = graph()->NewNode(phi_op, true1, false1, if_true0); in Uint32Mod()
3248 Node* if_false0 = graph()->NewNode(common()->IfFalse(), branch0); in Uint32Mod()
3251 Node* merge0 = graph()->NewNode(merge_op, if_true0, if_false0); in Uint32Mod()
3252 return graph()->NewNode(phi_op, true0, false0, merge0); in Uint32Mod()
3260 node->ReplaceInput(0, graph()->NewNode(op, lhs, rhs)); in DoMax()
3271 node->InsertInput(graph()->zone(), 0, graph()->NewNode(op, lhs, rhs)); in DoMin()
3281 node->ReplaceInput(1, graph()->NewNode(machine()->Word32And(), rhs, in DoShift()
3306 node->ReplaceInput(0, graph()->NewNode(op, input, zero)); in DoIntegral32ToBit()
3314 node->ReplaceInput(0, graph()->NewNode(machine()->Float64Equal(), input, in DoOrderedNumberToBit()
3325 graph()->NewNode(machine()->Float64Abs(), input)); in DoNumberToBit()
3335 0, graph()->NewNode(machine()->Float64LessThan(), min, input)); in DoIntegerToUint8Clamped()
3338 graph()->NewNode( in DoIntegerToUint8Clamped()
3340 graph()->NewNode(machine()->Float64LessThan(), input, max), input, in DoIntegerToUint8Clamped()
3353 0, graph()->NewNode( in DoNumberToUint8Clamped()
3355 graph()->NewNode(machine()->Float64LessThan(), min, input), in DoNumberToUint8Clamped()
3356 graph()->NewNode( in DoNumberToUint8Clamped()
3358 graph()->NewNode(machine()->Float64LessThan(), input, max), in DoNumberToUint8Clamped()
3371 0, graph()->NewNode(machine()->Int32LessThanOrEqual(), input, max)); in DoSigned32ToUint8Clamped()
3374 graph()->NewNode(common()->Select(MachineRepresentation::kWord32), in DoSigned32ToUint8Clamped()
3375 graph()->NewNode(machine()->Int32LessThan(), input, min), in DoSigned32ToUint8Clamped()
3387 0, graph()->NewNode(machine()->Uint32LessThanOrEqual(), input, max)); in DoUnsigned32ToUint8Clamped()