Lines Matching refs:J

663 static void printDatum(json::OStream &J, const char *Key, json::Value Value) {  in printDatum()  argument
665 J.attribute(Key, "overflowed"); in printDatum()
667 J.attribute(Key, Value); in printDatum()
672 static void printLocationStats(json::OStream &J, const char *Key, in printLocationStats() argument
675 J.attribute((Twine(Key) + in printLocationStats()
680 J.attribute( in printLocationStats()
690 J.attribute((Twine(Key) + in printLocationStats()
695 J.attribute((Twine(Key) + in printLocationStats()
706 J.attribute((Twine(Key) + " with [" + Twine((i - 1) * 10) + "%," + in printLocationStats()
712 J.attribute((Twine(Key) + " with [" + Twine((i - 1) * 10) + "%," + in printLocationStats()
723 J.attribute( in printLocationStats()
728 J.attribute( in printLocationStats()
738 static void printSectionSizes(json::OStream &J, const SectionSizes &Sizes) { in printSectionSizes() argument
740 J.attribute((Twine("#bytes in ") + It.first).str(), int64_t(It.second)); in printSectionSizes()
1016 json::OStream J(OS, 2); in collectStatsForObjectFile() local
1017 J.objectBegin(); in collectStatsForObjectFile()
1018 J.attribute("version", Version); in collectStatsForObjectFile()
1022 printDatum(J, "file", Filename.str()); in collectStatsForObjectFile()
1023 printDatum(J, "format", FormatName); in collectStatsForObjectFile()
1025 printDatum(J, "#functions", NumFunctions.Value); in collectStatsForObjectFile()
1026 printDatum(J, "#functions with location", NumFuncsWithSrcLoc.Value); in collectStatsForObjectFile()
1027 printDatum(J, "#inlined functions", NumInlinedFunctions.Value); in collectStatsForObjectFile()
1028 printDatum(J, "#inlined functions with abstract origins", in collectStatsForObjectFile()
1032 printDatum(J, "#unique source variables", VarParamUnique.Value); in collectStatsForObjectFile()
1033 printDatum(J, "#source variables", VarParamTotal.Value); in collectStatsForObjectFile()
1034 printDatum(J, "#source variables with location", VarParamWithLoc.Value); in collectStatsForObjectFile()
1036 printDatum(J, "#call site entries", GlobalStats.CallSiteEntries.Value); in collectStatsForObjectFile()
1037 printDatum(J, "#call site DIEs", GlobalStats.CallSiteDIEs.Value); in collectStatsForObjectFile()
1038 printDatum(J, "#call site parameter DIEs", in collectStatsForObjectFile()
1041 printDatum(J, "sum_all_variables(#bytes in parent scope)", in collectStatsForObjectFile()
1043 printDatum(J, in collectStatsForObjectFile()
1046 printDatum(J, in collectStatsForObjectFile()
1050 printDatum(J, in collectStatsForObjectFile()
1055 printDatum(J, "sum_all_params(#bytes in parent scope)", in collectStatsForObjectFile()
1057 printDatum(J, in collectStatsForObjectFile()
1060 printDatum(J, in collectStatsForObjectFile()
1065 printDatum(J, "sum_all_local_vars(#bytes in parent scope)", in collectStatsForObjectFile()
1067 printDatum(J, in collectStatsForObjectFile()
1071 printDatum(J, in collectStatsForObjectFile()
1076 printDatum(J, "#bytes within functions", GlobalStats.FunctionSize.Value); in collectStatsForObjectFile()
1077 printDatum(J, "#bytes within inlined functions", in collectStatsForObjectFile()
1081 printDatum(J, "#params", ParamTotal.Value); in collectStatsForObjectFile()
1082 printDatum(J, "#params with source location", ParamWithSrcLoc.Value); in collectStatsForObjectFile()
1083 printDatum(J, "#params with type", ParamWithType.Value); in collectStatsForObjectFile()
1084 printDatum(J, "#params with binary location", ParamWithLoc.Value); in collectStatsForObjectFile()
1087 printDatum(J, "#local vars", LocalVarTotal.Value); in collectStatsForObjectFile()
1088 printDatum(J, "#local vars with source location", LocalVarWithSrcLoc.Value); in collectStatsForObjectFile()
1089 printDatum(J, "#local vars with type", LocalVarWithType.Value); in collectStatsForObjectFile()
1090 printDatum(J, "#local vars with binary location", LocalVarWithLoc.Value); in collectStatsForObjectFile()
1093 printSectionSizes(J, Sizes); in collectStatsForObjectFile()
1097 printDatum(J, "#variables processed by location statistics", in collectStatsForObjectFile()
1099 printLocationStats(J, "#variables", LocStats.VarParamLocStats); in collectStatsForObjectFile()
1100 printLocationStats(J, "#variables - entry values", in collectStatsForObjectFile()
1104 printDatum(J, "#params processed by location statistics", in collectStatsForObjectFile()
1106 printLocationStats(J, "#params", LocStats.ParamLocStats); in collectStatsForObjectFile()
1107 printLocationStats(J, "#params - entry values", in collectStatsForObjectFile()
1111 printDatum(J, "#local vars processed by location statistics", in collectStatsForObjectFile()
1113 printLocationStats(J, "#local vars", LocStats.LocalVarLocStats); in collectStatsForObjectFile()
1114 printLocationStats(J, "#local vars - entry values", in collectStatsForObjectFile()
1118 printDatum(J, "#bytes with line information", LnStats.NumBytes.Value); in collectStatsForObjectFile()
1119 printDatum(J, "#bytes with line-0 locations", LnStats.NumLineZeroBytes.Value); in collectStatsForObjectFile()
1120 printDatum(J, "#line entries", LnStats.NumEntries.Value); in collectStatsForObjectFile()
1121 printDatum(J, "#line entries (is_stmt)", LnStats.NumIsStmtEntries.Value); in collectStatsForObjectFile()
1122 printDatum(J, "#line entries (unique)", LnStats.NumUniqueEntries.Value); in collectStatsForObjectFile()
1123 printDatum(J, "#line entries (unique non-0)", in collectStatsForObjectFile()
1126 J.objectEnd(); in collectStatsForObjectFile()