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.c135 if (GET_OPCODE(*previous) == OP_LOADNIL) { /* previous is LOADNIL? */ in luaK_nil()
174 lua_assert(GET_OPCODE(*jmp) == OP_JMP); in fixjump()
246 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()
262 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()
910 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()
1112 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()
1113 GET_OPCODE(*pc) != OP_TEST); in negatecondition()
1127 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()
1695 if (GET_OPCODE(*ie2) == OP_CONCAT) { /* is 'e2' a concatenation? */ in codeconcat()
1841 if (GET_OPCODE(pc) != OP_JMP) in finaltarget()
[all …]
H A Dldebug.c311 lua_assert(GET_OPCODE(p->code[0]) == OP_VARARGPREP); in collectvalidlines()
440 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg()
444 OpCode op = GET_OPCODE(i); in findsetreg()
508 OpCode op = GET_OPCODE(i); in basicgetobjname()
582 OpCode op = GET_OPCODE(i); in getobjname()
624 switch (GET_OPCODE(i)) { in funcnamefromcode()
H A Dljumptab.h16 #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
H A Dlvm.c825 OpCode op = GET_OPCODE(inst); in luaV_finishOp()
849 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
1188 vmdispatch (GET_OPCODE(i)) { in luaV_execute()
1523 lua_assert(OP_ADD <= GET_OPCODE(pi) && GET_OPCODE(pi) <= OP_SHR); in luaV_execute()
1823 lua_assert(GET_OPCODE(i) == OP_TFORCALL && ra == RA(i)); in luaV_execute()
1840 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.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))
553 #define RC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgR, base+GETARG_C(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()
[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.c360 OpCode op = GET_OPCODE(i); in findsetreg()
415 OpCode op = GET_OPCODE(i); in getobjname()
464 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.c332 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.c1756 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