Lines Matching refs:LW
2 ; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
18 ; The LW prefix means linkonce (this file) first, then weak (the other file).
22 ; LW-LABEL: define i32 @bar(
23 ; LW: %sum = add i32 %a, %b, !dbg ![[FOOINBAR:[0-9]+]]
24 ; LW: ret i32 %sum, !dbg ![[BARRET:[0-9]+]]
25 ; LW-LABEL: define weak_odr i32 @foo(
26 ; LW: %sum = add i32 %a, %b, !dbg ![[FOOADD:[0-9]+]]
27 ; LW: ret i32 %sum, !dbg ![[FOORET:[0-9]+]]
54 ; LW-SAME: !{![[LCU:[0-9]+]], ![[WCU:[0-9]+]]}
58 ; LW: ![[LCU]] = !MDCompileUnit({{.*}} subprograms: ![[LSPs:[0-9]+]]
59 ; LW: ![[LSPs]] = !{![[BARSP:[0-9]+]], ![[FOOSP:[0-9]+]]}
60 ; LW: ![[BARSP]] = !MDSubprogram(name: "bar",
61 ; LW-SAME: function: i32 (i32, i32)* @bar
62 ; LW: ![[FOOSP]] = {{.*}}!MDSubprogram(name: "foo",
63 ; LW-NOT: function:
64 ; LW-SAME: ){{$}}
65 ; LW: ![[WCU]] = !MDCompileUnit({{.*}} subprograms: ![[WSPs:[0-9]+]]
66 ; LW: ![[WSPs]] = !{![[WEAKFOOSP:[0-9]+]]}
67 ; LW: ![[WEAKFOOSP]] = !MDSubprogram(name: "foo",
68 ; LW-SAME: function: i32 (i32, i32)* @foo
69 ; LW: ![[FOOINBAR]] = !MDLocation(line: 2, scope: ![[FOOSP]], inlinedAt: ![[BARIA:[0-9]+]])
70 ; LW: ![[BARIA]] = !MDLocation(line: 12, scope: ![[BARSP]])
71 ; LW: ![[BARRET]] = !MDLocation(line: 13, scope: ![[BARSP]])
72 ; LW: ![[FOOADD]] = !MDLocation(line: 2, scope: ![[WEAKFOOSP]])
73 ; LW: ![[FOORET]] = !MDLocation(line: 3, scope: ![[WEAKFOOSP]])