Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / Bitcode / thinlto-function-summary-originalnames.ll
blob0139f00b4aa3f42a8eeb30c8cda7b0d6d7373520
1 ; Test to check the callgraph in summary
2 ; RUN: opt -module-summary %s -o %t.o
3 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t.o
4 ; RUN: llvm-bcanalyzer -dump %t.index.bc | FileCheck %s --check-prefix=COMBINED
6 ; COMBINED:       <GLOBALVAL_SUMMARY_BLOCK
7 ; COMBINED-NEXT:    <VERSION
8 ; COMBINED-NEXT:    <FLAGS
9 ; COMBINED-NEXT:    <VALUE_GUID {{.*}} op1=686735765308251824/>
10 ; COMBINED-NEXT:    <VALUE_GUID {{.*}} op1=4507502870619175775/>
11 ; COMBINED-NEXT:    <VALUE_GUID {{.*}} op1=-8118561185538785069/>
12 ; COMBINED-DAG:    <COMBINED_PROFILE{{ }}
13 ; COMBINED-DAG:    <COMBINED_ORIGINAL_NAME op0=-2012135647395072713/>
14 ; COMBINED-DAG:    <COMBINED_GLOBALVAR_INIT_REFS
15 ; COMBINED-DAG:    <COMBINED_ORIGINAL_NAME op0=6699318081062747564/>
16 ; COMBINED-DAG:    <COMBINED_ALIAS
17 ; COMBINED-DAG:    <COMBINED_ORIGINAL_NAME op0=-4170563161550796836/>
18 ; COMBINED-NEXT:  </GLOBALVAL_SUMMARY_BLOCK>
20 source_filename = "/path/to/source.c"
22 ; ModuleID = 'thinlto-function-summary-callgraph.ll'
23 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
24 target triple = "x86_64-unknown-linux-gnu"
26 @bar = internal global i32 0
27 @fooalias = internal alias void (...), bitcast (void ()* @foo to void (...)*)
29 define internal void @foo() {
30     ret void