Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/lua/src/
Dlobject.c86 case LUA_OPADD: return intop(+, v1, v2); in intarith()
87 case LUA_OPSUB:return intop(-, v1, v2); in intarith()
88 case LUA_OPMUL:return intop(*, v1, v2); in intarith()
91 case LUA_OPBAND: return intop(&, v1, v2); in intarith()
92 case LUA_OPBOR: return intop(|, v1, v2); in intarith()
93 case LUA_OPBXOR: return intop(^, v1, v2); in intarith()
96 case LUA_OPUNM: return intop(-, 0, v1); in intarith()
97 case LUA_OPBNOT: return intop(^, ~l_castS2U(0), v1); in intarith()
Dlvm.c556 return intop(-, 0, m); /* n==-1; avoid overflow with 0x80000...//-1 */ in luaV_div()
596 else return intop(>>, x, -y); in luaV_shiftl()
600 else return intop(<<, x, y); in luaV_shiftl()
895 setivalue(ra, intop(+, ib, ic)); in luaV_execute()
909 setivalue(ra, intop(-, ib, ic)); in luaV_execute()
923 setivalue(ra, intop(*, ib, ic)); in luaV_execute()
946 setivalue(ra, intop(&, ib, ic)); in luaV_execute()
956 setivalue(ra, intop(|, ib, ic)); in luaV_execute()
966 setivalue(ra, intop(^, ib, ic)); in luaV_execute()
1036 setivalue(ra, intop(-, 0, ib)); in luaV_execute()
[all …]
Dlvm.h46 #define intop(op,v1,v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2)) macro
/freebsd-12-stable/contrib/gcc/
Dc-common.c2444 pointer_int_sum (enum tree_code resultcode, tree ptrop, tree intop) in pointer_int_sum() argument
2484 if ((TREE_CODE (intop) == PLUS_EXPR || TREE_CODE (intop) == MINUS_EXPR) in pointer_int_sum()
2485 && !TREE_CONSTANT (intop) in pointer_int_sum()
2486 && TREE_CONSTANT (TREE_OPERAND (intop, 1)) in pointer_int_sum()
2490 && TREE_CODE (TREE_TYPE (TREE_OPERAND (intop, 0))) == INTEGER_TYPE in pointer_int_sum()
2494 && (!TYPE_UNSIGNED (TREE_TYPE (intop)) in pointer_int_sum()
2495 || (TYPE_PRECISION (TREE_TYPE (intop)) in pointer_int_sum()
2499 tree int_type = TREE_TYPE (intop); in pointer_int_sum()
2500 if (TREE_CODE (intop) == MINUS_EXPR) in pointer_int_sum()
2506 convert (int_type, TREE_OPERAND (intop, 1)), 1); in pointer_int_sum()
[all …]
DFSFChangeLog.105790 * c-typeck.c (pointer_int_sum): Don't distribute if intop is unsigned
/freebsd-12-stable/contrib/gcc/cp/
Dtypeck.c3902 cp_pointer_int_sum (enum tree_code resultcode, tree ptrop, tree intop) in cp_pointer_int_sum() argument
3914 fold_if_not_in_template (intop)); in cp_pointer_int_sum()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DCore.cpp3997 AtomicRMWInst::BinOp intop = mapFromLLVMRMWBinOp(op); in LLVMBuildAtomicRMW() local
3999 intop, unwrap(PTR), unwrap(Val), MaybeAlign(), in LLVMBuildAtomicRMW()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td7478 class PTX_READ_SREG_R64<string regname, Intrinsic intop>
7481 [(set Int64Regs:$d, (intop))]>;
7483 class PTX_READ_SREG_R32<string regname, Intrinsic intop>
7486 [(set Int32Regs:$d, (intop))]>;