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.c736 return intop(-, 0, m); /* n==-1; avoid overflow with 0x80000...//-1 */ in luaV_idiv()
787 else return intop(>>, x, -y); in luaV_shiftl()
791 else return intop(<<, x, y); in luaV_shiftl()
895 #define l_addi(L,a,b) intop(+, a, b)
896 #define l_subi(L,a,b) intop(-, a, b)
897 #define l_muli(L,a,b) intop(*, a, b)
898 #define l_band(a,b) intop(&, a, b)
899 #define l_bor(a,b) intop(|, a, b)
900 #define l_bxor(a,b) intop(^, a, b)
1553 setivalue(s2v(ra), intop(-, 0, ib)); in luaV_execute()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp4379 AtomicRMWInst::BinOp intop = mapFromLLVMRMWBinOp(op); in LLVMBuildAtomicRMW() local
4381 intop, unwrap(PTR), unwrap(Val), MaybeAlign(), in LLVMBuildAtomicRMW()
4391 AtomicRMWInst::BinOp intop = mapFromLLVMRMWBinOp(op); in LLVMBuildAtomicRMWSyncScope() local
4392 return wrap(unwrap(B)->CreateAtomicRMW(intop, unwrap(PTR), unwrap(Val), in LLVMBuildAtomicRMWSyncScope()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXIntrinsics.td4391 class PTX_READ_SREG_R64<string regname, Intrinsic intop, list<Predicate> Preds=[]>
4394 [(set i64:$d, (intop))]>,
4397 class PTX_READ_SREG_R32<string regname, Intrinsic intop, list<Predicate> Preds=[]>
4400 [(set i32:$d, (intop))]>,