• Home
  • Raw
  • Download

Lines Matching refs:NewNode

81   Node* effect = graph()->NewNode(common()->BeginRegion(), graph()->start());  in AllocateHeapNumberWithValue()
88 Node* heap_number = graph()->NewNode(allocate_heap_number_operator_.get(), in AllocateHeapNumberWithValue()
90 Node* store = graph()->NewNode( in AllocateHeapNumberWithValue()
94 return graph()->NewNode(common()->FinishRegion(), heap_number, store); in AllocateHeapNumberWithValue()
99 return graph()->NewNode(machine()->ChangeInt32ToFloat64(), value); in ChangeInt32ToFloat64()
105 value = graph()->NewNode(machine()->ChangeInt32ToInt64(), value); in ChangeInt32ToSmi()
107 return graph()->NewNode(machine()->WordShl(), value, SmiShiftBitsConstant()); in ChangeInt32ToSmi()
117 value = graph()->NewNode(machine()->WordSar(), value, SmiShiftBitsConstant()); in ChangeSmiToInt32()
119 value = graph()->NewNode(machine()->TruncateInt64ToInt32(), value); in ChangeSmiToInt32()
126 return graph()->NewNode(machine()->ChangeUint32ToFloat64(), value); in ChangeUint32ToFloat64()
132 value = graph()->NewNode(machine()->ChangeUint32ToUint64(), value); in ChangeUint32ToSmi()
134 return graph()->NewNode(machine()->WordShl(), value, SmiShiftBitsConstant()); in ChangeUint32ToSmi()
139 return graph()->NewNode(machine()->Load(MachineType::Float64()), value, in LoadHeapNumberValue()
148 return graph()->NewNode(machine()->WordAnd(), value, in TestNotSmi()
155 graph()->NewNode(common()->Select(MachineRepresentation::kTagged), value, in ChangeBitToBool()
161 return Replace(graph()->NewNode(machine()->WordEqual(), value, in ChangeBoolToBit()
168 Node* const value32 = graph()->NewNode( in ChangeFloat64ToTagged()
176 Node* check_same = graph()->NewNode( in ChangeFloat64ToTagged()
178 graph()->NewNode(machine()->ChangeInt32ToFloat64(), value32)); in ChangeFloat64ToTagged()
179 Node* branch_same = graph()->NewNode(common()->Branch(), check_same, control); in ChangeFloat64ToTagged()
181 Node* if_smi = graph()->NewNode(common()->IfTrue(), branch_same); in ChangeFloat64ToTagged()
183 Node* if_box = graph()->NewNode(common()->IfFalse(), branch_same); in ChangeFloat64ToTagged()
188 Node* check_zero = graph()->NewNode(machine()->Word32Equal(), value32, in ChangeFloat64ToTagged()
190 Node* branch_zero = graph()->NewNode(common()->Branch(BranchHint::kFalse), in ChangeFloat64ToTagged()
193 Node* if_zero = graph()->NewNode(common()->IfTrue(), branch_zero); in ChangeFloat64ToTagged()
194 Node* if_notzero = graph()->NewNode(common()->IfFalse(), branch_zero); in ChangeFloat64ToTagged()
197 Node* check_negative = graph()->NewNode( in ChangeFloat64ToTagged()
199 graph()->NewNode(machine()->Float64ExtractHighWord32(), value), in ChangeFloat64ToTagged()
201 Node* branch_negative = graph()->NewNode( in ChangeFloat64ToTagged()
204 Node* if_negative = graph()->NewNode(common()->IfTrue(), branch_negative); in ChangeFloat64ToTagged()
206 graph()->NewNode(common()->IfFalse(), branch_negative); in ChangeFloat64ToTagged()
209 if_smi = graph()->NewNode(common()->Merge(2), if_notzero, if_notnegative); in ChangeFloat64ToTagged()
210 if_box = graph()->NewNode(common()->Merge(2), if_box, if_negative); in ChangeFloat64ToTagged()
219 graph()->NewNode(machine()->Int32AddWithOverflow(), value32, value32); in ChangeFloat64ToTagged()
221 Node* check_ovf = graph()->NewNode(common()->Projection(1), smi_tag); in ChangeFloat64ToTagged()
222 Node* branch_ovf = graph()->NewNode(common()->Branch(BranchHint::kFalse), in ChangeFloat64ToTagged()
225 Node* if_ovf = graph()->NewNode(common()->IfTrue(), branch_ovf); in ChangeFloat64ToTagged()
226 if_box = graph()->NewNode(common()->Merge(2), if_ovf, if_box); in ChangeFloat64ToTagged()
228 if_smi = graph()->NewNode(common()->IfFalse(), branch_ovf); in ChangeFloat64ToTagged()
229 vsmi = graph()->NewNode(common()->Projection(0), smi_tag); in ChangeFloat64ToTagged()
235 control = graph()->NewNode(common()->Merge(2), if_smi, if_box); in ChangeFloat64ToTagged()
236 value = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2), in ChangeFloat64ToTagged()
248 Node* add = graph()->NewNode(machine()->Int32AddWithOverflow(), value, value); in ChangeInt32ToTagged()
250 Node* ovf = graph()->NewNode(common()->Projection(1), add); in ChangeInt32ToTagged()
252 graph()->NewNode(common()->Branch(BranchHint::kFalse), ovf, control); in ChangeInt32ToTagged()
254 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ChangeInt32ToTagged()
258 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeInt32ToTagged()
259 Node* vfalse = graph()->NewNode(common()->Projection(0), add); in ChangeInt32ToTagged()
261 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeInt32ToTagged()
262 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2), in ChangeInt32ToTagged()
280 return Replace(graph()->NewNode(op, LoadHeapNumberValue(value, control))); in ChangeTaggedToUI32()
285 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ChangeTaggedToUI32()
287 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ChangeTaggedToUI32()
288 Node* vtrue = graph()->NewNode(op, LoadHeapNumberValue(value, if_true)); in ChangeTaggedToUI32()
290 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeTaggedToUI32()
293 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeTaggedToUI32()
294 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 2), in ChangeTaggedToUI32()
338 graph()->NewNode(common()->Branch(BranchHint::kFalse), check1, control); in ChangeTaggedToFloat64()
340 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in ChangeTaggedToFloat64()
341 Node* vtrue1 = graph()->NewNode(value->op(), object, context, frame_state, in ChangeTaggedToFloat64()
346 Node* branch2 = graph()->NewNode(common()->Branch(), check2, if_true1); in ChangeTaggedToFloat64()
348 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in ChangeTaggedToFloat64()
351 Node* if_false2 = graph()->NewNode(common()->IfFalse(), branch2); in ChangeTaggedToFloat64()
354 if_true1 = graph()->NewNode(merge_op, if_true2, if_false2); in ChangeTaggedToFloat64()
355 vtrue1 = graph()->NewNode(phi_op, vtrue2, vfalse2, if_true1); in ChangeTaggedToFloat64()
357 Node* if_false1 = graph()->NewNode(common()->IfFalse(), branch1); in ChangeTaggedToFloat64()
361 Node* merge1 = graph()->NewNode(merge_op, if_true1, if_false1); in ChangeTaggedToFloat64()
362 Node* ephi1 = graph()->NewNode(ephi_op, etrue1, efalse1, merge1); in ChangeTaggedToFloat64()
363 Node* phi1 = graph()->NewNode(phi_op, vtrue1, vfalse1, merge1); in ChangeTaggedToFloat64()
382 graph()->NewNode(common()->Branch(BranchHint::kFalse), check, control); in ChangeTaggedToFloat64()
384 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ChangeTaggedToFloat64()
387 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeTaggedToFloat64()
390 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeTaggedToFloat64()
391 Node* phi = graph()->NewNode( in ChangeTaggedToFloat64()
403 Node* check = graph()->NewNode(machine()->Uint32LessThanOrEqual(), value, in ChangeUint32ToTagged()
406 graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); in ChangeUint32ToTagged()
408 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ChangeUint32ToTagged()
411 Node* if_false = graph()->NewNode(common()->IfFalse(), branch); in ChangeUint32ToTagged()
415 Node* merge = graph()->NewNode(common()->Merge(2), if_true, if_false); in ChangeUint32ToTagged()
416 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2), in ChangeUint32ToTagged()
514 index = graph()->NewNode(machine()->Word32Shl(), index, in ComputeIndex()
519 index = graph()->NewNode(machine()->Int32Add(), index, in ComputeIndex()
526 index = graph()->NewNode(machine()->ChangeUint32ToUint64(), index); in ComputeIndex()