• Home
  • Raw
  • Download

Lines Matching refs:NewNode

115   Node* NewNode(const Operator* op, bool incomplete = false) {  in NewNode()  function in v8::internal::compiler::BytecodeGraphBuilder
120 Node* NewNode(const Operator* op, Node* n0, Args... nodes) { in NewNode() function in v8::internal::compiler::BytecodeGraphBuilder
126 Node* NewIfTrue() { return NewNode(common()->IfTrue()); } in NewIfTrue()
127 Node* NewIfFalse() { return NewNode(common()->IfFalse()); } in NewIfFalse()
128 Node* NewIfValue(int32_t value) { return NewNode(common()->IfValue(value)); } in NewIfValue()
129 Node* NewIfDefault() { return NewNode(common()->IfDefault()); } in NewIfDefault()
130 Node* NewMerge() { return NewNode(common()->Merge(1), true); } in NewMerge()
131 Node* NewLoop() { return NewNode(common()->Loop(1), true); } in NewLoop()
133 return NewNode(common()->Branch(hint), condition); in NewBranch()
136 return NewNode(common()->Switch(control_output_count), condition); in NewSwitch()
772 builder()->NewNode(common()->Projection(i), node); in BindRegistersToProjections()
885 Node* terminate = builder()->graph()->NewNode( in PrepareForLoop()
894 SetContext(graph()->NewNode( in FillWithOsrValues()
901 values()->at(i) = graph()->NewNode(common()->OsrValue(idx), start); in FillWithOsrValues()
928 Node* loop_exit = graph()->NewNode(common()->LoopExit(), control, loop); in PrepareForLoopExit()
932 Node* effect_rename = graph()->NewNode(common()->LoopExitEffect(), in PrepareForLoopExit()
944 Node* rename = graph()->NewNode( in PrepareForLoopExit()
953 Node* rename = graph()->NewNode( in PrepareForLoopExit()
960 Node* rename = graph()->NewNode( in PrepareForLoopExit()
967 generator_state_ = graph()->NewNode( in PrepareForLoopExit()
978 (*state_values) = graph()->NewNode(op, count, values); in UpdateStateValues()
1012 Node* result = graph()->NewNode( in Checkpoint()
1101 NewNode(common()->Parameter(parameter_index, debug_name_hint), in GetParameter()
1123 Node* result = NewNode(javascript()->LoadContext(0, index, true)); in BuildLoadNativeContextField()
1144 graph()->SetStart(graph()->NewNode(common()->Start(start_output_arity))); in CreateGraph()
1161 Node* end = graph()->NewNode(common()->End(input_count), input_count, inputs); in CreateGraph()
1170 Node* node = NewNode(common()->Checkpoint()); in PrepareEagerCheckpoint()
1321 NewNode(javascript()->StackCheck(StackCheckKind::kJSFunctionEntry)); in BuildFunctionEntryStackCheck()
1328 NewNode(javascript()->StackCheck(StackCheckKind::kJSIterationBody)); in BuildIterationBodyStackCheck()
1335 NewNode(javascript()->StackCheck(StackCheckKind::kJSFunctionEntry)); in BuildOSREntryStackCheck()
1541 return NewNode(op, feedback_vector_node()); in BuildLoadGlobal()
1572 Node* node = NewNode(op, value, feedback_vector_node()); in VisitStaGlobal()
1597 node = NewNode(op, array, index, value, feedback_vector_node()); in VisitStaInArrayLiteral()
1626 node = NewNode(op, object, name, value, jsgraph()->Constant(flags), in VisitDefineKeyedOwnPropertyInLiteral()
1643 Node* node = NewNode(op, position, value, vector); in VisitCollectTypeProfile()
1651 Node* node = NewNode(op); in VisitLdaContextSlot()
1662 Node* node = NewNode(op); in VisitLdaImmutableContextSlot()
1672 Node* node = NewNode(op); in VisitLdaCurrentContextSlot()
1679 Node* node = NewNode(op); in VisitLdaImmutableCurrentContextSlot()
1688 Node* node = NewNode(op, value); in VisitStaContextSlot()
1698 NewNode(op, value); in VisitStaCurrentContextSlot()
1708 Node* value = NewNode(op, name); in BuildLdaLookupSlot()
1723 Node* extension_slot = NewNode( in CheckContextExtensionAtDepth()
1726 NewNode(simplified()->ReferenceEqual(), extension_slot, in CheckContextExtensionAtDepth()
1806 Node* has_extension = NewNode(javascript()->HasContextExtension(d)); in CheckContextExtensionsSlowPath()
1842 environment()->BindAccumulator(NewNode(op)); in BuildLdaLookupContextSlot()
1860 Node* value = NewNode(op, name); in BuildLdaLookupContextSlot()
1911 Node* value = NewNode(op, name); in BuildLdaLookupGlobalSlot()
1950 Node* store = NewNode(op, name, value); in VisitStaLookupSlot()
1973 node = NewNode(op, object, feedback_vector_node()); in VisitGetNamedProperty()
1999 node = NewNode(op, receiver, home_object, feedback_vector_node()); in VisitGetNamedPropertyFromSuper()
2026 node = NewNode(op, object, key, feedback_vector_node()); in VisitGetKeyedProperty()
2063 node = NewNode(op, object, value, feedback_vector_node()); in BuildNamedStore()
2103 node = NewNode(op, object, key, value, feedback_vector_node()); in VisitSetKeyedProperty()
2138 node = NewNode(op, object, key, value, feedback_vector_node()); in VisitDefineKeyedOwnProperty()
2148 NewNode(javascript()->LoadContext(depth, Context::EXTENSION_INDEX, true)); in VisitLdaModuleVariable()
2149 Node* value = NewNode(javascript()->LoadModule(cell_index), module); in VisitLdaModuleVariable()
2157 NewNode(javascript()->LoadContext(depth, Context::EXTENSION_INDEX, true)); in VisitStaModuleVariable()
2159 NewNode(javascript()->StoreModule(cell_index), module, value); in VisitStaModuleVariable()
2187 Node* closure = NewNode( in VisitCreateClosure()
2195 Node* context = NewNode(op); in VisitCreateBlockContext()
2204 Node* context = NewNode(op); in VisitCreateFunctionContext()
2213 Node* context = NewNode(op); in VisitCreateEvalContext()
2223 Node* context = NewNode(op, exception); in VisitCreateCatchContext()
2233 Node* context = NewNode(op, object); in VisitCreateWithContext()
2239 Node* object = NewNode(op, GetFunctionClosure()); in BuildCreateArguments()
2264 Node* literal = NewNode(op, feedback_vector_node()); in VisitCreateRegExpLiteral()
2287 Node* literal = NewNode(op, feedback_vector_node()); in VisitCreateArrayLiteral()
2296 Node* literal = NewNode(op, feedback_vector_node()); in VisitCreateEmptyArrayLiteral()
2301 Node* iterable = NewNode(javascript()->CreateArrayFromIterable(), in VisitCreateArrayFromIterable()
2319 Node* literal = NewNode(op, feedback_vector_node()); in VisitCreateObjectLiteral()
2324 Node* literal = NewNode(javascript()->CreateEmptyLiteralObject()); in VisitCreateEmptyObjectLiteral()
2339 Node* value = NewNode(op, source, feedback_vector_node()); in VisitCloneObject()
2352 Node* template_object = NewNode(op, feedback_vector_node()); in VisitGetTemplateObject()
2628 Node* control = NewNode(common()->Throw()); in VisitCallRuntime()
2759 Node* call = NewNode(javascript()->CallRuntime(Runtime::kThrow), value); in VisitThrow()
2761 Node* control = NewNode(common()->Throw()); in VisitThrow()
2770 NewNode(simplified()->RuntimeAbort(reason)); in VisitAbort()
2771 Node* control = NewNode(common()->Throw()); in VisitAbort()
2779 NewNode(javascript()->CallRuntime(Runtime::kReThrow), value); in VisitReThrow()
2780 Node* control = NewNode(common()->Throw()); in VisitReThrow()
2798 node = NewNode(op, name); in BuildHoleCheckAndThrow()
2802 node = NewNode(op); in BuildHoleCheckAndThrow()
2805 Node* control = NewNode(common()->Throw()); in BuildHoleCheckAndThrow()
2814 Node* check_for_hole = NewNode(simplified()->ReferenceEqual(), accumulator, in VisitThrowReferenceErrorIfHole()
2823 Node* check_for_hole = NewNode(simplified()->ReferenceEqual(), accumulator, in VisitThrowSuperNotCalledIfHole()
2830 Node* check_for_hole = NewNode(simplified()->ReferenceEqual(), accumulator, in VisitThrowSuperAlreadyCalledIfNotHole()
2833 NewNode(simplified()->BooleanNot(), check_for_hole); in VisitThrowSuperAlreadyCalledIfNotHole()
2842 NewNode(simplified()->ObjectIsConstructor(), constructor); in VisitThrowIfNotSuperConstructor()
2850 NewNode(javascript()->CallRuntime(Runtime::kThrowNotSuperConstructor), in VisitThrowIfNotSuperConstructor()
2853 Node* control = NewNode(common()->Throw()); in VisitThrowIfNotSuperConstructor()
2858 constructor = NewNode(common()->TypeGuard(Type::Callable()), constructor); in VisitThrowIfNotSuperConstructor()
2880 node = NewNode(op, operand, feedback_vector_node()); in BuildUnaryOp()
2905 node = NewNode(op, left, right, feedback_vector_node()); in BuildBinaryOp()
3075 node = NewNode(op, left, right, feedback_vector_node()); in BuildBinaryOpWithImmediate()
3154 Node* node = NewNode(simplified()->BooleanNot(), value); in VisitLogicalNot()
3160 NewNode(simplified()->ToBoolean(), environment()->LookupAccumulator()); in VisitToBooleanLogicalNot()
3161 Node* node = NewNode(simplified()->BooleanNot(), value); in VisitToBooleanLogicalNot()
3167 NewNode(simplified()->TypeOf(), environment()->LookupAccumulator()); in VisitTypeOf()
3177 Node* node = NewNode(javascript()->DeleteProperty(), object, key, mode); in BuildDelete()
3190 Node* node = NewNode(javascript()->GetSuperConstructor(), in VisitGetSuperConstructor()
3214 node = NewNode(op, left, right, feedback_vector_node()); in BuildCompareOp()
3259 Node* result = NewNode(simplified()->ReferenceEqual(), left, right); in VisitTestReferenceEqual()
3275 Node* node = NewNode(op, object, key, feedback_vector_node()); in VisitTestIn()
3287 Node* node = NewNode(jsgraph()->simplified()->ObjectIsUndetectable(), object); in VisitTestUndetectable()
3293 Node* result = NewNode(simplified()->ReferenceEqual(), object, in VisitTestNull()
3300 Node* result = NewNode(simplified()->ReferenceEqual(), object, in VisitTestUndefined()
3312 result = NewNode(simplified()->ObjectIsNumber(), object); in VisitTestTypeOf()
3315 result = NewNode(simplified()->ObjectIsString(), object); in VisitTestTypeOf()
3318 result = NewNode(simplified()->ObjectIsSymbol(), object); in VisitTestTypeOf()
3321 result = NewNode(simplified()->ObjectIsBigInt(), object); in VisitTestTypeOf()
3324 result = NewNode(common()->Select(MachineRepresentation::kTagged), in VisitTestTypeOf()
3325 NewNode(simplified()->ReferenceEqual(), object, in VisitTestTypeOf()
3328 NewNode(simplified()->ReferenceEqual(), object, in VisitTestTypeOf()
3332 result = graph()->NewNode( in VisitTestTypeOf()
3334 graph()->NewNode(simplified()->ReferenceEqual(), object, in VisitTestTypeOf()
3337 graph()->NewNode(simplified()->ObjectIsUndetectable(), object)); in VisitTestTypeOf()
3341 graph()->NewNode(simplified()->ObjectIsDetectableCallable(), object); in VisitTestTypeOf()
3344 result = graph()->NewNode( in VisitTestTypeOf()
3346 graph()->NewNode(simplified()->ObjectIsNonCallable(), object), in VisitTestTypeOf()
3348 graph()->NewNode(simplified()->ReferenceEqual(), object, in VisitTestTypeOf()
3358 Node* value = NewNode(js_op, environment()->LookupAccumulator()); in BuildCastOperator()
3373 NewNode(javascript()->ToString(), environment()->LookupAccumulator()); in VisitToString()
3390 node = NewNode(javascript()->ToNumber(), object); in VisitToNumber()
3411 node = NewNode(javascript()->ToNumeric(), object); in VisitToNumeric()
3515 Node* acc_smi = NewNode(simplified()->CheckSmi(FeedbackSource()), acc); in VisitSwitchOnSmiNoFeedback()
3520 Node* previous_message = NewNode(javascript()->LoadMessage()); in VisitSetPendingMessage()
3521 NewNode(javascript()->StoreMessage(), environment()->LookupAccumulator()); in VisitSetPendingMessage()
3529 NewNode(common()->Return(), pop_node, environment()->LookupAccumulator()); in BuildReturn()
3540 Node* call = NewNode(javascript()->Debugger()); in VisitDebugger()
3559 NewNode(op, closure, coverage_array_slot); in DEBUG_BREAK_BYTECODE_LIST()
3565 Node* enumerator = NewNode(javascript()->ForInEnumerate(), receiver); in VisitForInEnumerate()
3579 Node* node = NewNode(javascript()->ForInPrepare(GetForInMode(slot), feedback), in VisitForInPrepare()
3591 Node* exit_cond = NewNode(simplified()->SpeculativeNumberLessThan( in VisitForInContinue()
3611 index = NewNode(common()->TypeGuard(Type::UnsignedSmall()), index); in VisitForInNext()
3621 NewNode(javascript()->ForInNext(GetForInMode(slot), feedback), receiver, in VisitForInNext()
3630 index = NewNode(simplified()->SpeculativeSafeIntegerAdd( in VisitForInStep()
3654 Node* iterator = NewNode(op, receiver, feedback_vector_node()); in VisitGetIterator()
3750 NewNode(simplified()->RuntimeAbort(AbortReason::kInvalidJumpTableIndex)); in BuildSwitchOnGeneratorState()
3752 Node* control = NewNode(common()->Throw()); in BuildSwitchOnGeneratorState()
3771 NewNode(simplified()->ReferenceEqual(), generator, in VisitSwitchOnGeneratorState()
3780 NewNode(javascript()->GeneratorRestoreContinuation(), generator); in VisitSwitchOnGeneratorState()
3784 NewNode(javascript()->GeneratorRestoreContext(), generator); in VisitSwitchOnGeneratorState()
3811 Node* value = NewNode(javascript()->GeneratorRestoreRegister( in VisitResumeGenerator()
3820 NewNode(javascript()->GeneratorRestoreInputOrDebugPos(), generator); in VisitResumeGenerator()
3968 NewNode(simplified()->ReferenceEqual(), accumulator, comperand); in BuildJumpIfEqual()
3975 NewNode(simplified()->ReferenceEqual(), accumulator, comperand); in BuildJumpIfNotEqual()
4005 Node* condition = NewNode(simplified()->ToBoolean(), accumulator); in BuildJumpIfToBooleanTrue()
4011 Node* condition = NewNode(simplified()->ToBoolean(), accumulator); in BuildJumpIfToBooleanFalse()
4017 Node* condition = NewNode(simplified()->ReferenceEqual(), accumulator, in BuildJumpIfNotHole()
4024 Node* condition = NewNode(simplified()->ObjectIsReceiver(), accumulator); in BuildJumpIfJSReceiver()
4253 result = graph()->NewNode(op, value_input_count, value_inputs, incomplete); in MakeNode()
4283 result = graph()->NewNode(op, input_count_with_deps, buffer, incomplete); in MakeNode()
4300 Node* on_exception = graph()->NewNode(if_exception, effect, result); in MakeNode()
4312 Node* on_success = graph()->NewNode(if_success, result); in MakeNode()
4330 return graph()->NewNode(phi_op, count + 1, buffer, true); in NewPhi()
4339 return graph()->NewNode(phi_op, count + 1, buffer, true); in NewEffectPhi()
4359 control = graph()->NewNode(op, arraysize(merge_inputs), merge_inputs, true); in MergeControl()