An efficient, type-erasing, non-owning reference to a callable.
Declared in <llvm/ADT/STLFunctionalExtras.h>
template<typename Fn>
class function_ref;
This is intended for use as the type of a function parameter that is not used after the function in question returns.
This class does not own the callable, so it is not in general safe to store a function_ref.
| Name | Description |
|---|---|
function_ref<Ret(Params...)> | Partial specialization of function_ref for a given function signature. |
| Name | Description |
|---|---|
PrintError | Print an error diagnostic by writing into a colored error stream. |
PrintFatalError | Print an error via PrintMsg and then exit the process. |
PrintNote | Print a note diagnostic by writing into a colored note stream. |
PatternMatch::m_CheckedFp | Match a float or vector where CheckFn(ele) for each element is true. For vectors, poison elements are assumed to match. |
PatternMatch::m_CheckedInt | Match an integer or vector where CheckFn(ele) for each element is true. For vectors, poison elements are assumed to match. |
dwarf_linker::finiteLoop | Call Iteration until it returns false, or fail if the limit is hit. |