48 : _logFilePrefix(logFilePrefix), _logMode(logMode), _logFile(nullptr) {}
55 profile_t init_apply(
const IR::Node *root)
override {
56 if (BackendOptions().verbose == 0) {
57 return ::PassManager::init_apply(root);
60 auto pipe = root->to<IR::BFN::Pipe>();
64 auto logFileName = getNewLogFileName(_logFilePrefix);
67 auto logFileName = _logFilePrefix +
".log";
72 return ::PassManager::init_apply(root);
75 void end_apply()
override {
77 ::PassManager::end_apply();