-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
391 additions
and
569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
digraph "ICFG" { | ||
label="ICFG"; | ||
|
||
Node0x5593c9c16ff0 [shape=record,color=black,label="{IntraICFGNode23 \{fun: main\}\nBranchStmt: [ Unconditional branch]\nSuccessor 0 ICFGNode13 \n br label %while.cond, !llvm.loop !4 }"]; | ||
Node0x5593c9c16ff0 -> Node0x5593c9c15cc0[style=solid]; | ||
Node0x5593c9c16e10 [shape=record,color=black,label="{IntraICFGNode22 \{fun: main\}\nStoreStmt: [Var17 \<-- Var28] \n store i32 %inc, i32* %a, align 4 }"]; | ||
Node0x5593c9c16e10 -> Node0x5593c9c16ff0[style=solid]; | ||
Node0x5593c9c16c30 [shape=record,color=black,label="{IntraICFGNode21 \{fun: main\}\nBinaryOPStmt: [Var28 \<-- (Var27 opcode13 Var20)] \n %inc = add nsw i32 %1, 1 }"]; | ||
Node0x5593c9c16c30 -> Node0x5593c9c16e10[style=solid]; | ||
Node0x5593c9c16a60 [shape=record,color=green,label="{FunExitICFGNode20 \{fun: main\}\nPhiStmt: [Var16 \<-- ([Var32, ICFGNode18],)] \n ret i32 0 }"]; | ||
Node0x5593c9c16880 [shape=record,color=black,label="{IntraICFGNode19 \{fun: main\}\nLoadStmt: [Var27 \<-- Var17] \n %1 = load i32, i32* %a, align 4 }"]; | ||
Node0x5593c9c16880 -> Node0x5593c9c16c30[style=solid]; | ||
Node0x5593c9c166a0 [shape=record,color=black,label="{IntraICFGNode18 \{fun: main\}\n ret i32 0 }"]; | ||
Node0x5593c9c166a0 -> Node0x5593c9c16a60[style=solid]; | ||
Node0x5593c9c163d0 [shape=record,color=blue,label="{RetICFGNode17 \{fun: main\}}"]; | ||
Node0x5593c9c163d0 -> Node0x5593c9c16880[style=solid]; | ||
Node0x5593c9c01c20 [shape=record,color=red,label="{CallICFGNode16 \{fun: main\}\nCallPE: [Var7 \<-- Var17] \n call void @source(i32* %a) |{<s0>0x5593c9c05110}}"]; | ||
Node0x5593c9c01c20:s0 -> Node0x5593c9c05f90[style=solid,color=red]; | ||
Node0x5593c9c16170 [shape=record,color=black,label="{IntraICFGNode15 \{fun: main\}\nBranchStmt: [Condition Var24]\nSuccessor 0 ICFGNode16 Successor 1 ICFGNode18 \n br i1 %cmp, label %while.body, label %while.end }"]; | ||
Node0x5593c9c16170 -> Node0x5593c9c01c20[style=solid]; | ||
Node0x5593c9c16170 -> Node0x5593c9c166a0[style=solid]; | ||
Node0x5593c9c15f90 [shape=record,color=black,label="{IntraICFGNode14 \{fun: main\}\nCmpStmt: [Var24 \<-- (Var23 predicate41 Var20)] \n %cmp = icmp sle i32 %0, 1 }"]; | ||
Node0x5593c9c15f90 -> Node0x5593c9c16170[style=solid]; | ||
Node0x5593c9c15cc0 [shape=record,color=black,label="{IntraICFGNode13 \{fun: main\}\nLoadStmt: [Var23 \<-- Var17] \n %0 = load i32, i32* %a, align 4 }"]; | ||
Node0x5593c9c15cc0 -> Node0x5593c9c15f90[style=solid]; | ||
Node0x5593c9bffb50 [shape=record,color=purple,label="{GlobalICFGNode0\nCopyStmt: [Var1 \<-- Var0] \n i8* null \{ constant data \}\nAddrStmt: [Var20 \<-- Var3] \n i32 1 \{ constant data \}\nAddrStmt: [Var32 \<-- Var3] \n i32 0 \{ constant data \}\nAddrStmt: [Var4 \<-- Var5] \n source \nAddrStmt: [Var9 \<-- Var10] \n sink \nAddrStmt: [Var14 \<-- Var15] \n main }"]; | ||
Node0x5593c9bffb50 -> Node0x5593c9c15630[style=solid]; | ||
Node0x5593c9c05f90 [shape=record,color=yellow,label="{FunEntryICFGNode1 \{fun: source\}}"]; | ||
Node0x5593c9c05f90 -> Node0x5593c9c00530[style=solid]; | ||
Node0x5593c9c00530 [shape=record,color=red,label="{CallICFGNode2 \{fun: source\}|{<s0>0x5593c9c03f60}}"]; | ||
Node0x5593c9c00530:s0 -> Node0x5593c9c14e60[style=solid,color=red]; | ||
Node0x5593c9c14d20 [shape=record,color=blue,label="{RetICFGNode3 \{fun: source\}}"]; | ||
Node0x5593c9c14d20 -> Node0x5593c9c151f0[style=solid]; | ||
Node0x5593c9c14e60 [shape=record,color=yellow,label="{FunEntryICFGNode4 \{fun: sink\}}"]; | ||
Node0x5593c9c14e60 -> Node0x5593c9c15490[style=solid]; | ||
Node0x5593c9c14f30 [shape=record,color=green,label="{FunExitICFGNode5 \{fun: sink\}|{<s0>0x5593c9c03f60}}"]; | ||
Node0x5593c9c14f30:s0 -> Node0x5593c9c14d20[style=solid,color=blue]; | ||
Node0x5593c9c151f0 [shape=record,color=black,label="{IntraICFGNode6 \{fun: source\}\n ret void }"]; | ||
Node0x5593c9c151f0 -> Node0x5593c9c15380[style=solid]; | ||
Node0x5593c9c15380 [shape=record,color=green,label="{FunExitICFGNode7 \{fun: source\}|{<s0>0x5593c9c05110}}"]; | ||
Node0x5593c9c15380:s0 -> Node0x5593c9c163d0[style=solid,color=blue]; | ||
Node0x5593c9c15490 [shape=record,color=black,label="{IntraICFGNode8 \{fun: sink\}\n ret void }"]; | ||
Node0x5593c9c15490 -> Node0x5593c9c14f30[style=solid]; | ||
Node0x5593c9c15630 [shape=record,color=yellow,label="{FunEntryICFGNode9 \{fun: main\}}"]; | ||
Node0x5593c9c15630 -> Node0x5593c9c15760[style=solid]; | ||
Node0x5593c9c15760 [shape=record,color=black,label="{IntraICFGNode10 \{fun: main\}\nAddrStmt: [Var17 \<-- Var18] \n %a = alloca i32, align 4 }"]; | ||
Node0x5593c9c15760 -> Node0x5593c9c15920[style=solid]; | ||
Node0x5593c9c15920 [shape=record,color=black,label="{IntraICFGNode11 \{fun: main\}\nStoreStmt: [Var17 \<-- Var20] \n store i32 1, i32* %a, align 4 }"]; | ||
Node0x5593c9c15920 -> Node0x5593c9c15ae0[style=solid]; | ||
Node0x5593c9c15ae0 [shape=record,color=black,label="{IntraICFGNode12 \{fun: main\}\nBranchStmt: [ Unconditional branch]\nSuccessor 0 ICFGNode13 \n br label %while.cond }"]; | ||
Node0x5593c9c15ae0 -> Node0x5593c9c15cc0[style=solid]; | ||
} | ||
Node0x1ad97f0 [shape=record,color=purple,label="{GlobalICFGNode0\nCopyStmt: [Var1 \<-- Var0] \n ptr null \{ constant data \}\nAddrStmt: [Var32 \<-- Var3] \n i32 0 \{ constant data \}\nAddrStmt: [Var19 \<-- Var3] \n i32 1 \{ constant data \}\nAddrStmt: [Var4 \<-- Var5] \nFunction: source \nAddrStmt: [Var9 \<-- Var10] \nFunction: sink \nAddrStmt: [Var14 \<-- Var15] \nFunction: main }"]; | ||
Node0x1ad97f0 -> Node0x1a52f60[style=solid]; | ||
Node0x1a623c0 [shape=record,color=yellow,label="{FunEntryICFGNode1 \{fun: source\}}"]; | ||
Node0x1a623c0 -> Node0x1a65c80[style=solid]; | ||
Node0x1a65c80 [shape=record,color=red,label="{CallICFGNode2 \{fun: source\}|{<s0>0x1ad91a0}}"]; | ||
Node0x1a65c80:s0 -> Node0x1a58b10[style=solid,color=red]; | ||
Node0x1a60360 [shape=record,color=blue,label="{RetICFGNode3 \{fun: source\}}"]; | ||
Node0x1a60360 -> Node0x1acb6c0[style=solid]; | ||
Node0x1a58b10 [shape=record,color=yellow,label="{FunEntryICFGNode4 \{fun: sink\}}"]; | ||
Node0x1a58b10 -> Node0x1aeae20[style=solid]; | ||
Node0x1ad9d60 [shape=record,color=green,label="{FunExitICFGNode5 \{fun: sink\}|{<s0>0x1ad91a0}}"]; | ||
Node0x1ad9d60:s0 -> Node0x1a60360[style=solid,color=blue]; | ||
Node0x1acb6c0 [shape=record,color=black,label="{IntraICFGNode6 \{fun: source\}\n ret void }"]; | ||
Node0x1acb6c0 -> Node0x1aa1d20[style=solid]; | ||
Node0x1aa1d20 [shape=record,color=green,label="{FunExitICFGNode7 \{fun: source\}|{<s0>0x1aeb5d0}}"]; | ||
Node0x1aa1d20:s0 -> Node0x1a7a650[style=solid,color=blue]; | ||
Node0x1aeae20 [shape=record,color=black,label="{IntraICFGNode8 \{fun: sink\}\n ret void }"]; | ||
Node0x1aeae20 -> Node0x1ad9d60[style=solid]; | ||
Node0x1a52f60 [shape=record,color=yellow,label="{FunEntryICFGNode9 \{fun: main\}}"]; | ||
Node0x1a52f60 -> Node0x1a9d210[style=solid]; | ||
Node0x1a9d210 [shape=record,color=black,label="{IntraICFGNode10 \{fun: main\}\nAddrStmt: [Var17 \<-- Var18] \n %a = alloca i32, align 4 }"]; | ||
Node0x1a9d210 -> Node0x1a70370[style=solid]; | ||
Node0x1a70370 [shape=record,color=black,label="{IntraICFGNode11 \{fun: main\}\nStoreStmt: [Var17 \<-- Var19] \n store i32 1, ptr %a, align 4 }"]; | ||
Node0x1a70370 -> Node0x1a56230[style=solid]; | ||
Node0x1a56230 [shape=record,color=black,label="{IntraICFGNode12 \{fun: main\}\nBranchStmt: [ Unconditional branch]\nSuccessor 0 ICFGNode13 \n br label %while.cond }"]; | ||
Node0x1a56230 -> Node0x1a73420[style=solid]; | ||
Node0x1a73420 [shape=record,color=black,label="{IntraICFGNode13 \{fun: main\}\nLoadStmt: [Var23 \<-- Var17] \n %0 = load i32, ptr %a, align 4 }"]; | ||
Node0x1a73420 -> Node0x1ad4db0[style=solid]; | ||
Node0x1ad4db0 [shape=record,color=black,label="{IntraICFGNode14 \{fun: main\}\nCmpStmt: [Var24 \<-- (Var23 predicate41 Var19)] \n %cmp = icmp sle i32 %0, 1 }"]; | ||
Node0x1ad4db0 -> Node0x1ae28a0[style=solid]; | ||
Node0x1ae28a0 [shape=record,color=black,label="{IntraICFGNode15 \{fun: main\}\nBranchStmt: [Condition Var24]\nSuccessor 0 ICFGNode16 Successor 1 ICFGNode18 \n br i1 %cmp, label %while.body, label %while.end }"]; | ||
Node0x1ae28a0 -> Node0x1a992d0[style=solid]; | ||
Node0x1ae28a0 -> Node0x1ad4010[style=solid]; | ||
Node0x1a992d0 [shape=record,color=red,label="{CallICFGNode16 \{fun: main\}\nCallPE: [Var7 \<-- Var17] \n call void @source(ptr noundef %a) |{<s0>0x1aeb5d0}}"]; | ||
Node0x1a992d0:s0 -> Node0x1a623c0[style=solid,color=red]; | ||
Node0x1a7a650 [shape=record,color=blue,label="{RetICFGNode17 \{fun: main\}}"]; | ||
Node0x1a7a650 -> Node0x1ae4680[style=solid]; | ||
Node0x1ad4010 [shape=record,color=black,label="{IntraICFGNode18 \{fun: main\}\n ret i32 0 }"]; | ||
Node0x1ad4010 -> Node0x1a85d20[style=solid]; | ||
Node0x1ae4680 [shape=record,color=black,label="{IntraICFGNode19 \{fun: main\}\nLoadStmt: [Var27 \<-- Var17] \n %1 = load i32, ptr %a, align 4 }"]; | ||
Node0x1ae4680 -> Node0x1a85620[style=solid]; | ||
Node0x1a85d20 [shape=record,color=green,label="{FunExitICFGNode20 \{fun: main\}\nPhiStmt: [Var16 \<-- ([Var32, ICFGNode18],)] \n ret i32 0 }"]; | ||
Node0x1a85620 [shape=record,color=black,label="{IntraICFGNode21 \{fun: main\}\nBinaryOPStmt: [Var28 \<-- (Var27 opcode13 Var19)] \n %inc = add nsw i32 %1, 1 }"]; | ||
Node0x1a85620 -> Node0x1ae2040[style=solid]; | ||
Node0x1ae2040 [shape=record,color=black,label="{IntraICFGNode22 \{fun: main\}\nStoreStmt: [Var17 \<-- Var28] \n store i32 %inc, ptr %a, align 4 }"]; | ||
Node0x1ae2040 -> Node0x1a6a460[style=solid]; | ||
Node0x1a6a460 [shape=record,color=black,label="{IntraICFGNode23 \{fun: main\}\nBranchStmt: [ Unconditional branch]\nSuccessor 0 ICFGNode13 \n br label %while.cond, !llvm.loop !6 }"]; | ||
Node0x1a6a460 -> Node0x1a73420[style=solid]; | ||
} |
Oops, something went wrong.