Lines Matching refs:head_inst

306 ElasticTrace::addSquashedInst(const DynInstConstPtr& head_inst)
311 auto itr_exec_info = tempStore.find(head_inst->seqNum);
318 head_inst->seqNum);
321 if (head_inst->isLoad() && exec_info_ptr->executeTick != MaxTick &&
323 head_inst->hasRequest() &&
324 head_inst->getFault() == NoFault) {
326 addDepTraceRecord(head_inst, exec_info_ptr, false);
330 clearTempStoreUntil(head_inst);
334 ElasticTrace::addCommittedInst(const DynInstConstPtr& head_inst)
337 head_inst->seqNum);
340 if (!head_inst->isNop()) {
346 auto itr_temp_store = tempStore.find(head_inst->seqNum);
349 "store, skipping.\n", head_inst->seqNum);
369 if (head_inst->getFault() != NoFault) {
372 (head_inst->isMemRef() ? "Load/store" : "Comp inst."),
373 head_inst->seqNum);
374 } else if (head_inst->isMemRef() && !head_inst->hasRequest()) {
376 "skip adding it to the trace\n", head_inst->seqNum);
377 } else if (!head_inst->readPredicate()) {
380 (head_inst->isMemRef() ? "Load/store" : "Comp inst."),
381 head_inst->seqNum);
384 addDepTraceRecord(head_inst, exec_info_ptr, true);
389 clearTempStoreUntil(head_inst);
393 ElasticTrace::addDepTraceRecord(const DynInstConstPtr& head_inst,
399 traceInfoMap[head_inst->seqNum] = new_record;
402 new_record->instNum = head_inst->seqNum;
404 new_record->type = head_inst->isLoad() ? Record::LOAD :
405 (head_inst->isStore() ? Record::STORE :
409 new_record->reqFlags = head_inst->memReqFlags;
410 new_record->virtAddr = head_inst->effAddr;
411 new_record->asid = head_inst->asid;
412 new_record->physAddr = head_inst->physEffAddr;
414 new_record->size = head_inst->effSize;
415 new_record->pc = head_inst->instAddr();
441 if (head_inst->isLoad() && !commit) {
481 if (head_inst->isStore()) {
656 ElasticTrace::clearTempStoreUntil(const DynInstConstPtr& head_inst)
659 // corresponding the head_inst and continue clearing by decrementing the
661 InstSeqNum temp_sn = (head_inst->seqNum);
673 // Update the last cleared sequence number to that of the head_inst
674 lastClearedSeqNum = head_inst->seqNum;