Displaying 2 results from an estimated 2 matches for "ifcont".
Did you mean:
ifconf
2010 Jan 28
2
[LLVMdev] llc generated machine assembly code for NASM
...s=1]
store i32 %6, i32* %lv
%gv6 = load i32* @gv ; <i32> [#uses=1]
%7 = sub i32 %gv6, 1 ; <i32> [#uses=1]
store i32 %7, i32* @gv
br label %while
whilecont: ; preds = %while
br label %ifcont
else: ; preds = %entry
store i32 1, i32* %lv
br label %while7
while7: ; preds = %whilebody9,
%else
%gv8 = load i32* @gv ; <i32> [#uses=1]
%8 = icmp ugt i32 %gv8, 0...
2019 Apr 01
2
Instruction Execution With Hard Limitation at Runtime
...add_gas(i64 %gasCost) {
__virtual_entry:
%0 = load i64, i64* @__WAVM__XX__gGasUsed ### I am sure it exists,
same as the __WAVM__XX__gGasLimit
%addtmp = add i64 %0, %gasCost
%1 = load i64, i64* @__WAVM__XX__gGasLimit
%cmptmp = icmp sgt i64 %addtmp, %1
br i1 %cmptmp, label %then, label %ifcont
then: ; preds = %__virtual_entry
call void @exit(i32 1024)
ret void
ifcont: ; preds = %__virtual_entry
store i64 %addtmp, i64* @__WAVM__XX__gGasUsed
ret void
}
; Function Attrs: noreturn nounwind
declar...