Lines Matching refs:instr
12 HValue* instr, ZoneList<HValue*>* worklist) {
13 if (instr->CheckFlag(HValue::kIsLive)) return; // Already live.
15 if (FLAG_trace_dead_code_elimination) PrintLive(NULL, instr);
18 worklist->Add(instr, zone());
20 HValue* instr = worklist->RemoveLast();
21 instr->SetFlag(HValue::kIsLive);
22 for (int i = 0; i < instr->OperandCount(); ++i) {
23 HValue* input = instr->OperandAt(i);
27 if (FLAG_trace_dead_code_elimination) PrintLive(instr, input);
34 void HDeadCodeEliminationPhase::PrintLive(HValue* ref, HValue* instr) {
43 instr->PrintTo(&stream);
55 HInstruction* instr = it.Current();
56 if (instr->CannotBeEliminated()) MarkLive(instr, &worklist);
75 HInstruction* instr = it.Current();
76 if (!instr->CheckFlag(HValue::kIsLive)) {
78 instr->DeleteAndReplaceWith(NULL);
81 instr->ClearFlag(HValue::kIsLive);