MCPcopy
hub / github.com/sql-js/sql.js / _llvm_cttz_i32

Function _llvm_cttz_i32

js/sql-debug.js:397408–397418  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

397406 return ((tempRet0 = h,l|0)|0);
397407}
397408function _llvm_cttz_i32(x) {
397409 x = x|0;
397410 var ret = 0;
397411 ret = ((HEAP8[(((cttz_i8)+(x & 0xff))>>0)])|0);
397412 if ((ret|0) < 8) return ret|0;
397413 ret = ((HEAP8[(((cttz_i8)+((x >> 8)&0xff))>>0)])|0);
397414 if ((ret|0) < 8) return (ret + 8)|0;
397415 ret = ((HEAP8[(((cttz_i8)+((x >> 16)&0xff))>>0)])|0);
397416 if ((ret|0) < 8) return (ret + 16)|0;
397417 return (((HEAP8[(((cttz_i8)+(x >>> 24))>>0)])|0) + 24)|0;
397418}
397419function ___udivmoddi4($a$0, $a$1, $b$0, $b$1, $rem) {
397420 $a$0 = $a$0 | 0;
397421 $a$1 = $a$1 | 0;

Callers 1

___udivmoddi4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…