Lines Matching refs:LW
2 ; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
15 ; The LW prefix means linkonce (this file) first, then weak (the other file).
19 ; LW-LABEL: define i32 @bar(
20 ; LW: %sum = add i32 %a, %b, !dbg ![[FOOINBAR:[0-9]+]]
21 ; LW: ret i32 %sum, !dbg ![[BARRET:[0-9]+]]
22 ; LW-LABEL: define weak i32 @foo(
23 ; LW: %sum = call i32 @fastadd(i32 %a, i32 %b), !dbg ![[FOOCALL:[0-9]+]]
24 ; LW: ret i32 %sum, !dbg ![[FOORET:[0-9]+]]
51 ; LW-SAME: !{![[LCU:[0-9]+]], ![[WCU:[0-9]+]]}
55 ; LW: ![[LCU]] = !MDCompileUnit({{.*}} subprograms: ![[LSPs:[0-9]+]]
56 ; LW: ![[LSPs]] = !{![[BARSP:[0-9]+]], ![[FOOSP:[0-9]+]]}
57 ; LW: ![[BARSP]] = !MDSubprogram(name: "bar",
58 ; LW-SAME: function: i32 (i32, i32)* @bar
59 ; LW: ![[FOOSP]] = {{.*}}!MDSubprogram(name: "foo",
60 ; LW-NOT: function:
61 ; LW-SAME: ){{$}}
62 ; LW: ![[WCU]] = !MDCompileUnit({{.*}} subprograms: ![[WSPs:[0-9]+]]
63 ; LW: ![[WSPs]] = !{![[WEAKFOOSP:[0-9]+]]}
64 ; LW: ![[WEAKFOOSP]] = !MDSubprogram(name: "foo",
65 ; LW-SAME: function: i32 (i32, i32)* @foo
66 ; LW: ![[FOOINBAR]] = !MDLocation(line: 2, scope: ![[FOOSP]], inlinedAt: ![[BARIA:[0-9]+]])
67 ; LW: ![[BARIA]] = !MDLocation(line: 12, scope: ![[BARSP]])
68 ; LW: ![[BARRET]] = !MDLocation(line: 13, scope: ![[BARSP]])
69 ; LW: ![[FOOCALL]] = !MDLocation(line: 52, scope: ![[WEAKFOOSP]])
70 ; LW: ![[FOORET]] = !MDLocation(line: 53, scope: ![[WEAKFOOSP]])