Lines Matching refs:J
652 static void printDatum(json::OStream &J, const char *Key, json::Value Value) { in printDatum() argument
654 J.attribute(Key, "overflowed"); in printDatum()
656 J.attribute(Key, Value); in printDatum()
661 static void printLocationStats(json::OStream &J, const char *Key, in printLocationStats() argument
664 J.attribute((Twine(Key) + in printLocationStats()
669 J.attribute( in printLocationStats()
679 J.attribute((Twine(Key) + in printLocationStats()
684 J.attribute((Twine(Key) + in printLocationStats()
695 J.attribute((Twine(Key) + " with [" + Twine((i - 1) * 10) + "%," + in printLocationStats()
701 J.attribute((Twine(Key) + " with [" + Twine((i - 1) * 10) + "%," + in printLocationStats()
712 J.attribute( in printLocationStats()
717 J.attribute( in printLocationStats()
727 static void printSectionSizes(json::OStream &J, const SectionSizes &Sizes) { in printSectionSizes() argument
729 J.attribute((Twine("#bytes in ") + It.first).str(), int64_t(It.second)); in printSectionSizes()
946 json::OStream J(OS, 2); in collectStatsForObjectFile() local
947 J.objectBegin(); in collectStatsForObjectFile()
948 J.attribute("version", Version); in collectStatsForObjectFile()
952 printDatum(J, "file", Filename.str()); in collectStatsForObjectFile()
953 printDatum(J, "format", FormatName); in collectStatsForObjectFile()
955 printDatum(J, "#functions", NumFunctions.Value); in collectStatsForObjectFile()
956 printDatum(J, "#functions with location", NumFuncsWithSrcLoc.Value); in collectStatsForObjectFile()
957 printDatum(J, "#inlined functions", NumInlinedFunctions.Value); in collectStatsForObjectFile()
958 printDatum(J, "#inlined functions with abstract origins", in collectStatsForObjectFile()
962 printDatum(J, "#unique source variables", VarParamUnique.Value); in collectStatsForObjectFile()
963 printDatum(J, "#source variables", VarParamTotal.Value); in collectStatsForObjectFile()
964 printDatum(J, "#source variables with location", VarParamWithLoc.Value); in collectStatsForObjectFile()
966 printDatum(J, "#call site entries", GlobalStats.CallSiteEntries.Value); in collectStatsForObjectFile()
967 printDatum(J, "#call site DIEs", GlobalStats.CallSiteDIEs.Value); in collectStatsForObjectFile()
968 printDatum(J, "#call site parameter DIEs", in collectStatsForObjectFile()
971 printDatum(J, "sum_all_variables(#bytes in parent scope)", in collectStatsForObjectFile()
973 printDatum(J, in collectStatsForObjectFile()
976 printDatum(J, in collectStatsForObjectFile()
980 printDatum(J, in collectStatsForObjectFile()
985 printDatum(J, "sum_all_params(#bytes in parent scope)", in collectStatsForObjectFile()
987 printDatum(J, in collectStatsForObjectFile()
990 printDatum(J, in collectStatsForObjectFile()
995 printDatum(J, "sum_all_local_vars(#bytes in parent scope)", in collectStatsForObjectFile()
997 printDatum(J, in collectStatsForObjectFile()
1001 printDatum(J, in collectStatsForObjectFile()
1006 printDatum(J, "#bytes within functions", GlobalStats.FunctionSize.Value); in collectStatsForObjectFile()
1007 printDatum(J, "#bytes within inlined functions", in collectStatsForObjectFile()
1011 printDatum(J, "#params", ParamTotal.Value); in collectStatsForObjectFile()
1012 printDatum(J, "#params with source location", ParamWithSrcLoc.Value); in collectStatsForObjectFile()
1013 printDatum(J, "#params with type", ParamWithType.Value); in collectStatsForObjectFile()
1014 printDatum(J, "#params with binary location", ParamWithLoc.Value); in collectStatsForObjectFile()
1017 printDatum(J, "#local vars", LocalVarTotal.Value); in collectStatsForObjectFile()
1018 printDatum(J, "#local vars with source location", LocalVarWithSrcLoc.Value); in collectStatsForObjectFile()
1019 printDatum(J, "#local vars with type", LocalVarWithType.Value); in collectStatsForObjectFile()
1020 printDatum(J, "#local vars with binary location", LocalVarWithLoc.Value); in collectStatsForObjectFile()
1023 printSectionSizes(J, Sizes); in collectStatsForObjectFile()
1027 printDatum(J, "#variables processed by location statistics", in collectStatsForObjectFile()
1029 printLocationStats(J, "#variables", LocStats.VarParamLocStats); in collectStatsForObjectFile()
1030 printLocationStats(J, "#variables - entry values", in collectStatsForObjectFile()
1034 printDatum(J, "#params processed by location statistics", in collectStatsForObjectFile()
1036 printLocationStats(J, "#params", LocStats.ParamLocStats); in collectStatsForObjectFile()
1037 printLocationStats(J, "#params - entry values", in collectStatsForObjectFile()
1041 printDatum(J, "#local vars processed by location statistics", in collectStatsForObjectFile()
1043 printLocationStats(J, "#local vars", LocStats.LocalVarLocStats); in collectStatsForObjectFile()
1044 printLocationStats(J, "#local vars - entry values", in collectStatsForObjectFile()
1046 J.objectEnd(); in collectStatsForObjectFile()