Searched refs:sdiv (Results 1 - 25 of 32) sorted by relevance

12

/openbsd-current/lib/libc/arch/sparc64/
H A DMakefile.inc4 # the name `div.o' is taken for the ANSI C `div' function, hence sdiv here
5 SRCS+= rem.S sdiv.S udiv.S urem.S
6 CLEANFILES+=rem.S sdiv.S udiv.S urem.S
8 sdiv.S: ${LIBCSRCDIR}/arch/sparc64/gen/divrem.m4
/openbsd-current/lib/libcrypto/bn/
H A Dbn_div.c241 BIGNUM *tmp, wnum, *snum, *sdiv, *res; local
281 if ((sdiv = BN_CTX_get(ctx)) == NULL)
290 if (!BN_lshift(sdiv, divisor, norm_shift))
292 sdiv->neg = 0;
300 * Since we don't know whether snum is larger than sdiv, we pad
303 if (snum->top <= sdiv->top + 1) {
304 if (!bn_wexpand(snum, sdiv->top + 2))
306 for (i = snum->top; i < sdiv->top + 2; i++)
308 snum->top = sdiv->top + 2;
317 div_n = sdiv
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/arm/
H A Dmodsi3.S34 sdiv r2, r0, r1
H A Ddivmodsi4.S37 sdiv r0, r3, r1
H A Ddivsi3.S37 sdiv r0, r0, r1
/openbsd-current/sys/arch/armv7/exynos/
H A Dexclock.c237 uint32_t kdiv, mdiv, pdiv, sdiv; local
280 sdiv = (reg >> 0) & 0x7;
285 freq = ((mdiv << 16) + kdiv) * freq / (pdiv * (1 << sdiv));
291 sdiv = (reg >> 0) & 0x7;
294 return mdiv * freq / (pdiv * (1 << sdiv));
/openbsd-current/gnu/gcc/gcc/config/sh/
H A Dlib1funcs-Os-4-200.asm156 sdiv small divisor, positive result: 59 cycles
157 sdiv large divisor, positive result: 56 cycles
158 sdiv small divisor, negative result: 65 cycles (*)
159 sdiv large divisor, negative result: 62 cycles (*)
/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DConstantRange.cpp889 return sdiv(Other);
1232 ConstantRange ConstantRange::sdiv(const ConstantRange &RHS) const {
1251 PosRes = ConstantRange(PosL.Lower.sdiv(PosR.Upper - 1),
1252 (PosL.Upper - 1).sdiv(PosR.Lower) + 1);
1261 APInt Lo = (NegL.Upper - 1).sdiv(NegR.Lower);
1275 ConstantRange(Lo, NegL.Lower.sdiv(AdjNegRUpper - 1) + 1));
1291 AdjNegLLower.sdiv(NegR.Upper - 1) + 1));
1295 ConstantRange(std::move(Lo), NegL.Lower.sdiv(NegR.Upper - 1) + 1));
1302 NegRes = ConstantRange((PosL.Upper - 1).sdiv(NegR.Upper - 1),
1303 PosL.Lower.sdiv(Neg
[all...]
H A DDataLayout.cpp924 APInt Index = Offset.sdiv(ElemSize);
H A DConstantFold.cpp1148 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V));
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/
H A DAPSInt.h139 *this = sdiv(RHS);
148 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
H A DAPInt.h63 /// of the operation. For example, sdiv and udiv. However, because the bit
958 APInt sdiv(const APInt &RHS) const;
959 APInt sdiv(int64_t RHS) const;
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DConstantRange.h453 ConstantRange sdiv(const ConstantRange &Other) const;
/openbsd-current/gnu/llvm/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp149 Temp = Temp.sdiv(D);
/openbsd-current/sys/arch/macppc/dev/
H A Di2s.c671 * SCLK = MCLK / sdiv
679 int clksrc, mdiv, sdiv; local
708 sdiv = mclk_fs / 64; /* 4 */
725 switch (sdiv) {
733 reg |= ((sdiv / 2 - 1) << 20) & 0x00f00000;
/openbsd-current/gnu/llvm/llvm/utils/vim/syntax/
H A Dllvm.vim34 syn keyword llvmStatement sdiv select sext sge sgt shl shufflevector sitofp
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1517 Q = Delta.sdiv(G);
1618 APInt TC = CM.sdiv(G);
1626 APInt TB = BM.sdiv(G);
1645 APInt TA = AM.sdiv(G);
2010 APInt TC = CM.sdiv(G);
2018 APInt TB = BM.sdiv(G);
2035 APInt TA = AM.sdiv(G);
3220 APInt CdivB = Charlie.sdiv(Beta);
3235 APInt CdivA = Charlie.sdiv(Alpha);
3249 APInt CdivA = Charlie.sdiv(Alph
[all...]
H A DValueTracking.cpp2225 // copying a sign bit (sdiv int_min, 2).
3128 // sdiv X, C -> adds log(C) sign bits.
7176 // 'sdiv x, -1' produces [INT_MIN + 1, INT_MAX]
7181 // 'sdiv x, C' produces [INT_MIN / C, INT_MAX / C]
7183 Lower = IntMin.sdiv(*C);
7184 Upper = IntMax.sdiv(*C);
7192 // 'sdiv INT_MIN, x' produces [INT_MIN, INT_MIN / -2].
7196 // 'sdiv C, x' produces [-|C|, |C|].
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp1642 APInt APInt::sdiv(const APInt &RHS) const {
1653 APInt APInt::sdiv(int64_t RHS) const {
1955 return sdiv(RHS);
1962 Overflow = Res.sdiv(RHS) != *this ||
2762 // Currently sdiv rounds towards zero.
2764 return A.sdiv(B);
/openbsd-current/gnu/gcc/gcc/
H A Dexpmed.c121 struct rtx_def sdiv; rtunion sdiv_fld1; member in struct:__anon266
165 PUT_CODE (&all.sdiv, DIV);
166 XEXP (&all.sdiv, 0) = &all.reg;
167 XEXP (&all.sdiv, 1) = &all.reg;
216 PUT_MODE (&all.sdiv, mode);
229 sdiv_cost[mode] = rtx_cost (&all.sdiv, SET);
/openbsd-current/gnu/llvm/llvm/lib/AsmParser/
H A DLLLexer.cpp450 /// Keyword sdiv, float, ...
836 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv);
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp315 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt()));
338 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt()));
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp754 // Additional macros to execute binary operations udiv/sdiv/urem/srem since
792 case Instruction::SDiv: INTEGER_VECTOR_FUNCTION(sdiv) break;
834 case Instruction::SDiv: R.IntVal = Src1.IntVal.sdiv(Src2.IntVal); break;
2077 case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break;
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp537 return C1.sdiv(C2);
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp797 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;

Completed in 607 milliseconds

12