Lines Matching refs:elem
324 const OcsdTraceElement& elem,
356 const OcsdTraceElement& elem) override { in TraceElemIn() argument
359 callback->ProcessElement(index_sop, trc_chan_id, elem, instruction_decoder_.instr_info); in TraceElemIn()
399 const OcsdTraceElement& elem, const ocsd_instr_info*) { in ProcessElement() argument
400 return element_printer_.TraceElemIn(index_sop, trc_chan_id, elem); in ProcessElement()
425 const OcsdTraceElement& elem, in ProcessElement() argument
427 if (elem.getType() == OCSD_GEN_TRC_ELEM_INSTR_RANGE) { in ProcessElement()
429 const MapEntry* map = map_locator_.FindMap(trace_id, elem.st_addr); in ProcessElement()
434 uint64_t start_addr = map->GetVaddrInFile(elem.st_addr); in ProcessElement()
446 instr_range.end_addr = map->GetVaddrInFile(elem.en_addr - elem.last_instr_sz); in ProcessElement()
448 elem.last_i_type == OCSD_INSTR_BR || elem.last_i_type == OCSD_INSTR_BR_INDIRECT; in ProcessElement()
449 bool branch_taken = end_with_branch && elem.last_instr_exec; in ProcessElement()
450 if (elem.last_i_type == OCSD_INSTR_BR && branch_taken) { in ProcessElement()
461 } else if (elem.getType() == OCSD_GEN_TRC_ELEM_TRACE_ON) { in ProcessElement()