Lines Matching refs:state
68 HCapturedObject* state = new(zone) HCapturedObject(number_of_values_, zone);
69 state->InsertAfter(previous);
70 return state;
74 // Create a new state for replacing HAllocate instructions.
78 HCapturedObject* state = NewState(previous);
80 state->SetOperandAt(index, undefined);
82 return state;
86 // Create a new state full of phis for loop header entries.
90 HCapturedObject* state = NewState(previous);
94 state->SetOperandAt(index, phi);
96 return state;
100 // Create a new state by copying an existing one.
103 HCapturedObject* state = NewState(previous);
106 state->SetOperandAt(index, operand);
108 return state;
139 HCapturedObject* state = StateAt(block);
153 state = NewStateForAllocation(allocate);
161 HValue* replacement = state->OperandAt(index);
174 state = NewStateCopy(store, state);
175 state->SetOperandAt(index, store->value());
177 state->SetOperandAt(0, store->transition());
192 simulate->SetOperandAt(i, state);
200 instr->SetOperandAt(i, state);
232 // Propagate the block state forward to all successor blocks.
237 // Case 1: This is the only predecessor, just reuse state.
238 SetStateAt(succ, state);
240 // Case 2: This is a state that enters a loop header, be
242 SetStateAt(succ, NewStateForLoopHeader(succ->first(), state));
244 // Case 3: This is the first state propagated forward to the
245 // successor, leave a copy of the current state.
246 SetStateAt(succ, NewStateCopy(succ->first(), state));
248 // Case 4: This is a state that needs merging with previously
253 HValue* operand = state->OperandAt(index);