Lines Matching full:remark

10 |* This header provides a public interface to a remark diagnostics library.   *|
39 * The type of the emitted remark.
136 * A remark emitted by the compiler.
143 * Free the resources used by the remark entry.
147 extern void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark);
150 * The type of the remark. For example, it can allow users to only keep the
155 extern enum LLVMRemarkType LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark);
158 * Get the name of the pass that emitted this remark.
163 LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark);
166 * Get an identifier of the remark.
171 LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark);
174 * Get the name of the function being processed when the remark was emitted.
179 LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark);
182 * Returns the debug location that is attached to this remark.
189 LLVMRemarkEntryGetDebugLoc(LLVMRemarkEntryRef Remark);
192 * Return the hotness of the remark.
198 extern uint64_t LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark);
201 * The number of arguments the remark holds.
205 extern uint32_t LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark);
208 * Get a new iterator to iterate over a remark's argument.
210 * If there are no arguments in \p Remark, the return value will be `NULL`.
212 * The lifetime of the returned value is bound to the lifetime of \p Remark.
216 extern LLVMRemarkArgRef LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark);
219 * Get the next argument in \p Remark from the position of \p It.
223 * The lifetime of the returned value is bound to the lifetime of \p Remark.
228 LLVMRemarkEntryRef Remark);
233 * Creates a remark parser that can be used to parse the buffer located in \p
247 * Creates a remark parser that can be used to parse the buffer located in \p
261 * Returns the next remark in the file.
284 * 3) There is a Remark semantic error. This can occur on well-formed files with
291 * LLVMRemarkEntryRef Remark = NULL;
292 * while ((Remark = LLVMRemarkParserGetNext(Parser))) {
293 * // use Remark
294 * LLVMRemarkEntryDispose(Remark); // Release memory.