1 ; RUN: opt < %s -passes="print<inline-cost>" 2>&1 | FileCheck %s
3 ; CHECK: Analyzing call of foo... (caller:main)
4 ; CHECK: define ptr @foo() {
5 ; CHECK: cost before = {{.*}}, cost after = {{.*}}, threshold before = {{.*}}, threshold after = {{.*}}, cost delta = {{.*}}
6 ; CHECK: %1 = inttoptr i64 754974720 to ptr
7 ; CHECK: cost before = {{.*}}, cost after = {{.*}}, threshold before = {{.*}}, threshold after = {{.*}}, cost delta = {{.*}}
10 ; CHECK: NumConstantArgs: {{.*}}
11 ; CHECK: NumConstantOffsetPtrArgs: {{.*}}
12 ; CHECK: NumAllocaArgs: {{.*}}
13 ; CHECK: NumConstantPtrCmps: {{.*}}
14 ; CHECK: NumConstantPtrDiffs: {{.*}}
15 ; CHECK: NumInstructionsSimplified: {{.*}}
16 ; CHECK: NumInstructions: {{.*}}
17 ; CHECK: SROACostSavings: {{.*}}
18 ; CHECK: SROACostSavingsLost: {{.*}}
19 ; CHECK: LoadEliminationCost: {{.*}}
20 ; CHECK: ContainsNoDuplicateCall: {{.*}}
22 ; CHECK: Threshold: {{.*}}
24 ; CHECK: Analyzing call of foo... (caller:main)
27 %1 = inttoptr i64 754974720 to ptr