1 define void @globalfunc1() {
3 call void @trampoline()
6 ; Adds an artificial level in the call graph to reduce the importing threshold
7 define void @trampoline() {
9 call void @largefunction()
13 define void @globalfunc2() {
15 call void @largefunction()
20 ; Size is 5: if two layers below in the call graph the threshold will be 4,
21 ; but if only one layer below the threshold will be 7.
22 define void @largefunction() {
24 call void @staticfunc2()
25 call void @staticfunc2()
26 call void @staticfunc2()
27 call void @staticfunc2()
28 call void @staticfunc2()
32 define internal void @staticfunc2() {