Lines Matching defs:environment

111   const Environment* environment() const { return environment_; }
112 Environment* environment() { return environment_; }
253 // the result has already been wired into the environment just like
285 // Applies the given early reduction onto the current environment.
469 // Merge environments are snapshots of the environment at points where the
476 // environment, tracing back through loop headers to the resume switch of a
526 // The abstract execution environment simulates the content of the interpreter
527 // register file. The environment performs SSA-renaming of all tracked nodes at
536 // Specifies whether environment binding methods should attach frame state
559 // Effect dependency tracked by this environment.
565 // Preserve a checkpoint of the environment for the IR graph. Any
566 // further mutation of the environment will not affect checkpoints.
571 // Control dependency tracked by this environment.
624 // A helper for creating a temporary sub-environment for simple branches.
628 : builder_(builder), parent_(builder->environment()->Copy()) {}
791 // the current environment's control dependency accordingly.
797 // the current environment's effect dependency accordingly.
893 // Create OSR values for each environment value.
940 // Rename the environment values if they were assigned in the loop and are
1180 Node* frame_state_before = environment()->Checkpoint(
1188 Node* effect = environment()->GetEffectDependency();
1211 environment()->Checkpoint(bailout_id, combine, liveness);
1329 environment()->RecordAfterState(node, Environment::kAttachFrameState);
1343 environment()->FillWithOsrValues();
1408 // of the environment.
1409 // Completely clearing the environment is not possible because merge
1429 if (environment() != nullptr) {
1445 environment()->BindGeneratorState(
1468 environment()->BindAccumulator(node);
1473 environment()->BindAccumulator(node);
1479 environment()->BindAccumulator(node);
1484 environment()->BindAccumulator(node);
1489 environment()->BindAccumulator(node);
1494 environment()->BindAccumulator(node);
1499 environment()->BindAccumulator(node);
1504 environment()->BindAccumulator(node);
1509 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1510 environment()->BindAccumulator(value);
1514 Node* value = environment()->LookupAccumulator();
1515 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), value);
1520 Node* value = environment()->LookupAccumulator(); \
1521 environment()->BindRegister( \
1530 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1531 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(1), value);
1550 environment()->BindAccumulator(node, Environment::kAttachFrameState);
1558 environment()->BindAccumulator(node, Environment::kAttachFrameState);
1566 Node* value = environment()->LookupAccumulator();
1573 environment()->RecordAfterState(node, Environment::kAttachFrameState);
1578 Node* value = environment()->LookupAccumulator();
1580 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1582 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
1600 environment()->RecordAfterState(node, Environment::kAttachFrameState);
1607 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1609 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
1610 Node* value = environment()->LookupAccumulator();
1630 environment()->RecordAfterState(node, Environment::kAttachFrameState);
1638 Node* value = environment()->LookupAccumulator();
1644 environment()->RecordAfterState(node, Environment::kAttachFrameState);
1653 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1655 environment()->BindAccumulator(node);
1664 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1666 environment()->BindAccumulator(node);
1673 environment()->BindAccumulator(node);
1680 environment()->BindAccumulator(node);
1687 Node* value = environment()->LookupAccumulator();
1690 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1697 Node* value = environment()->LookupAccumulator();
1709 environment()->BindAccumulator(value, Environment::kAttachFrameState);
1734 slow_environment = environment();
1737 slow_environment->Merge(environment(),
1750 Node* context = environment()->Context();
1793 // the slow path environment can be null.
1800 // Output environment where the context has an extension
1814 undefined_extension_env = environment();
1817 environment()->Merge(undefined_extension_env,
1826 // the slow path environment can be null.
1842 environment()->BindAccumulator(NewNode(op));
1847 // Add a merge to the fast environment.
1849 Environment* fast_environment = environment();
1861 environment()->BindAccumulator(value, Environment::kAttachFrameState);
1864 fast_environment->Merge(environment(),
1892 environment()->BindAccumulator(node, Environment::kAttachFrameState);
1897 // Add a merge to the fast environment.
1899 Environment* fast_environment = environment();
1912 environment()->BindAccumulator(value, Environment::kAttachFrameState);
1915 fast_environment->Merge(environment(),
1933 Node* value = environment()->LookupAccumulator();
1951 environment()->BindAccumulator(store, Environment::kAttachFrameState);
1957 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1975 environment()->BindAccumulator(node, Environment::kAttachFrameState);
1981 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
1982 Node* home_object = environment()->LookupAccumulator();
2001 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2006 Node* key = environment()->LookupAccumulator();
2008 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2028 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2033 Node* value = environment()->LookupAccumulator();
2035 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2065 environment()->RecordAfterState(node, Environment::kAttachFrameState);
2078 Node* value = environment()->LookupAccumulator();
2080 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2082 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2106 environment()->RecordAfterState(node, Environment::kAttachFrameState);
2111 Node* value = environment()->LookupAccumulator();
2113 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2115 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2141 environment()->RecordAfterState(node, Environment::kAttachFrameState);
2150 environment()->BindAccumulator(value);
2158 Node* value = environment()->LookupAccumulator();
2163 Node* new_context = environment()->LookupAccumulator();
2164 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0),
2165 environment()->Context());
2166 environment()->SetContext(new_context);
2171 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2172 environment()->SetContext(context);
2189 environment()->BindAccumulator(closure);
2196 environment()->BindAccumulator(context);
2205 environment()->BindAccumulator(context);
2214 environment()->BindAccumulator(context);
2219 Node* exception = environment()->LookupRegister(reg);
2224 environment()->BindAccumulator(context);
2229 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2234 environment()->BindAccumulator(context);
2240 environment()->BindAccumulator(object, Environment::kAttachFrameState);
2265 environment()->BindAccumulator(literal, Environment::kAttachFrameState);
2288 environment()->BindAccumulator(literal, Environment::kAttachFrameState);
2297 environment()->BindAccumulator(literal);
2302 environment()->LookupAccumulator());
2303 environment()->BindAccumulator(iterable, Environment::kAttachFrameState);
2320 environment()->BindAccumulator(literal, Environment::kAttachFrameState);
2325 environment()->BindAccumulator(literal);
2331 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2340 environment()->BindAccumulator(value, Environment::kAttachFrameState);
2353 environment()->BindAccumulator(template_object);
2375 environment()->LookupRegister(interpreter::Register(arg_base + i));
2413 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2431 receiver_node = environment()->LookupRegister(first_reg);
2445 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2469 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2471 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2479 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2481 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2483 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(2));
2491 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2493 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2495 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(2));
2497 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(3));
2509 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2518 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2521 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2529 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2532 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
2534 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(2));
2543 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2545 Node* receiver_node = environment()->LookupRegister(receiver);
2571 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2587 environment()->BindAccumulator(value, Environment::kAttachFrameState);
2599 all[i] = environment()->LookupRegister(
2616 Node* value = environment()->LookupRegister(receiver);
2618 environment()->BindAccumulator(value);
2623 environment()->BindAccumulator(value, Environment::kAttachFrameState);
2645 environment()->BindRegistersToProjections(first_return, return_pair,
2668 environment()->LookupRegister(interpreter::Register(arg_base + i));
2685 Node* new_target = environment()->LookupAccumulator();
2686 Node* callee = environment()->LookupRegister(callee_reg);
2706 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2717 Node* new_target = environment()->LookupAccumulator();
2718 Node* callee = environment()->LookupRegister(callee_reg);
2739 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2752 environment()->BindAccumulator(value, Environment::kAttachFrameState);
2758 Node* value = environment()->LookupAccumulator();
2760 environment()->BindAccumulator(call, Environment::kAttachFrameState);
2778 Node* value = environment()->LookupAccumulator();
2786 Node* accumulator = environment()->LookupAccumulator();
2804 environment()->RecordAfterState(node, Environment::kAttachFrameState);
2809 environment()->BindAccumulator(accumulator);
2813 Node* accumulator = environment()->LookupAccumulator();
2822 Node* accumulator = environment()->LookupAccumulator();
2829 Node* accumulator = environment()->LookupAccumulator();
2840 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2852 environment()->RecordAfterState(node, Environment::kAttachFrameState);
2859 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0),
2866 Node* operand = environment()->LookupAccumulator();
2883 environment()->BindAccumulator(node, Environment::kAttachFrameState);
2890 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
2891 Node* right = environment()->LookupAccumulator();
2908 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3060 Node* left = environment()->LookupAccumulator();
3077 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3153 Node* value = environment()->LookupAccumulator();
3155 environment()->BindAccumulator(node);
3160 NewNode(simplified()->ToBoolean(), environment()->LookupAccumulator());
3162 environment()->BindAccumulator(node);
3167 NewNode(simplified()->TypeOf(), environment()->LookupAccumulator());
3168 environment()->BindAccumulator(node);
3173 Node* key = environment()->LookupAccumulator();
3175 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3178 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3191 environment()->LookupAccumulator());
3192 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), node,
3200 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3201 Node* right = environment()->LookupAccumulator();
3216 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3257 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3258 Node* right = environment()->LookupAccumulator();
3260 environment()->BindAccumulator(result);
3265 Node* object = environment()->LookupAccumulator();
3267 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3276 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3286 Node* object = environment()->LookupAccumulator();
3288 environment()->BindAccumulator(node);
3292 Node* object = environment()->LookupAccumulator();
3295 environment()->BindAccumulator(result);
3299 Node* object = environment()->LookupAccumulator();
3302 environment()->BindAccumulator(result);
3306 Node* object = environment()->LookupAccumulator();
3354 environment()->BindAccumulator(result);
3358 Node* value = NewNode(js_op, environment()->LookupAccumulator());
3359 environment()->BindRegister(bytecode_iterator().GetRegisterOperand(0), value,
3373 NewNode(javascript()->ToString(), environment()->LookupAccumulator());
3374 environment()->BindAccumulator(value, Environment::kAttachFrameState);
3379 Node* object = environment()->LookupAccumulator();
3393 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3398 Node* object = environment()->LookupAccumulator();
3414 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3514 Node* acc = environment()->LookupAccumulator();
3521 NewNode(javascript()->StoreMessage(), environment()->LookupAccumulator());
3522 environment()->BindAccumulator(previous_message);
3529 NewNode(common()->Return(), pop_node, environment()->LookupAccumulator());
3541 environment()->RecordAfterState(call, Environment::kAttachFrameState);
3564 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3566 environment()->BindAccumulator(enumerator, Environment::kAttachFrameState);
3571 Node* enumerator = environment()->LookupAccumulator();
3581 environment()->BindRegistersToProjections(
3588 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3590 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
3594 environment()->BindAccumulator(exit_cond);
3600 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3602 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(1));
3604 Node* cache_type = environment()->LookupRegister(
3606 Node* cache_array = environment()->LookupRegister(
3623 environment()->BindAccumulator(node, Environment::kAttachFrameState);
3629 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3633 environment()->BindAccumulator(index, Environment::kAttachFrameState);
3639 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3655 environment()->BindAccumulator(iterator, Environment::kAttachFrameState);
3659 Node* generator = environment()->LookupRegister(
3695 environment()->LookupRegister(bytecode_iterator().GetParameter(i));
3707 environment()->LookupRegister(interpreter::Register(i));
3726 Node* generator_state = environment()->LookupGeneratorState();
3736 environment()->BindGeneratorState(
3761 // Otherwise, this environment is dead.
3768 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3781 environment()->BindGeneratorState(generator_state);
3785 environment()->SetContext(generator_context);
3797 environment()->LookupRegister(bytecode_iterator().GetRegisterOperand(0));
3809 for (int i = 0; i < environment()->register_count(); ++i) {
3814 environment()->BindRegister(interpreter::Register(i), value);
3821 environment()->BindAccumulator(input_or_debug_pos);
3843 if (environment() != nullptr) {
3844 it->second->Merge(environment(),
3863 environment()->PrepareForLoop(loop_info.assignments(), liveness);
3865 // Store a copy of the environment so we can connect merged back edge inputs
3867 merge_environments_[current_offset] = environment()->Copy();
3875 // resuming, so we should be able to prune off the phis in the environment
3879 environment()->BindGeneratorState(
3890 // Append merge nodes to the environment. We may merge here with another
3891 // environment. So add a place holder for merge nodes. We may add redundant
3894 merge_environment = environment();
3898 environment(), bytecode_analysis().GetInLivenessFor(target_offset));
3930 environment()->PrepareForLoopExit(loop_node, loop_info.assignments(),
3966 Node* accumulator = environment()->LookupAccumulator();
3973 Node* accumulator = environment()->LookupAccumulator();
3980 NewBranch(environment()->LookupAccumulator(), BranchHint::kNone);
3984 environment()->BindAccumulator(jsgraph()->FalseConstant());
3988 environment()->BindAccumulator(jsgraph()->TrueConstant());
3992 NewBranch(environment()->LookupAccumulator(), BranchHint::kNone);
3996 environment()->BindAccumulator(jsgraph()->TrueConstant());
4000 environment()->BindAccumulator(jsgraph()->FalseConstant());
4004 Node* accumulator = environment()->LookupAccumulator();
4010 Node* accumulator = environment()->LookupAccumulator();
4016 Node* accumulator = environment()->LookupAccumulator();
4023 Node* accumulator = environment()->LookupAccumulator();
4032 Node* effect = environment()->GetEffectDependency();
4033 Node* control = environment()->GetControlDependency();
4045 Node* effect = environment()->GetEffectDependency();
4046 Node* control = environment()->GetControlDependency();
4059 Node* effect = environment()->GetEffectDependency();
4060 Node* control = environment()->GetControlDependency();
4071 Node* effect = environment()->GetEffectDependency();
4072 Node* control = environment()->GetControlDependency();
4083 Node* effect = environment()->GetEffectDependency();
4084 Node* control = environment()->GetControlDependency();
4094 Node* effect = environment()->GetEffectDependency();
4095 Node* control = environment()->GetControlDependency();
4108 Node* effect = environment()->GetEffectDependency();
4109 Node* control = environment()->GetControlDependency();
4122 Node* effect = environment()->GetEffectDependency();
4123 Node* control = environment()->GetControlDependency();
4134 Node* effect = environment()->GetEffectDependency();
4135 Node* control = environment()->GetControlDependency();
4146 Node* effect = environment()->GetEffectDependency();
4147 Node* control = environment()->GetControlDependency();
4159 Node* effect = environment()->GetEffectDependency();
4160 Node* control = environment()->GetControlDependency();
4173 Node* effect = environment()->GetEffectDependency();
4174 Node* control = environment()->GetControlDependency();
4187 environment()->UpdateEffectDependency(reduction.effect());
4188 environment()->UpdateControlDependency(reduction.control());
4268 ? environment()->Context()
4278 *current_input++ = environment()->GetEffectDependency();
4281 *current_input++ = environment()->GetControlDependency();
4286 environment()->UpdateControlDependency(result);
4290 environment()->UpdateEffectDependency(result);
4297 Environment* success_env = environment()->Copy();
4299 Node* effect = environment()->GetEffectDependency();
4301 Node* context = environment()->LookupRegister(context_register);
4302 environment()->UpdateControlDependency(on_exception);
4303 environment()->UpdateEffectDependency(on_exception);
4304 environment()->BindAccumulator(on_exception);
4305 environment()->SetContext(context);
4313 environment()->UpdateControlDependency(on_success);