Lines Matching refs:Log
436 const MachineLoopInfo &Loops, Logger *Log)
437 : MLEvictAdvisor(MF, RA, Runner, MBFI, Loops), Log(Log) {}
445 Logger *const Log;
480 if (!Log || !Log->hasAnyObservationForContext(MF.getName()))
486 if (Log->currentContext() != MF.getName()) {
490 if (Log->hasObservationInProgress())
491 Log->logReward<float>(GetReward());
536 Log = std::make_unique<Logger>(std::move(OS), LFS, Reward,
545 if (Log)
546 Log->switchContext(MF.getName());
550 getAnalysis<MachineLoopInfoWrapperPass>().getLI(), Log.get());
554 std::unique_ptr<Logger> Log;
1114 if (Log->hasObservationInProgress())
1115 Log->logReward<float>(0.0);
1117 Log->startObservation();
1123 Log->logTensorValue(CurrentFeature,
1130 Log->logTensorValue(
1134 Log->logTensorValue(CurrentFeature, reinterpret_cast<const char *>(&Ret));
1135 Log->endObservation();