Home | History | Annotate | Download | only in src

Lines Matching refs:instr

35     HValue* instr, ZoneList<HValue*>* worklist) {
36 if (instr->CheckFlag(HValue::kIsLive)) return; // Already live.
38 if (FLAG_trace_dead_code_elimination) PrintLive(NULL, instr);
41 worklist->Add(instr, zone());
43 HValue* instr = worklist->RemoveLast();
44 instr->SetFlag(HValue::kIsLive);
45 for (int i = 0; i < instr->OperandCount(); ++i) {
46 HValue* input = instr->OperandAt(i);
50 if (FLAG_trace_dead_code_elimination) PrintLive(instr, input);
57 void HDeadCodeEliminationPhase::PrintLive(HValue* ref, HValue* instr) {
66 instr->PrintTo(&stream);
78 HInstruction* instr = it.Current();
79 if (instr->CannotBeEliminated()) MarkLive(instr, &worklist);
98 HInstruction* instr = it.Current();
99 if (!instr->CheckFlag(HValue::kIsLive)) {
101 instr->DeleteAndReplaceWith(NULL);
104 instr->ClearFlag(HValue::kIsLive);