Home
last modified time | relevance | path

Searched refs:GET_OPCODE (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlopcodes.h114 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
118 #define checkopm(i,m) (getOpMode(GET_OPCODE(i)) == m)
392 ((testOTMode(GET_OPCODE(i)) && GETARG_C(i) == 0) || \
393 GET_OPCODE(i) == OP_TAILCALL)
396 #define isIT(i) (testITMode(GET_OPCODE(i)) && GETARG_B(i) == 0)
H A Dlcode.c134 if (GET_OPCODE(*previous) == OP_LOADNIL) { /* previous is LOADNIL? */ in luaK_nil()
173 lua_assert(GET_OPCODE(*jmp) == OP_JMP); in fixjump()
245 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()
261 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()
908 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()
1110 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()
1111 GET_OPCODE(*pc) != OP_TEST); in negatecondition()
1125 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()
1691 if (GET_OPCODE(*ie2) == OP_CONCAT) { /* is 'e2' a concatenation? */ in codeconcat()
1837 if (GET_OPCODE(pc) != OP_JMP) in finaltarget()
[all …]
H A Dljumptab.h16 #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
H A Dldebug.c307 lua_assert(GET_OPCODE(p->code[0]) == OP_VARARGPREP); in collectvalidlines()
469 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg()
473 OpCode op = GET_OPCODE(i); in findsetreg()
536 OpCode op = GET_OPCODE(i); in getobjname()
598 switch (GET_OPCODE(i)) { in funcnamefromcode()
H A Dlvm.c817 OpCode op = GET_OPCODE(inst); in luaV_finishOp()
841 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
1187 vmdispatch (GET_OPCODE(i)) { in luaV_execute()
1522 lua_assert(OP_ADD <= GET_OPCODE(pi) && GET_OPCODE(pi) <= OP_SHR); in luaV_execute()
1822 lua_assert(GET_OPCODE(i) == OP_TFORCALL && ra == RA(i)); in luaV_execute()
1839 lua_assert(GET_OPCODE(i) == OP_TFORLOOP && ra == RA(i)); in luaV_execute()
H A Dluac.c341 OpCode o=GET_OPCODE(i); in PrintCode()
H A Dltests.c679 OpCode o = GET_OPCODE(i); in buildop()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlvm.c487 OpCode op = GET_OPCODE(inst); in luaV_finishOp()
503 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
523 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp()
551 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i))
553 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \
555 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \
616 vmdispatch (GET_OPCODE(i)) { in luaV_execute()
626 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG); in luaV_execute()
826 lua_assert(GET_OPCODE(*((ci)->u.l.savedpc - 1)) == OP_CALL); in luaV_execute()
864 lua_assert(GET_OPCODE(i) == OP_TFORLOOP); in luaV_execute()
[all …]
H A Dlcode.c43 if (GET_OPCODE(*previous) == OP_LOADNIL) { in luaK_nil()
112 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()
126 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()
134 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()
184 lua_assert(GET_OPCODE(fs->f->code[list]) == OP_JMP && in luaK_patchclose()
601 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in invertjump()
602 GET_OPCODE(*pc) != OP_TEST); in invertjump()
610 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()
838 if (e2->k == VRELOCABLE && GET_OPCODE(getcode(fs, e2)) == OP_CONCAT) { in luaK_posfix()
H A Dldebug.c359 OpCode op = GET_OPCODE(i); in findsetreg()
414 OpCode op = GET_OPCODE(i); in getobjname()
463 switch (GET_OPCODE(i)) { in getfuncname()
H A Dlopcodes.h89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
H A Dldo.c331 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
/freebsd/sys/dev/tws/
H A Dtws_hdm.h181 #define GET_OPCODE(sgl_off__opcode) \ macro
H A Dtws_user.c141 if ( GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) == in tws_passthru()
H A Dtws_cam.c959 GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) != in tws_dmamap_data_load_cbfn()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c1769 opcode = GET_OPCODE(cpl); in reclaim_wr_resources()
/freebsd/sys/dev/cxgbe/common/
H A Dt4_msg.h329 #define GET_OPCODE(cmd) ((cmd)->ot.opcode) macro