Lines Matching refs:J
651 static void printDatum(json::OStream &J, const char *Key, json::Value Value) { in printDatum() argument
653 J.attribute(Key, "overflowed"); in printDatum()
655 J.attribute(Key, Value); in printDatum()
660 static void printLocationStats(json::OStream &J, const char *Key, in printLocationStats() argument
663 J.attribute((Twine(Key) + in printLocationStats()
668 J.attribute( in printLocationStats()
678 J.attribute((Twine(Key) + in printLocationStats()
683 J.attribute((Twine(Key) + in printLocationStats()
694 J.attribute((Twine(Key) + " with [" + Twine((i - 1) * 10) + "%," + in printLocationStats()
700 J.attribute((Twine(Key) + " with [" + Twine((i - 1) * 10) + "%," + in printLocationStats()
711 J.attribute( in printLocationStats()
716 J.attribute( in printLocationStats()
726 static void printSectionSizes(json::OStream &J, const SectionSizes &Sizes) { in printSectionSizes() argument
728 J.attribute((Twine("#bytes in ") + It.first).str(), int64_t(It.second)); in printSectionSizes()
945 json::OStream J(OS, 2); in collectStatsForObjectFile() local
946 J.objectBegin(); in collectStatsForObjectFile()
947 J.attribute("version", Version); in collectStatsForObjectFile()
951 printDatum(J, "file", Filename.str()); in collectStatsForObjectFile()
952 printDatum(J, "format", FormatName); in collectStatsForObjectFile()
954 printDatum(J, "#functions", NumFunctions.Value); in collectStatsForObjectFile()
955 printDatum(J, "#functions with location", NumFuncsWithSrcLoc.Value); in collectStatsForObjectFile()
956 printDatum(J, "#inlined functions", NumInlinedFunctions.Value); in collectStatsForObjectFile()
957 printDatum(J, "#inlined functions with abstract origins", in collectStatsForObjectFile()
961 printDatum(J, "#unique source variables", VarParamUnique.Value); in collectStatsForObjectFile()
962 printDatum(J, "#source variables", VarParamTotal.Value); in collectStatsForObjectFile()
963 printDatum(J, "#source variables with location", VarParamWithLoc.Value); in collectStatsForObjectFile()
965 printDatum(J, "#call site entries", GlobalStats.CallSiteEntries.Value); in collectStatsForObjectFile()
966 printDatum(J, "#call site DIEs", GlobalStats.CallSiteDIEs.Value); in collectStatsForObjectFile()
967 printDatum(J, "#call site parameter DIEs", in collectStatsForObjectFile()
970 printDatum(J, "sum_all_variables(#bytes in parent scope)", in collectStatsForObjectFile()
972 printDatum(J, in collectStatsForObjectFile()
975 printDatum(J, in collectStatsForObjectFile()
979 printDatum(J, in collectStatsForObjectFile()
984 printDatum(J, "sum_all_params(#bytes in parent scope)", in collectStatsForObjectFile()
986 printDatum(J, in collectStatsForObjectFile()
989 printDatum(J, in collectStatsForObjectFile()
994 printDatum(J, "sum_all_local_vars(#bytes in parent scope)", in collectStatsForObjectFile()
996 printDatum(J, in collectStatsForObjectFile()
1000 printDatum(J, in collectStatsForObjectFile()
1005 printDatum(J, "#bytes within functions", GlobalStats.FunctionSize.Value); in collectStatsForObjectFile()
1006 printDatum(J, "#bytes within inlined functions", in collectStatsForObjectFile()
1010 printDatum(J, "#params", ParamTotal.Value); in collectStatsForObjectFile()
1011 printDatum(J, "#params with source location", ParamWithSrcLoc.Value); in collectStatsForObjectFile()
1012 printDatum(J, "#params with type", ParamWithType.Value); in collectStatsForObjectFile()
1013 printDatum(J, "#params with binary location", ParamWithLoc.Value); in collectStatsForObjectFile()
1016 printDatum(J, "#local vars", LocalVarTotal.Value); in collectStatsForObjectFile()
1017 printDatum(J, "#local vars with source location", LocalVarWithSrcLoc.Value); in collectStatsForObjectFile()
1018 printDatum(J, "#local vars with type", LocalVarWithType.Value); in collectStatsForObjectFile()
1019 printDatum(J, "#local vars with binary location", LocalVarWithLoc.Value); in collectStatsForObjectFile()
1022 printSectionSizes(J, Sizes); in collectStatsForObjectFile()
1026 printDatum(J, "#variables processed by location statistics", in collectStatsForObjectFile()
1028 printLocationStats(J, "#variables", LocStats.VarParamLocStats); in collectStatsForObjectFile()
1029 printLocationStats(J, "#variables - entry values", in collectStatsForObjectFile()
1033 printDatum(J, "#params processed by location statistics", in collectStatsForObjectFile()
1035 printLocationStats(J, "#params", LocStats.ParamLocStats); in collectStatsForObjectFile()
1036 printLocationStats(J, "#params - entry values", in collectStatsForObjectFile()
1040 printDatum(J, "#local vars processed by location statistics", in collectStatsForObjectFile()
1042 printLocationStats(J, "#local vars", LocStats.LocalVarLocStats); in collectStatsForObjectFile()
1043 printLocationStats(J, "#local vars - entry values", in collectStatsForObjectFile()
1045 J.objectEnd(); in collectStatsForObjectFile()