| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_div.c | 270 BIGNUM *tmp, *snum, *sdiv, *res; in bn_div_fixed_top() local 286 sdiv = BN_CTX_get(ctx); in bn_div_fixed_top() 287 if (sdiv == NULL) in bn_div_fixed_top() 291 if (!BN_copy(sdiv, divisor)) in bn_div_fixed_top() 293 norm_shift = bn_left_align(sdiv); in bn_div_fixed_top() 294 sdiv->neg = 0; in bn_div_fixed_top() 305 div_n = sdiv->top; in bn_div_fixed_top() 325 d0 = sdiv->d[div_n - 1]; in bn_div_fixed_top() 326 d1 = (div_n == 1) ? 0 : sdiv->d[div_n - 2]; in bn_div_fixed_top() 424 l0 = bn_mul_words(tmp->d, sdiv->d, div_n, q); in bn_div_fixed_top() [all …]
|
| /freebsd/sys/dev/sound/macio/ |
| H A D | i2s.c | 445 u_int mclk, mdiv, sdiv; in i2s_setup() local 462 sdiv = MCLK_FS / sclk_fs; in i2s_setup() 491 switch (sdiv) { in i2s_setup() 499 x = (sdiv / 2) - 1; in i2s_setup()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
| H A D | modsi3.S | 34 sdiv r2, r0, r1
|
| H A D | divsi3.S | 37 sdiv r0, r0, r1
|
| H A D | divmodsi4.S | 37 sdiv r0, r3, r1
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 959 return sdiv(Other); in binaryOp() 1368 ConstantRange ConstantRange::sdiv(const ConstantRange &RHS) const { in sdiv() function in ConstantRange 1381 PosRes = ConstantRange(PosL.Lower.sdiv(PosR.Upper - 1), in sdiv() 1382 (PosL.Upper - 1).sdiv(PosR.Lower) + 1); in sdiv() 1391 APInt Lo = (NegL.Upper - 1).sdiv(NegR.Lower); in sdiv() 1405 ConstantRange(Lo, NegL.Lower.sdiv(AdjNegRUpper - 1) + 1)); in sdiv() 1421 AdjNegLLower.sdiv(NegR.Upper - 1) + 1)); in sdiv() 1425 ConstantRange(std::move(Lo), NegL.Lower.sdiv(NegR.Upper - 1) + 1)); in sdiv() 1432 NegRes = ConstantRange((PosL.Upper - 1).sdiv(NegR.Upper - 1), in sdiv() 1433 PosL.Lower.sdiv(NegR.Lower) + 1); in sdiv() [all …]
|
| H A D | DataLayout.cpp | 929 APInt Index = Offset.sdiv(ElemSize); in getElementIndex()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 140 *this = sdiv(RHS); 149 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
|
| H A D | APInt.h | 970 LLVM_ABI APInt sdiv(const APInt &RHS) const; 971 LLVM_ABI APInt sdiv(int64_t RHS) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 953 KnownBits KnownBits::sdiv(const KnownBits &LHS, const KnownBits &RHS, in sdiv() function in KnownBits 978 : Num.sdiv(Denom); in sdiv() 984 Res = Denom.isZero() ? Num : Num.sdiv(Denom); in sdiv() 991 Res = Num.sdiv(Denom); in sdiv()
|
| H A D | APInt.cpp | 1644 APInt APInt::sdiv(const APInt &RHS) const { in sdiv() function in APInt 1655 APInt APInt::sdiv(int64_t RHS) const { in sdiv() function in APInt 1957 return sdiv(RHS); in sdiv_ov() 1964 Overflow = Res.sdiv(RHS) != *this || in smul_ov() 2806 return A.sdiv(B); in RoundingSDiv()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 158 Temp = Temp.sdiv(D); in computeDetailedSummary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoM.td | 82 def : PatGprGpr<sdiv, DIV>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 1536 Q = Delta.sdiv(G); in findGCD() 1637 APInt TC = CM.sdiv(G); in exactSIVtest() 1645 APInt TB = BM.sdiv(G); in exactSIVtest() 1664 APInt TA = AM.sdiv(G); in exactSIVtest() 2029 APInt TC = CM.sdiv(G); in exactRDIVtest() 2037 APInt TB = BM.sdiv(G); in exactRDIVtest() 2054 APInt TA = AM.sdiv(G); in exactRDIVtest() 3230 APInt CdivB = Charlie.sdiv(Beta); in propagateLine() 3245 APInt CdivA = Charlie.sdiv(Alpha); in propagateLine() 3259 APInt CdivA = Charlie.sdiv(Alpha); in propagateLine()
|
| H A D | HashRecognize.cpp | 165 return KnownBits::sdiv(KnownL, KnownR); in computeBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips64r6InstrInfo.td | 67 class DDIV_DESC : DIVMOD_DESC_BASE<"ddiv", GPR64Opnd, II_DDIV, sdiv>; 310 def : MipsPat<(i64 (sext (i32 (sdiv GPR32:$src, GPR32:$src2)))),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 479 LLVM_ABI ConstantRange sdiv(const ConstantRange &Other) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrArithmetic.td | 636 def SDIVd32d32 : MxDiMuOp_DD_Long<"divs.l", sdiv, 0x131, /*SIGNED*/true>; 646 def : Pat<(sdiv i8:$dst, i8:$opd), 667 def : Pat<(sdiv i16:$dst, i16:$opd), 688 def : Pat<(sdiv i8:$dst, Mxi8immSExt8:$opd), 709 def : Pat<(sdiv i16:$dst, Mxi16immSExt16:$opd),
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 266 R->copy(A.getValue().sdiv(B.getValue())); in div()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 394 LLVM_ABI static KnownBits sdiv(const KnownBits &LHS, const KnownBits &RHS,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInteger.td | 56 defm DIV_S : BinaryInt<sdiv, "div_s", 0x6d, 0x7f>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
| H A D | SelectionDAGCompat.td | 69 def : GINodeEquiv<G_SDIV, sdiv>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCExpr.cpp | 375 KBM[Expr] = KnownBits::sdiv(LHSKnown, RHSKnown); in binaryOpKnownBitsMapHelper()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 912 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv); in LexIdentifier()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcInstr64Bit.td | 187 defm SDIVX : F3_12<"sdivx", 0b101101, sdiv, I64Regs, i64, i64imm>;
|