[llvm] [LLVM] Successor count added to InstCount (PR #171670)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 31 10:08:34 PST 2025


================
@@ -362,6 +379,11 @@ void FunctionPropertiesInfo::print(raw_ostream &OS) const {
     PRINT_PROPERTY(CriticalEdgeCount)
     PRINT_PROPERTY(ControlFlowEdgeCount)
     PRINT_PROPERTY(UnconditionalBranchCount)
+    PRINT_PROPERTY(ConditionalBranchCount)
+    PRINT_PROPERTY(BranchInstructionCount)
+    PRINT_PROPERTY(BranchSuccessorCount)
+    PRINT_PROPERTY(SwitchInstructionCount)
+    PRINT_PROPERTY(SwitchSuccessorCount)
----------------
boomanaiden154 wrote:

We should probably be using `FunctionProperties.def` here too.

https://github.com/llvm/llvm-project/pull/171670


More information about the llvm-commits mailing list