Home
last modified time | relevance | path

Searched refs:sdiv (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/crypto/openssl/crypto/bn/
H A Dbn_div.c270 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 Di2s.c445 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 Dmodsi3.S34 sdiv r2, r0, r1
H A Ddivsi3.S37 sdiv r0, r0, r1
H A Ddivmodsi4.S37 sdiv r0, r3, r1
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp959 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 DDataLayout.cpp929 APInt Index = Offset.sdiv(ElemSize); in getElementIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h140 *this = sdiv(RHS);
149 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
H A DAPInt.h970 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 DKnownBits.cpp953 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 DAPInt.cpp1644 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 DProfileSummaryBuilder.cpp158 Temp = Temp.sdiv(D); in computeDetailedSummary()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoM.td82 def : PatGprGpr<sdiv, DIV>;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1536 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 DHashRecognize.cpp165 return KnownBits::sdiv(KnownL, KnownR); in computeBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips64r6InstrInfo.td67 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 DConstantRange.h479 LLVM_ABI ConstantRange sdiv(const ConstantRange &Other) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrArithmetic.td636 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 DIntegralAP.h266 R->copy(A.getValue().sdiv(B.getValue())); in div()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h394 LLVM_ABI static KnownBits sdiv(const KnownBits &LHS, const KnownBits &RHS,
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInteger.td56 defm DIV_S : BinaryInt<sdiv, "div_s", 0x6d, 0x7f>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DSelectionDAGCompat.td69 def : GINodeEquiv<G_SDIV, sdiv>;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp375 KBM[Expr] = KnownBits::sdiv(LHSKnown, RHSKnown); in binaryOpKnownBitsMapHelper()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp912 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv); in LexIdentifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstr64Bit.td187 defm SDIVX : F3_12<"sdivx", 0b101101, sdiv, I64Regs, i64, i64imm>;

123