xref: /aosp_15_r20/external/llvm/test/Transforms/SimplifyCFG/dbginfo.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: opt < %s -simplifycfg -S | not grep "br label"
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.anchor.type = type { i32, i32 }
4*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 }
5*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
6*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.composite.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }*, { }* }
7*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.derivedtype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }* }
8*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.global_variable.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1, { }* }
9*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.subprogram.type = type { i32, { }*, { }*, i8*, i8*, i8*, { }*, i32, { }*, i1, i1 }
10*9880d681SAndroid Build Coastguard Worker	%llvm.dbg.subrange.type = type { i32, i64, i64 }
11*9880d681SAndroid Build Coastguard Worker	%struct.Group = type { %struct.Scene, %struct.Sphere, %"struct.std::list<Scene*,std::allocator<Scene*> >" }
12*9880d681SAndroid Build Coastguard Worker	%struct.Ray = type { %struct.Vec, %struct.Vec }
13*9880d681SAndroid Build Coastguard Worker	%struct.Scene = type { i32 (...)** }
14*9880d681SAndroid Build Coastguard Worker	%struct.Sphere = type { %struct.Scene, %struct.Vec, double }
15*9880d681SAndroid Build Coastguard Worker	%struct.Vec = type { double, double, double }
16*9880d681SAndroid Build Coastguard Worker	%struct.__class_type_info_pseudo = type { %struct.__type_info_pseudo }
17*9880d681SAndroid Build Coastguard Worker	%struct.__false_type = type <{ i8 }>
18*9880d681SAndroid Build Coastguard Worker	%"struct.__gnu_cxx::new_allocator<Scene*>" = type <{ i8 }>
19*9880d681SAndroid Build Coastguard Worker	%"struct.__gnu_cxx::new_allocator<std::_List_node<Scene*> >" = type <{ i8 }>
20*9880d681SAndroid Build Coastguard Worker	%struct.__si_class_type_info_pseudo = type { %struct.__type_info_pseudo, %"struct.std::type_info"* }
21*9880d681SAndroid Build Coastguard Worker	%struct.__type_info_pseudo = type { i8*, i8* }
22*9880d681SAndroid Build Coastguard Worker	%"struct.std::Hit" = type { double, %struct.Vec }
23*9880d681SAndroid Build Coastguard Worker	%"struct.std::_List_base<Scene*,std::allocator<Scene*> >" = type { %"struct.std::_List_base<Scene*,std::allocator<Scene*> >::_List_impl" }
24*9880d681SAndroid Build Coastguard Worker	%"struct.std::_List_base<Scene*,std::allocator<Scene*> >::_List_impl" = type { %"struct.std::_List_node_base" }
25*9880d681SAndroid Build Coastguard Worker	%"struct.std::_List_const_iterator<Scene*>" = type { %"struct.std::_List_node_base"* }
26*9880d681SAndroid Build Coastguard Worker	%"struct.std::_List_iterator<Scene*>" = type { %"struct.std::_List_node_base"* }
27*9880d681SAndroid Build Coastguard Worker	%"struct.std::_List_node<Scene*>" = type { %"struct.std::_List_node_base", %struct.Scene* }
28*9880d681SAndroid Build Coastguard Worker	%"struct.std::_List_node_base" = type { %"struct.std::_List_node_base"*, %"struct.std::_List_node_base"* }
29*9880d681SAndroid Build Coastguard Worker	%"struct.std::allocator<Scene*>" = type <{ i8 }>
30*9880d681SAndroid Build Coastguard Worker	%"struct.std::allocator<std::_List_node<Scene*> >" = type <{ i8 }>
31*9880d681SAndroid Build Coastguard Worker	%"struct.std::basic_ios<char,std::char_traits<char> >" = type { %"struct.std::ios_base", %"struct.std::basic_ostream<char,std::char_traits<char> >"*, i8, i8, %"struct.std::basic_streambuf<char,std::char_traits<char> >"*, %"struct.std::ctype<char>"*, %"struct.std::num_get<char,std::istreambuf_iterator<char, std::char_traits<char> > >"*, %"struct.std::num_get<char,std::istreambuf_iterator<char, std::char_traits<char> > >"* }
32*9880d681SAndroid Build Coastguard Worker	%"struct.std::basic_ostream<char,std::char_traits<char> >" = type { i32 (...)**, %"struct.std::basic_ios<char,std::char_traits<char> >" }
33*9880d681SAndroid Build Coastguard Worker	%"struct.std::basic_streambuf<char,std::char_traits<char> >" = type { i32 (...)**, i8*, i8*, i8*, i8*, i8*, i8*, %"struct.std::locale" }
34*9880d681SAndroid Build Coastguard Worker	%"struct.std::ctype<char>" = type { %"struct.std::locale::facet", i32*, i8, i32*, i32*, i32*, i8, [256 x i8], [256 x i8], i8 }
35*9880d681SAndroid Build Coastguard Worker	%"struct.std::ios_base" = type { i32 (...)**, i32, i32, i32, i32, i32, %"struct.std::ios_base::_Callback_list"*, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, %"struct.std::ios_base::_Words"*, %"struct.std::locale" }
36*9880d681SAndroid Build Coastguard Worker	%"struct.std::ios_base::Init" = type <{ i8 }>
37*9880d681SAndroid Build Coastguard Worker	%"struct.std::ios_base::_Callback_list" = type { %"struct.std::ios_base::_Callback_list"*, void (i32, %"struct.std::ios_base"*, i32)*, i32, i32 }
38*9880d681SAndroid Build Coastguard Worker	%"struct.std::ios_base::_Words" = type { i8*, i32 }
39*9880d681SAndroid Build Coastguard Worker	%"struct.std::list<Scene*,std::allocator<Scene*> >" = type { %"struct.std::_List_base<Scene*,std::allocator<Scene*> >" }
40*9880d681SAndroid Build Coastguard Worker	%"struct.std::locale" = type { %"struct.std::locale::_Impl"* }
41*9880d681SAndroid Build Coastguard Worker	%"struct.std::locale::_Impl" = type { i32, %"struct.std::locale::facet"**, i32, %"struct.std::locale::facet"**, i8** }
42*9880d681SAndroid Build Coastguard Worker	%"struct.std::locale::facet" = type { i32 (...)**, i32 }
43*9880d681SAndroid Build Coastguard Worker	%"struct.std::num_get<char,std::istreambuf_iterator<char, std::char_traits<char> > >" = type { %"struct.std::locale::facet" }
44*9880d681SAndroid Build Coastguard Worker	%"struct.std::num_put<char,std::ostreambuf_iterator<char, std::char_traits<char> > >" = type { %"struct.std::locale::facet" }
45*9880d681SAndroid Build Coastguard Worker	%"struct.std::numeric_limits<double>" = type <{ i8 }>
46*9880d681SAndroid Build Coastguard Worker	%"struct.std::type_info" = type { i32 (...)**, i8* }
47*9880d681SAndroid Build Coastguard Worker@llvm.dbg.subprogram947 = external constant %llvm.dbg.subprogram.type		; <%llvm.dbg.subprogram.type*> [#uses=1]
48*9880d681SAndroid Build Coastguard Worker
49*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.dbg.func.start({ }*) nounwind
50*9880d681SAndroid Build Coastguard Worker
51*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.dbg.region.end({ }*) nounwind
52*9880d681SAndroid Build Coastguard Worker
53*9880d681SAndroid Build Coastguard Workerdeclare void @_ZN9__gnu_cxx13new_allocatorIP5SceneED2Ev(%struct.__false_type*) nounwind
54*9880d681SAndroid Build Coastguard Worker
55*9880d681SAndroid Build Coastguard Workerdefine void @_ZNSaIP5SceneED1Ev(%struct.__false_type* %this) nounwind {
56*9880d681SAndroid Build Coastguard Workerentry:
57*9880d681SAndroid Build Coastguard Worker	%this_addr = alloca %struct.__false_type*		; <%struct.__false_type**> [#uses=2]
58*9880d681SAndroid Build Coastguard Worker	%"alloca point" = bitcast i32 0 to i32		; <i32> [#uses=0]
59*9880d681SAndroid Build Coastguard Worker	call void @llvm.dbg.func.start({ }* bitcast (%llvm.dbg.subprogram.type* @llvm.dbg.subprogram947 to { }*))
60*9880d681SAndroid Build Coastguard Worker	store %struct.__false_type* %this, %struct.__false_type** %this_addr
61*9880d681SAndroid Build Coastguard Worker	%0 = load %struct.__false_type*, %struct.__false_type** %this_addr, align 4		; <%struct.__false_type*> [#uses=1]
62*9880d681SAndroid Build Coastguard Worker	call void @_ZN9__gnu_cxx13new_allocatorIP5SceneED2Ev(%struct.__false_type* %0) nounwind
63*9880d681SAndroid Build Coastguard Worker	br label %bb
64*9880d681SAndroid Build Coastguard Worker
65*9880d681SAndroid Build Coastguard Workerbb:		; preds = %entry
66*9880d681SAndroid Build Coastguard Worker	br label %return
67*9880d681SAndroid Build Coastguard Worker
68*9880d681SAndroid Build Coastguard Workerreturn:		; preds = %bb
69*9880d681SAndroid Build Coastguard Worker	call void @llvm.dbg.region.end({ }* bitcast (%llvm.dbg.subprogram.type* @llvm.dbg.subprogram947 to { }*))
70*9880d681SAndroid Build Coastguard Worker	ret void
71*9880d681SAndroid Build Coastguard Worker}
72