Lines Matching refs:Node

28 class Node;
48 Node* NewIfTrue() { return NewNode(common()->IfTrue()); }
49 Node* NewIfFalse() { return NewNode(common()->IfFalse()); }
50 Node* NewMerge() { return NewNode(common()->Merge(1), true); }
51 Node* NewLoop() { return NewNode(common()->Loop(1), true); }
52 Node* NewBranch(Node* condition, BranchHint hint = BranchHint::kNone) {
95 SetOncePointer<Node> function_closure_;
96 SetOncePointer<Node> function_context_;
100 Node** input_buffer_;
103 SetOncePointer<Node> feedback_vector_;
106 SetOncePointer<Node> empty_frame_state_;
109 ZoneVector<Node*> exit_controls_;
142 Node* current_context() const;
157 Node* GetFunctionClosureForContext();
158 Node* GetFunctionClosure();
161 Node* GetFunctionContext();
164 Node* GetEmptyFrameState();
166 // Node creation helpers.
167 Node* NewNode(const Operator* op, bool incomplete = false) {
168 return MakeNode(op, 0, static_cast<Node**>(nullptr), incomplete);
171 Node* NewNode(const Operator* op, Node* n1) {
175 Node* NewNode(const Operator* op, Node* n1, Node* n2) {
176 Node* buffer[] = {n1, n2};
180 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3) {
181 Node* buffer[] = {n1, n2, n3};
185 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4) {
186 Node* buffer[] = {n1, n2, n3, n4};
190 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4,
191 Node* n5) {
192 Node* buffer[] = {n1, n2, n3, n4, n5};
196 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4,
197 Node* n5, Node* n6) {
198 Node* nodes[] = {n1, n2, n3, n4, n5, n6};
202 Node* NewNode(const Operator* op, int value_input_count, Node** value_inputs,
208 Node* NewPhi(int count, Node* input, Node* control);
209 Node* NewEffectPhi(int count, Node* input, Node* control);
212 Node* MergeControl(Node* control, Node* other);
213 Node* MergeEffect(Node* value, Node* other, Node* control);
214 Node* MergeValue(Node* value, Node* other, Node* control);
218 Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs,
222 void UpdateControlDependencyToLeaveFunction(Node* exit);
227 void PrepareFrameState(Node* node, BailoutId ast_id,
246 Node** EnsureInputBufferSize(int size);
260 Node* BuildLocalActivationContext(Node* context);
261 Node* BuildLocalFunctionContext(Scope* scope);
262 Node* BuildLocalScriptContext(Scope* scope);
263 Node* BuildLocalBlockContext(Scope* scope);
266 Node* BuildArgumentsObject(Variable* arguments);
269 Node* BuildVariableAssignment(Variable* variable, Node* value,
274 Node* BuildVariableDelete(Variable* variable, BailoutId bailout_id,
276 Node* BuildVariableLoad(Variable* variable, BailoutId bailout_id,
282 Node* BuildKeyedLoad(Node* receiver, Node* key,
284 Node* BuildNamedLoad(Node* receiver, Handle<Name> name,
286 Node* BuildKeyedStore(Node* receiver, Node* key, Node* value,
288 Node* BuildNamedStore(Node* receiver, Handle<Name> name, Node* value,
290 Node* BuildNamedStoreOwn(Node* receiver, Handle<Name> name, Node* value,
294 Node* BuildGlobalLoad(Handle<Name> name, const VectorSlotPair& feedback,
296 Node* BuildGlobalStore(Handle<Name> name, Node* value,
300 Node* BuildLoadGlobalObject();
301 Node* BuildLoadNativeContextField(int index);
304 Node* BuildToBoolean(Node* input, TypeFeedbackId feedback_id);
305 Node* BuildToObject(Node* input, BailoutId bailout_id);
309 Node* BuildSetHomeObject(Node* value, Node* home_object,
313 Node* BuildThrowError(Node* exception, BailoutId bailout_id);
314 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id);
315 Node* BuildThrowConstAssignError(BailoutId bailout_id);
318 Node* BuildHoleCheckThenThrow(Node* value, Variable* var, Node* not_hole,
320 Node* BuildHoleCheckElseThrow(Node* value, Variable* var, Node* for_hole,
324 Node* BuildReturn(Node* return_value);
325 Node* BuildThrow(Node* exception_value);
328 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op,
333 Node* ProcessArguments(const Operator* op, int arity);
342 Node* TryLoadGlobalConstant(Handle<Name> name);
345 Node* TryFastToBoolean(Node* input);
392 Node* nil_value);
397 void VisitObjectLiteralAccessor(Node* home_object,
416 Node* control_dependency);
427 void Bind(Variable* variable, Node* node);
428 Node* Lookup(Variable* variable);
432 void RawParameterBind(int index, Node* node);
433 Node* RawParameterLookup(int index);
436 Node* Context() const { return contexts_.back(); }
437 void PushContext(Node* context) { contexts()->push_back(context); }
444 void Push(Node* node) {
447 Node* Top() {
451 Node* Pop() {
453 Node* back = values()->back();
459 void Poke(int depth, Node* node) {
464 Node* Peek(int depth) {
481 Node* Checkpoint(BailoutId ast_id, OutputFrameStateCombine combine =
487 void PrepareForLoopExit(Node* loop, BitVector* assigned_variables);
490 Node* GetControlDependency() { return control_dependency_; }
491 void UpdateControlDependency(Node* dependency) {
496 Node* GetEffectDependency() { return effect_dependency_; }
497 void UpdateEffectDependency(Node* dependency) {
534 Node* control_dependency_;
535 Node* effect_dependency_;
536 Node* parameters_node_;
537 Node* locals_node_;
538 Node* stack_node_;
543 void UpdateStateValues(Node** state_values, int offset, int count);