Searched refs:GET_OPCODE (Results 1 – 17 of 17) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | lopcodes.h | 114 #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 D | lcode.c | 135 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 D | ldebug.c | 311 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 D | ljumptab.h | 16 #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
|
H A D | lvm.c | 825 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 D | luac.c | 341 OpCode o=GET_OPCODE(i); in PrintCode()
|
H A D | ltests.c | 679 OpCode o = GET_OPCODE(i); in buildop()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lvm.c | 488 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 D | lcode.c | 44 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 D | ldebug.c | 360 OpCode op = GET_OPCODE(i); in findsetreg() 415 OpCode op = GET_OPCODE(i); in getobjname() 464 switch (GET_OPCODE(i)) { in getfuncname()
|
H A D | lopcodes.h | 90 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
|
H A D | ldo.c | 332 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
|
/freebsd/sys/dev/tws/ |
H A D | tws_hdm.h | 181 #define GET_OPCODE(sgl_off__opcode) \ macro
|
H A D | tws_user.c | 141 if ( GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) == in tws_passthru()
|
H A D | tws_cam.c | 959 GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) != in tws_dmamap_data_load_cbfn()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 1756 opcode = GET_OPCODE(cpl); in reclaim_wr_resources()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_msg.h | 329 #define GET_OPCODE(cmd) ((cmd)->ot.opcode) macro
|