brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · e953eb1 Raw
28 lines · plain
1define i32 @main(i32 %argc, ptr %argv) {2entry:3  %and = and i32 %argc, 14  %tobool = icmp eq i32 %and, 05  br i1 %tobool, label %if.end, label %if.then6 7if.then:                                          ; preds = %entry8  %call = tail call i32 @foo() #29  br label %return10 11if.end:                                           ; preds = %entry12  %call1 = tail call i32 @bar() #213  br label %return14 15return:                                           ; preds = %if.end, %if.then16  %retval.0 = phi i32 [ %call, %if.then ], [ %call1, %if.end ]17  ret i32 %retval.018}19 20declare i32 @foo()21declare i32 @bar()22 23^0 = module: (path: "main-mod.o", hash: (1466373418, 2110622332, 1230295500, 3229354382, 2004933020))24^1 = gv: (name: "foo") ; guid = 669931808106274756425^2 = gv: (name: "main", summaries: (function: (module: ^0, flags: (linkage: external, notEligibleToImport: 0, live: 0, dsoLocal: 0, canAutoHide: 0), insts: 22, funcFlags: (readNone: 0, readOnly: 0, noRecurse: 1, returnDoesNotAlias: 0, noInline: 1, alwaysInline: 0), calls: ((callee: ^1), (callee: ^3))))) ; guid = 1582266305281194956226^3 = gv: (name: "bar") ; guid = 1643460842631447890327^4 = blockcount: 028