Home | History | Annotate | Download | only in jit

Lines Matching refs:logger

30 /* A gcc::jit::logger encapsulates a logging stream: a way to send
33 class logger
36 logger (FILE *f_out, int flags, int verbosity);
37 ~logger ();
58 it easy to notify a logger about entering and exiting the body of a
64 log_scope (logger *logger, const char *name);
68 logger *m_logger;
74 The normal case is that the logger is NULL, in which case this should
77 If we do have a logger, notify it that we're entering the given scope.
79 when logging the cleanup of the owner of the logger. */
82 log_scope::log_scope (logger *logger, const char *name) :
83 m_logger (logger),
107 gcc::jit::logger (which could be NULL).
119 The log_user class keeps the reference-count of a logger up-to-date. */
124 log_user (logger *logger);
127 logger * get_logger () const { return m_logger; }
128 void set_logger (logger * logger);
137 logger *m_logger;
141 case where the underlying logger is NULL via a no-op. */
156 handling the common case where the underlying logger is NULL via
167 handling the common case where the underlying logger is NULL via
181 /* If the given logger is non-NULL, log entry/exit of this scope to
184 #define JIT_LOG_SCOPE(LOGGER) \
185 gcc::jit::log_scope s (LOGGER, __PRETTY_FUNCTION__)
187 /* If the given logger is non-NULL, log entry/exit of this scope to
190 #define JIT_LOG_FUNC(LOGGER) \
191 gcc::jit::log_scope s (LOGGER, __func__)