Lines Matching defs:loc
180 optrecord_json_writer::impl_location_to_json (dump_impl_location_t loc)
183 obj->set ("file", new json::string (loc.m_file));
184 obj->set ("line", new json::integer_number (loc.m_line));
185 if (loc.m_function)
186 obj->set ("function", new json::string (loc.m_function));
193 optrecord_json_writer::location_to_json (location_t loc)
195 gcc_assert (LOCATION_LOCUS (loc) != UNKNOWN_LOCATION);
196 expanded_location exploc = expand_location (loc);
274 optrecord_json_writer::inlining_chain_to_json (location_t loc)
278 tree abstract_origin = LOCATION_BLOCK (loc);
404 location_t loc = optinfo->get_location_t ();
405 if (get_pure_location (line_table, loc) != UNKNOWN_LOCATION)
409 obj->set ("location", location_to_json (loc));
419 if (loc != UNKNOWN_LOCATION)
420 obj->set ("inlining_chain", inlining_chain_to_json (loc));
457 dump_user_location_t loc;
458 dump_printf_loc (MSG_NOTE, loc, "test of tree: ");