Lines Matching refs:elem
315 const OcsdTraceElement& elem,
347 const OcsdTraceElement& elem) override { in TraceElemIn() argument
350 callback->ProcessElement(index_sop, trc_chan_id, elem, instruction_decoder_.instr_info); in TraceElemIn()
390 const OcsdTraceElement& elem, const ocsd_instr_info*) { in ProcessElement() argument
391 return element_printer_.TraceElemIn(index_sop, trc_chan_id, elem); in ProcessElement()
416 const OcsdTraceElement& elem, in ProcessElement() argument
418 if (elem.getType() == OCSD_GEN_TRC_ELEM_INSTR_RANGE) { in ProcessElement()
420 const MapEntry* map = map_locator_.FindMap(trace_id, elem.st_addr); in ProcessElement()
425 uint64_t start_addr = map->GetVaddrInFile(elem.st_addr); in ProcessElement()
437 instr_range.end_addr = map->GetVaddrInFile(elem.en_addr - elem.last_instr_sz); in ProcessElement()
439 elem.last_i_type == OCSD_INSTR_BR || elem.last_i_type == OCSD_INSTR_BR_INDIRECT; in ProcessElement()
440 bool branch_taken = end_with_branch && elem.last_instr_exec; in ProcessElement()
441 if (elem.last_i_type == OCSD_INSTR_BR && branch_taken) { in ProcessElement()
452 } else if (elem.getType() == OCSD_GEN_TRC_ELEM_TRACE_ON) { in ProcessElement()