[llvm] [Instrumentation] Support MachineFunctionProperties (PR #83668)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 00:20:18 PST 2024
================
@@ -78,7 +85,12 @@ class PassInstrumentationCallbacks {
using BeforePassFunc = bool(StringRef, Any);
using BeforeSkippedPassFunc = void(StringRef, Any);
using BeforeNonSkippedPassFunc = void(StringRef, Any);
+ using BeforeNonSkippedMachineFunctionPassFunc =
+ void(const detail::MachinePassConcept &, MachineFunction &);
----------------
arsenm wrote:
All of these typedefs should probably move to function_ref? For now I guess it follows the pattern
https://github.com/llvm/llvm-project/pull/83668
More information about the llvm-commits
mailing list