1; RUN: opt -passes=synthetic-counts-propagation -S < %s | FileCheck %s 2 3; CHECK-LABEL: define void @foo() 4; CHECK: !prof ![[COUNT1:[0-9]+]] 5define void @foo() { 6 call void @bar() 7 ret void 8} 9 10; CHECK-LABEL: define void @bar() #0 11; CHECK: !prof ![[COUNT1]] 12define void @bar() #0 { 13 call void @foo() 14 ret void 15} 16 17attributes #0 = {inlinehint} 18 19; CHECK: ![[COUNT1]] = !{!"synthetic_function_entry_count", i64 25} 20