search for: new_n

Displaying 3 results from an estimated 3 matches for "new_n".

Did you mean: new_p
2006 Apr 15
6
[LLVMdev] how to code a loop in llvm assembly
...the "LLVM Language Reference Manual" a few times, and writing some ll code, but i'm stuck at a very basic point. How to decrement a counter variable ? int %count(int %n) { EntryBlock: %cond = seteq int %n, 0 br bool %cond, label %Exit, label %Next Next: ; how to decrement n ? %new_n = sub int %n, 1 br label %EntryBlock Exit: ret int 0 } I guess I could malloc a variable and use store/load. Is that the right way ? Also the above code is invalid: Entry block to function must not have predecessors! label %EntryBlock Broken module found, compilation aborted! thanks for any...
2017 Jul 02
2
Dovecot 2.2.31: IMAP core dumped after upgrade
...me"}, {key = 100 'd', value = 0x0, long_key = 0x7f16840b0938 "domain"}, { key = 104 'h', value = 0x0, long_key = 0x7f16840b06e4 "home"}, {key = 0 '\000', value = 0x0, long_key = 0x0}} tab = <value optimized out> new_ns = 0xd69960 ns = 0xd60660 ns_set = 0xd564f8 unexpanded_ns_set = <value optimized out> owner = 0xd712f0 domain = 0xd55607 "mydomain.it" username = 0xd315f0 "myuser2" userdomain = 0xd31600 "myuser2 at mydoma...
2006 Apr 15
2
[LLVMdev] Re: how to code a loop in llvm assembly
...gt; a few times, and writing some ll code, but i'm stuck at > a very basic point. How to decrement a counter variable ? > > int %count(int %n) { > EntryBlock: > %cond = seteq int %n, 0 > br bool %cond, label %Exit, label %Next > Next: > ; how to decrement n ? > %new_n = sub int %n, 1 > br label %EntryBlock > Exit: > ret int 0 > } > > I guess I could malloc a variable and use store/load. Is that the right way ? > > Also the above code is invalid: > Entry block to function must not have predecessors! > label %EntryBlock > Broke...