Home
last modified time | relevance | path

Searched refs:intop (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlobject.c56 case LUA_OPADD: return intop(+, v1, v2); in intarith()
57 case LUA_OPSUB:return intop(-, v1, v2); in intarith()
58 case LUA_OPMUL:return intop(*, v1, v2); in intarith()
61 case LUA_OPBAND: return intop(&, v1, v2); in intarith()
62 case LUA_OPBOR: return intop(|, v1, v2); in intarith()
63 case LUA_OPBXOR: return intop(^, v1, v2); in intarith()
66 case LUA_OPUNM: return intop(-, 0, v1); in intarith()
67 case LUA_OPBNOT: return intop(^, ~l_castS2U(0), v1); in intarith()
H A Dlvm.h73 #define intop(op,v1,v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2)) macro
116 #define luaV_shiftr(x,y) luaV_shiftl(x,intop(-, 0, y))
H A Dlvm.c728 return intop(-, 0, m); /* n==-1; avoid overflow with 0x80000...//-1 */ in luaV_idiv()
779 else return intop(>>, x, -y); in luaV_shiftl()
783 else return intop(<<, x, y); in luaV_shiftl()
887 #define l_addi(L,a,b) intop(+, a, b)
888 #define l_subi(L,a,b) intop(-, a, b)
889 #define l_muli(L,a,b) intop(*, a, b)
890 #define l_band(a,b) intop(&, a, b)
891 #define l_bor(a,b) intop(|, a, b)
892 #define l_bxor(a,b) intop(^, a, b)
1552 setivalue(s2v(ra), intop(-, 0, ib)); in luaV_execute()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp4303 AtomicRMWInst::BinOp intop = mapFromLLVMRMWBinOp(op); in LLVMBuildAtomicRMW() local
4305 intop, unwrap(PTR), unwrap(Val), MaybeAlign(), in LLVMBuildAtomicRMW()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXIntrinsics.td6354 class PTX_READ_SREG_R64<string regname, Intrinsic intop, list<Predicate> Preds=[]>
6357 [(set Int64Regs:$d, (intop))]>,
6360 class PTX_READ_SREG_R32<string regname, Intrinsic intop, list<Predicate> Preds=[]>
6363 [(set Int32Regs:$d, (intop))]>,