Lines Matching refs:LOG

56 #undef LOG
57 #define LOG(Expr) log([&](Ostream & out) { Expr; }) macro
269 LOG(out << "Buffer(" << Count << ")\n"); in Buffer()
275 LOG(out << "Start(" << Params << ") = "); in Start()
278 LOG(out << Node(Entry) << "\n"); in Start()
292 LOG(out << "Param(" << Index << ") = "); in Param()
297 LOG(out << Node(Arg) << "\n"); in Param()
302 LOG(out << "Loop(" << Entry << ") = " << Loop << "\n"); in Loop()
308 LOG(out << "Terminate(" << Effect << ", " << Control << ")" in Terminate()
312 LOG(out << "Merge(" << Count); in Merge()
314 LOG(out << ", " << Controls[i]); in Merge()
316 LOG(out << ") = "); in Merge()
324 LOG(out << (OperandNode)MergedNode << "\n"); in Merge()
328 LOG(out << "Phi(" << Count << ", " << Control); in Phi()
330 LOG(out << ", " << Vals[i]); in Phi()
332 LOG(out << ") = "); in Phi()
353 LOG(out << Node(Dest) << "\n"); in Phi()
358 LOG(out << "EffectPhi(" << Count << ", " << Control << "):\n"); in EffectPhi()
360 LOG(out << " " << Effects[i] << "\n"); in EffectPhi()
365 LOG(out << "Int32Constant(" << Value << ") = "); in Int32Constant()
369 LOG(out << Node(Const) << "\n"); in Int32Constant()
373 LOG(out << "Int64Constant(" << Value << ") = "); in Int64Constant()
376 LOG(out << Node(Const) << "\n"); in Int64Constant()
380 LOG(out << "Float32Constant(" << Value << ") = "); in Float32Constant()
383 LOG(out << Node(Const) << "\n"); in Float32Constant()
387 LOG(out << "Float64Constant(" << Value << ") = "); in Float64Constant()
390 LOG(out << Node(Const) << "\n"); in Float64Constant()
394 LOG(out << "Binop(" << WasmOpcodes::OpcodeName(Opcode) << ", " << Left in Binop()
703 LOG(out << "Unknown binop: " << WasmOpcodes::OpcodeName(Opcode) << "\n"); in Binop()
707 LOG(out << Dest << "\n"); in Binop()
711 LOG(out << "Unop(" << WasmOpcodes::OpcodeName(Opcode) << ", " << Input in Unop()
926 LOG(out << "Unknown unop: " << WasmOpcodes::OpcodeName(Opcode) << "\n"); in Unop()
930 LOG(out << Dest << "\n"); in Unop()
935 LOG(out << "IsPhiWithMerge(" << Phi << ", " << Merge << ")" in IsPhiWithMerge()
938 LOG(out << " ...is operand" in IsPhiWithMerge()
941 LOG(out << " ...has defining instruction" in IsPhiWithMerge()
943 LOG(out << getDefNode(Phi) << "\n"); in IsPhiWithMerge()
944 LOG(out << " ..." << (getDefNode(Phi) == Merge) << "\n"); in IsPhiWithMerge()
954 LOG(out << "AppendToPhi(" << Merge << ", " << Phi << ", " << From << ")" in AppendToPhi()
966 LOG(out << "Branch(" << Cond << ", "); in Branch()
974 LOG(out << *TrueNode << ", " << *FalseNode << ")" in Branch()
991 LOG(out << "Switch(" << Count << ", " << Key << ")\n"); in Switch()
1006 LOG(out << "IfValue(" << Value << ") [Index = " << SwitchIndex << "]\n"); in IfValue()
1013 LOG(out << "IfDefault(...) [Index = " << SwitchIndex << "]\n"); in IfDefault()
1026 LOG(out << "Return("); in Return()
1028 LOG(out << Vals[0]); in Return()
1029 LOG(out << ")" in Return()
1035 LOG(out << Node(nullptr) << "\n"); in Return()
1039 LOG(out << "ReturnVoid() = "); in ReturnVoid()
1043 LOG(out << Node(nullptr) << "\n"); in ReturnVoid()
1047 LOG(out << "Unreachable() = "); in Unreachable()
1050 LOG(out << Node(nullptr) << "\n"); in Unreachable()
1055 LOG(out << "CallDirect(" << Index << ")" in CallDirect()
1064 LOG(out << " number of args: " << NumArgs << "\n"); in CallDirect()
1067 LOG(out << " target name: " << TargetName << "\n"); in CallDirect()
1081 LOG(out << " args[" << i << "] = " << Args[i + 1] << "\n"); in CallDirect()
1086 LOG(out << "Call Result = " << Node(Dest) << "\n"); in CallDirect()
1090 LOG(out << "CallImport(" << Index << ")" in CallImport()
1097 LOG(out << " number of args: " << NumArgs << "\n"); in CallImport()
1106 LOG(out << " target name: " << TargetName << "\n"); in CallImport()
1120 LOG(out << " args[" << i << "] = " << Args[i + 1] << "\n"); in CallImport()
1126 LOG(out << "Call Result = " << Node(Dest) << "\n"); in CallImport()
1130 LOG(out << "CallIndirect(" << SigIndex << ")\n"); in CallIndirect()
1206 LOG(out << "LoadMem." << toIceType(MemType) << "(" << Index << "[" << Offset in LoadMem()
1238 LOG(out << Result << "\n"); in LoadMem()
1242 LOG(out << "StoreMem." << toIceType(Type) << "(" << Index << "[" << Offset in StoreMem()
1306 LOG(out << "\n== setDefiningInst(" << Op << ", " << Phi << ") ==\n"); in setDefiningInst()
1447 LOG(out << getFlags().getDefaultGlobalPrefix() << "\n"); in translateFunction()
1469 LOG(out << "Initializing v8/wasm stuff..." in translate()
1478 LOG(out << "Read " << BytesRead << " bytes" in translate()
1485 LOG(out << "Decoding module " << IRFilename << "\n"); in translate()
1493 LOG(out << "Module info:" in translate()
1495 LOG(out << " min_mem_pages: " << Module->min_mem_pages << "\n"); in translate()
1496 LOG(out << " max_mem_pages: " << Module->max_mem_pages << "\n"); in translate()
1497 LOG(out << " number of globals: " << Module->globals.size() << "\n"); in translate()
1498 LOG(out << " number of signatures: " << Module->signatures.size() in translate()
1500 LOG(out << " number of functions: " << Module->functions.size() << "\n"); in translate()
1501 LOG(out << " number of data_segments: " << Module->data_segments.size() in translate()
1503 LOG(out << " function table size: " << Module->function_table.size() in translate()
1505 LOG(out << " import table size: " << Module->import_table.size() in translate()
1507 LOG(out << " export table size: " << Module->export_table.size() in translate()
1510 LOG(out << "\n" in translate()
1515 LOG(out << Id << ": (" << Seg.source_offset << ", " << Seg.source_size in translate()
1518 LOG(out << " init\n"); in translate()
1520 LOG(out << "\n"); in translate()
1525 LOG(out << "\n" in translate()
1533 LOG(out << " " << Import.sig_index << ": " << ModuleName << "::" << FnName in translate()
1537 LOG(out << "\n" in translate()
1541 LOG(out << " " << Export.func_index << ": " in translate()
1545 LOG(out << "\n"); in translate()
1548 LOG(out << "\n" in translate()
1552 LOG(out << " " << F.func_index << ": " in translate()
1556 LOG(out << " export"); in translate()
1558 LOG(out << " extern"); in translate()
1559 LOG(out << "\n"); in translate()
1562 LOG(out << "\n" in translate()
1566 LOG(out << " " << F << ": " << getFunctionName(Module, F) << "\n"); in translate()
1575 LOG(out << "Translating " << IRFilename << "\n"); in translate()
1630 LOG(out << " " << Fn.func_index << ": " << FnName << "..."); in translate()
1644 LOG(out << "done.\n"); in translate()