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

12

/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_div.c194 BIGNUM *tmp, wnum, *snum, *sdiv, *res; local
246 sdiv = BN_CTX_get(ctx);
251 if (sdiv == NULL || res == NULL || tmp == NULL || snum == NULL)
256 if (!(BN_lshift(sdiv, divisor, norm_shift)))
258 sdiv->neg = 0;
266 * Since we don't know whether snum is larger than sdiv, we pad snum
269 if (snum->top <= sdiv->top + 1) {
270 if (bn_wexpand(snum, sdiv->top + 2) == NULL)
272 for (i = snum->top; i < sdiv->top + 2; i++)
274 snum->top = sdiv
[all...]
/freebsd-11-stable/contrib/llvm-project/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
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp78 Temp = Temp.sdiv(D);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp790 return sdiv(Other);
1052 ConstantRange ConstantRange::sdiv(const ConstantRange &RHS) const {
1068 PosRes = ConstantRange(PosL.Lower.sdiv(PosR.Upper - 1),
1069 (PosL.Upper - 1).sdiv(PosR.Lower) + 1);
1078 APInt Lo = (NegL.Upper - 1).sdiv(NegR.Lower);
1092 ConstantRange(Lo, NegL.Lower.sdiv(AdjNegRUpper - 1) + 1));
1108 AdjNegLLower.sdiv(NegR.Upper - 1) + 1));
1112 ConstantRange(std::move(Lo), NegL.Lower.sdiv(NegR.Upper - 1) + 1));
1119 NegRes = ConstantRange((PosL.Upper - 1).sdiv(NegR.Upper - 1),
1120 PosL.Lower.sdiv(Neg
[all...]
H A DConstantFold.cpp1264 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V));
/freebsd-11-stable/sys/dev/sound/macio/
H A Di2s.c451 u_int mclk, mdiv, sdiv; local
468 sdiv = MCLK_FS / sclk_fs;
497 switch (sdiv) {
505 x = (sdiv / 2) - 1;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h129 *this = sdiv(RHS);
138 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
H A DAPInt.h62 /// of the operation. For example, sdiv and udiv. However, because the bit
1075 APInt sdiv(const APInt &RHS) const;
1076 APInt sdiv(int64_t RHS) const;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h392 ConstantRange sdiv(const ConstantRange &Other) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp375 return C1.sdiv(C2);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1430 Q = Delta.sdiv(G);
1543 APInt TMUL = BM.sdiv(G);
1562 TMUL = AM.sdiv(G);
1951 APInt TMUL = BM.sdiv(G);
1970 TMUL = AM.sdiv(G);
3131 APInt CdivB = Charlie.sdiv(Beta);
3146 APInt CdivA = Charlie.sdiv(Alpha);
3160 APInt CdivA = Charlie.sdiv(Alpha);
H A DScalarEvolutionExpander.cpp264 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt()));
287 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt()));
H A DValueTracking.cpp1912 // copying a sign bit (sdiv int_min, 2).
2502 // sdiv X, C -> adds log(C) sign bits.
5694 // 'sdiv x, -1' produces [INT_MIN + 1, INT_MAX]
5699 // 'sdiv x, C' produces [INT_MIN / C, INT_MAX / C]
5701 Lower = IntMin.sdiv(*C);
5702 Upper = IntMax.sdiv(*C);
5710 // 'sdiv INT_MIN, x' produces [INT_MIN, INT_MIN / -2].
5714 // 'sdiv C, x' produces [-|C|, |C|].
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1672 APInt APInt::sdiv(const APInt &RHS) const {
1683 APInt APInt::sdiv(int64_t RHS) const {
1985 return sdiv(RHS);
1992 Overflow = Res.sdiv(RHS) != *this || Res.sdiv(*this) != RHS;
2858 // Currently sdiv rounds towards zero.
2860 return A.sdiv(B);
/freebsd-11-stable/contrib/gcc/
H A Dexpmed.c121 struct rtx_def sdiv; rtunion sdiv_fld1; member in struct:__anon1314
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);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp450 /// Keyword sdiv, float, ...
846 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp752 // Additional macros to execute binary operations udiv/sdiv/urem/srem since
790 case Instruction::SDiv: INTEGER_VECTOR_FUNCTION(sdiv) break;
832 case Instruction::SDiv: R.IntVal = Src1.IntVal.sdiv(Src2.IntVal); break;
2081 case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1488 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1500 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1556 APInt NumSkippedElements = Offset.sdiv(ElementSize);
H A DLoopStrengthReduce.cpp687 return SE.getConstant(LA.sdiv(RA));
690 // Distribute the sdiv over addrec operands, if the addrec doesn't overflow.
707 // Distribute the sdiv over add operands, if the add doesn't overflow.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp803 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp2176 result.m_integer = a->m_integer.sdiv(b->m_integer);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2366 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C;
/freebsd-11-stable/contrib/gcc/config/rs6000/
H A Drs6000.c283 const int sdiv; /* cost of SFmode division (fdivs). */
302 COSTS_N_INSNS (1), /* sdiv */
317 COSTS_N_INSNS (1), /* sdiv */
332 COSTS_N_INSNS (19), /* sdiv */
347 COSTS_N_INSNS (17), /* sdiv */
362 COSTS_N_INSNS (31), /* sdiv */
377 COSTS_N_INSNS (10), /* sdiv */
392 COSTS_N_INSNS (11), /* sdiv */
407 COSTS_N_INSNS (11), /* sdiv */
422 COSTS_N_INSNS (19), /* sdiv */
282 const int sdiv; /* cost of SFmode division (fdivs). */ member in struct:processor_costs
[all...]

Completed in 321 milliseconds

12