void ExecuteStage::notifyResourceAvailable(const ResourceRef &RR) const { LLVM_DEBUG(dbgs() << "[E] Resource Available: [" << RR.first << '.' << RR.second << "]\n"); for (HWEventListener *Listener : getListeners()) Listener->onResourceAvailable(RR); }
void wasm::debugWrite(uint64_t Offset, const Twine &Msg) { LLVM_DEBUG(dbgs() << format(" | %08lld: ", Offset) << Msg << "\n"); }
void ExecuteStage::notifyInstructionReady(const InstRef &IR) const { LLVM_DEBUG(dbgs() << "[E] Instruction Ready: #" << IR << '\n'); notifyEvent<HWInstructionEvent>( HWInstructionEvent(HWInstructionEvent::Ready, IR)); }
void DispatchStage::notifyInstructionDispatched(const InstRef &IR, ArrayRef<unsigned> UsedRegs) { LLVM_DEBUG(dbgs() << "[E] Instruction Dispatched: #" << IR << '\n'); notifyEvent<HWInstructionEvent>(HWInstructionDispatchedEvent(IR, UsedRegs)); }