• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:static +full:- +full:dbg

1 ; RUN: opt < %s -always-inline -S | FileCheck %s
4 ; clang -cc1 -disable-llvm-optzns -emit-llvm -g -stack-protector 2 test.cpp
25 ; The patch that includes this test case, is addressing the following issue:
28 ; are attributed with the call site's DebugLoc. After inlining, inlined static
30 ; static alloca instructions. By retaining the call site's DebugLoc, these instructions
49 ; The selected solution is to not attribute static allocas with the call site's
60 ; non-nodebug functions (i.e. functions with debug information) may want to
67 ; CHECK: %arr.i = alloca [10 x i32], align {{[0-9]*$}}
68 ; CHECK: %sum.i = alloca i32, align {{[0-9]*$}}
71 ; ModuleID = 'test.cpp'
72 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
73 target triple = "x86_64-unknown-linux-gnu"
80 call void @llvm.dbg.declare(metadata [10 x i32]* %arr, metadata !14), !dbg !18
81 %arrayidx = getelementptr inbounds [10 x i32], [10 x i32]* %arr, i32 0, i64 0, !dbg !19
82 store i32 5, i32* %arrayidx, align 4, !dbg !19
83 call void @llvm.dbg.declare(metadata i32* %sum, metadata !20), !dbg !21
84 store i32 4, i32* %sum, align 4, !dbg !21
85 %0 = load i32, i32* %sum, align 4, !dbg !22
86 ret i32 %0, !dbg !22
90 declare void @llvm.dbg.declare(metadata, metadata) #1
98 call void @_Z3barv(), !dbg !23
99 call void @llvm.dbg.declare(metadata i32* %i, metadata !24), !dbg !25
100 %call = call i32 @_Z3foov(), !dbg !25
101 store i32 %call, i32* %i, align 4, !dbg !25
102 %0 = load i32, i32* %i, align 4, !dbg !26
103 ret i32 %0, !dbg !26
108-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math…
110-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math…
111-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math…
113 !llvm.dbg.cu = !{!0}
117 … 0, !2, !2, !3, !2, !2, !"", i32 1} ; [ DW_TAG_compile_unit ] [/home/user/test/<stdin>] [DW_LANG_C…
118 !1 = !{!"<stdin>", !"/home/user/test"}
122 !5 = !{!"test.cpp", !"/home/user/test"}
123 !6 = !{i32 786473, !5} ; [ DW_TAG_file_type ] [/home/user/test/test.cpp]