Lines Matching refs:os
13 OStream& operator<<(OStream& os, const InstructionOperand& op) { in operator <<() argument
16 return os << "(0)"; in operator <<()
19 os << "v" << unalloc->virtual_register(); in operator <<()
21 return os << "(=" << unalloc->fixed_slot_index() << "S)"; in operator <<()
25 return os; in operator <<()
27 return os << "(=" << Register::AllocationIndexToString( in operator <<()
30 return os << "(=" << DoubleRegister::AllocationIndexToString( in operator <<()
33 return os << "(R)"; in operator <<()
35 return os << "(1)"; in operator <<()
37 return os << "(-)"; in operator <<()
41 return os << "[constant:" << op.index() << "]"; in operator <<()
43 return os << "[immediate:" << op.index() << "]"; in operator <<()
45 return os << "[stack:" << op.index() << "]"; in operator <<()
47 return os << "[double_stack:" << op.index() << "]"; in operator <<()
49 return os << "[" << Register::AllocationIndexToString(op.index()) in operator <<()
52 return os << "[" << DoubleRegister::AllocationIndexToString(op.index()) in operator <<()
56 return os; in operator <<()
98 OStream& operator<<(OStream& os, const MoveOperands& mo) { in operator <<() argument
99 os << *mo.destination(); in operator <<()
100 if (!mo.source()->Equals(mo.destination())) os << " = " << *mo.source(); in operator <<()
101 return os << ";"; in operator <<()
113 OStream& operator<<(OStream& os, const ParallelMove& pm) { in operator <<() argument
118 if (!first) os << " "; in operator <<()
120 os << *move; in operator <<()
122 return os; in operator <<()
155 OStream& operator<<(OStream& os, const PointerMap& pm) { in operator <<() argument
156 os << "{"; in operator <<()
160 if (op != pm.pointer_operands_.begin()) os << ";"; in operator <<()
161 os << *op; in operator <<()
163 return os << "}"; in operator <<()
167 OStream& operator<<(OStream& os, const ArchOpcode& ao) { in operator <<() argument
171 return os << #Name; in operator <<()
176 return os; in operator <<()
180 OStream& operator<<(OStream& os, const AddressingMode& am) { in operator <<() argument
183 return os; in operator <<()
186 return os << #Name; in operator <<()
191 return os; in operator <<()
195 OStream& operator<<(OStream& os, const FlagsMode& fm) { in operator <<() argument
198 return os; in operator <<()
200 return os << "branch"; in operator <<()
202 return os << "set"; in operator <<()
205 return os; in operator <<()
209 OStream& operator<<(OStream& os, const FlagsCondition& fc) { in operator <<() argument
212 return os << "equal"; in operator <<()
214 return os << "not equal"; in operator <<()
216 return os << "signed less than"; in operator <<()
218 return os << "signed greater than or equal"; in operator <<()
220 return os << "signed less than or equal"; in operator <<()
222 return os << "signed greater than"; in operator <<()
224 return os << "unsigned less than"; in operator <<()
226 return os << "unsigned greater than or equal"; in operator <<()
228 return os << "unsigned less than or equal"; in operator <<()
230 return os << "unsigned greater than"; in operator <<()
232 return os << "unordered equal"; in operator <<()
234 return os << "unordered not equal"; in operator <<()
236 return os << "unordered less than"; in operator <<()
238 return os << "unordered greater than or equal"; in operator <<()
240 return os << "unordered less than or equal"; in operator <<()
242 return os << "unordered greater than"; in operator <<()
244 return os << "overflow"; in operator <<()
246 return os << "not overflow"; in operator <<()
249 return os; in operator <<()
253 OStream& operator<<(OStream& os, const Instruction& instr) { in operator <<() argument
254 if (instr.OutputCount() > 1) os << "("; in operator <<()
256 if (i > 0) os << ", "; in operator <<()
257 os << *instr.OutputAt(i); in operator <<()
260 if (instr.OutputCount() > 1) os << ") = "; in operator <<()
261 if (instr.OutputCount() == 1) os << " = "; in operator <<()
265 os << (instr.IsBlockStart() ? " block-start" : "gap "); in operator <<()
268 os << "("; in operator <<()
269 if (gap->parallel_moves_[i] != NULL) os << *gap->parallel_moves_[i]; in operator <<()
270 os << ") "; in operator <<()
275 os << "position (" << pos->source_position().raw() << ")"; in operator <<()
277 os << ArchOpcodeField::decode(instr.opcode()); in operator <<()
280 os << " : " << AddressingModeField::decode(instr.opcode()); in operator <<()
284 os << " && " << fm << " if " in operator <<()
290 os << " " << *instr.InputAt(i); in operator <<()
293 return os << "\n"; in operator <<()
297 OStream& operator<<(OStream& os, const Constant& constant) { in operator <<() argument
300 return os << constant.ToInt32(); in operator <<()
302 return os << constant.ToInt64() << "l"; in operator <<()
304 return os << constant.ToFloat64(); in operator <<()
306 return os << constant.ToExternalReference().address(); in operator <<()
308 return os << Brief(*constant.ToHeapObject()); in operator <<()
311 return os; in operator <<()
415 OStream& operator<<(OStream& os, const InstructionSequence& code) { in operator <<() argument
418 os << "IMM#" << i << ": " << constant << "\n"; in operator <<()
423 os << "CST#" << i << ": v" << it->first << " = " << it->second << "\n"; in operator <<()
429 os << "RPO#" << block->rpo_number_ << ": B" << bid; in operator <<()
432 os << " loop blocks: [" << block->rpo_number_ << ", " << block->loop_end_ in operator <<()
435 os << " instructions: [" << block->code_start_ << ", " << block->code_end_ in operator <<()
441 os << " B" << (*iter)->id(); in operator <<()
443 os << "\n"; in operator <<()
449 os << " phi: v" << phi->id() << " ="; in operator <<()
453 os << " v" << (*iter)->id(); in operator <<()
455 os << "\n"; in operator <<()
463 os << " " << buf.start() << ": " << *code.InstructionAt(j); in operator <<()
466 os << " " << block->control_; in operator <<()
469 os << " v" << block->control_input_->id(); in operator <<()
475 os << " B" << (*iter)->id(); in operator <<()
477 os << "\n"; in operator <<()
479 return os; in operator <<()