Home
last modified time | relevance | path

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

/freebsd-13.1/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)
379 ((testOTMode(GET_OPCODE(i)) && GETARG_C(i) == 0) || \
380 GET_OPCODE(i) == OP_TAILCALL)
383 #define isIT(i) (testITMode(GET_OPCODE(i)) && GETARG_B(i) == 0)
H A Dlcode.c133 if (GET_OPCODE(*previous) == OP_LOADNIL) { /* previous is LOADNIL? */ in luaK_nil()
172 lua_assert(GET_OPCODE(*jmp) == OP_JMP); in fixjump()
244 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()
260 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()
888 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()
1090 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()
1091 GET_OPCODE(*pc) != OP_TEST); in negatecondition()
1105 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()
1628 if (GET_OPCODE(*ie2) == OP_CONCAT) { /* is 'e2' a concatenation? */ in codeconcat()
1777 if (GET_OPCODE(pc) != OP_JMP) in finaltarget()
[all …]
H A Dljumptab.h16 #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
H A Dldebug.c472 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg()
476 OpCode op = GET_OPCODE(i); in findsetreg()
539 OpCode op = GET_OPCODE(i); in getobjname()
607 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()
1163 vmdispatch (GET_OPCODE(i)) { in luaV_execute()
1471 lua_assert(OP_ADD <= GET_OPCODE(pi) && GET_OPCODE(pi) <= OP_SHR); in luaV_execute()
1758 lua_assert(GET_OPCODE(i) == OP_TFORCALL && ra == RA(i)); in luaV_execute()
1774 lua_assert(GET_OPCODE(i) == OP_TFORLOOP && ra == RA(i)); in luaV_execute()
H A Dluac.c342 OpCode o=GET_OPCODE(i); in PrintCode()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlvm.c488 OpCode op = GET_OPCODE(inst); in luaV_finishOp()
504 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
524 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp()
552 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i))
554 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \
556 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \
617 vmdispatch (GET_OPCODE(i)) { in luaV_execute()
627 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG); in luaV_execute()
827 lua_assert(GET_OPCODE(*((ci)->u.l.savedpc - 1)) == OP_CALL); in luaV_execute()
865 lua_assert(GET_OPCODE(i) == OP_TFORLOOP); in luaV_execute()
[all …]
H A Dlcode.c44 if (GET_OPCODE(*previous) == OP_LOADNIL) { in luaK_nil()
113 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()
127 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()
135 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()
185 lua_assert(GET_OPCODE(fs->f->code[list]) == OP_JMP && in luaK_patchclose()
602 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in invertjump()
603 GET_OPCODE(*pc) != OP_TEST); in invertjump()
611 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()
839 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.h90 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
H A Dldo.c317 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
/freebsd-13.1/sys/dev/twa/
H A Dtw_cl_intr.c304 GET_OPCODE(req->cmd_pkt-> in tw_cli_submit_pending_queue()
446 GET_OPCODE(cmd->res__opcode), in tw_cli_scsi_complete()
581 GET_OPCODE(cmd->res__opcode), cmd->status); in tw_cli_aen_callback()
H A Dtw_cl_fwif.h382 #define GET_OPCODE(sgl_off__opcode) \ macro
H A Dtw_cl_misc.c935 GET_OPCODE(cmd9k->res__opcode), in tw_cl_print_req_info()
960 GET_OPCODE(cmd7k->generic.sgl_off__opcode), in tw_cl_print_req_info()
H A Dtw_cl_io.c292 if ((opcode = GET_OPCODE(((TW_UINT8 *) in tw_cl_fw_passthru()
/freebsd-13.1/sys/dev/tws/
H A Dtws_hdm.h183 #define GET_OPCODE(sgl_off__opcode) \ macro
H A Dtws_user.c143 if ( GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) == in tws_passthru()
H A Dtws_cam.c961 GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) != in tws_dmamap_data_load_cbfn()
/freebsd-13.1/sys/dev/cxgbe/tom/
H A Dt4_tom.c1673 opcode = GET_OPCODE(cpl); in reclaim_wr_resources()
/freebsd-13.1/sys/dev/cxgbe/common/
H A Dt4_msg.h331 #define GET_OPCODE(cmd) ((cmd)->ot.opcode) macro