llvm.org GIT mirror llvm / c64bc16
Skip DbgInfoIntrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66244 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 10 years ago
2 changed file(s) with 68 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2020 #include "llvm/Constants.h"
2121 #include "llvm/DerivedTypes.h"
2222 #include "llvm/Function.h"
23 #include "llvm/Instructions.h"
23 #include "llvm/IntrinsicInst.h"
2424 #include "llvm/Value.h"
2525 #include "llvm/ADT/DenseMap.h"
2626 #include "llvm/ADT/DepthFirstIterator.h"
14691469
14701470 if (isa(CurInst) || isa(CurInst) ||
14711471 isa(CurInst) || CurInst->mayReadFromMemory() ||
1472 CurInst->mayWriteToMemory())
1472 CurInst->mayWriteToMemory() || isa(CurInst))
14731473 continue;
14741474
14751475 uint32_t valno = VN.lookup(CurInst);
0 ; RUN: llvm-as < %s | opt -gvn -disable-output
1 %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 }
2 @llvm.dbg.compile_unit298 = external constant %llvm.dbg.compile_unit.type ; <%llvm.dbg.compile_unit.type*> [#uses=1]
3
4 declare void @llvm.dbg.stoppoint(i32, i32, { }*) nounwind
5
6 define i8* @__deregister_frame_info_bases(i8* %begin) {
7 entry:
8 br i1 false, label %bb17, label %bb
9
10 bb: ; preds = %entry
11 br i1 false, label %bb17, label %bb6.preheader
12
13 bb6.preheader: ; preds = %bb
14 br label %bb6
15
16 bb3: ; preds = %bb6
17 br i1 false, label %bb4, label %bb6
18
19 bb4: ; preds = %bb3
20 br label %out
21
22 bb6: ; preds = %bb3, %bb6.preheader
23 br i1 false, label %bb14.loopexit, label %bb3
24
25 bb8: ; preds = %bb14
26 br i1 false, label %bb9, label %bb11
27
28 bb9: ; preds = %bb8
29 br i1 false, label %bb10, label %bb13
30
31 bb10: ; preds = %bb9
32 br label %out
33
34 bb11: ; preds = %bb8
35 br i1 false, label %bb12, label %bb13
36
37 bb12: ; preds = %bb11
38 br label %out
39
40 bb13: ; preds = %bb11, %bb9
41 br label %bb14
42
43 bb14.loopexit: ; preds = %bb6
44 br label %bb14
45
46 bb14: ; preds = %bb14.loopexit, %bb13
47 br i1 false, label %bb15.loopexit, label %bb8
48
49 out: ; preds = %bb12, %bb10, %bb4
50 tail call void @llvm.dbg.stoppoint(i32 217, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit298 to { }*))
51 br i1 false, label %bb15, label %bb16
52
53 bb15.loopexit: ; preds = %bb14
54 br label %bb15
55
56 bb15: ; preds = %bb15.loopexit, %out
57 tail call void @llvm.dbg.stoppoint(i32 217, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit298 to { }*))
58 unreachable
59
60 bb16: ; preds = %out
61 ret i8* null
62
63 bb17: ; preds = %bb, %entry
64 ret i8* null
65 }