| /freebsd/sys/libkern/ |
| H A D | divmoddi4.c | 44 u_quad_t ua, ub, uq, urem; in __divmoddi4() local 61 uq = __qdivrem(ua, ub, &urem); in __divmoddi4() 63 *rem = negr ? -urem : urem; in __divmoddi4()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DivisionByConstantInfo.cpp | 33 APInt ANC = T - 1 - T.urem(AD); // absolute value of NC in get() 88 APInt NC = AllOnes - (AllOnes + 1 - D).urem(D); in get() 89 assert(NC.urem(D) == D - 1 && "Unexpected NC value"); in get()
|
| H A D | APInt.cpp | 1133 rot = rot.urem(APInt(rot.getBitWidth(), BitWidth)); in rotateModulo() 1666 APInt APInt::urem(const APInt &RHS) const { in urem() function in APInt 1704 uint64_t APInt::urem(uint64_t RHS) const { in urem() function in APInt 1739 return -((-(*this)).urem(-RHS)); in srem() 1740 return -((-(*this)).urem(RHS)); in srem() 1743 return this->urem(-RHS); in srem() 1744 return this->urem(RHS); in srem() 1750 return -((-(*this)).urem(-RHS)); in srem() 1751 return -((-(*this)).urem(RHS)); in srem() 1754 return this->urem(-RHS); in srem() [all …]
|
| H A D | KnownBits.cpp | 1049 KnownBits KnownBits::urem(const KnownBits &LHS, const KnownBits &RHS) { in urem() function in KnownBits
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 351 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask() 362 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask() 365 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUImageIntrinsicOptimizer.cpp | 256 VecOp = B.CreateExtractElement(NewCalls[0], Idx->getValue().urem(4)); in optimizeSection() 263 B.CreateExtractElement(NewCalls[I], Idx->getValue().urem(4)), I); in optimizeSection()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 130 *this = urem(RHS); 145 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
|
| H A D | APInt.h | 980 LLVM_ABI APInt urem(const APInt &RHS) const; 981 LLVM_ABI uint64_t urem(uint64_t RHS) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 94 !Offset.urem(APInt(Offset.getBitWidth(), Alignment.value())) in isDereferenceableAndAlignedPointer() 320 if (EltSize.urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop() 382 if (Offset->getAPInt().urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop()
|
| H A D | DemandedBits.cpp | 128 uint64_t ShiftAmt = SA->urem(BitWidth); in determineLiveOperandBits()
|
| H A D | HashRecognize.cpp | 167 return KnownBits::urem(KnownL, KnownR); in computeBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | EVLIndVarSimplify.cpp | 89 V.urem(*Fixed).isZero()) in getVFFromIndVar()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoM.td | 85 def : PatGprGpr<urem, REMU>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips64r6InstrInfo.td | 71 class DMODU_DESC : DIVMOD_DESC_BASE<"dmodu", GPR64Opnd, II_DMODU, urem>; 319 def : MipsPat<(i64 (sext (i32 (urem GPR32:$src, GPR32:$src2)))),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 484 LLVM_ABI ConstantRange urem(const ConstantRange &Other) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 908 .urem(Form); in prepareBaseForDispFormChain() 1034 .urem(4) && in rewriteLoadStores() 1260 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 317 if (Imm != 0 && Imm.urem(ShiftWidth) == 0) in selectShiftMask() 322 if (Imm != 0 && Imm.urem(ShiftWidth) == 0) { in selectShiftMask() 333 if (Imm.urem(ShiftWidth) == ShiftWidth - 1) { in selectShiftMask()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 260 R->copy(A.getValue().urem(B.getValue())); in rem()
|
| H A D | InterpBuiltin.cpp | 718 Result = APSInt(Value.rotr(Amount.urem(Value.getBitWidth())), in interp__builtin_rotate() 721 Result = APSInt(Value.rotl(Amount.urem(Value.getBitWidth())), in interp__builtin_rotate() 1809 if (Size.urem(DestElemSize) != 0) { in interp__builtin_memcpy()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 402 LLVM_ABI static KnownBits urem(const KnownBits &LHS, const KnownBits &RHS);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrArithmetic.td | 661 def : Pat<(urem i8:$dst, i8:$opd), 682 def : Pat<(urem i16:$dst, i16:$opd), 703 def : Pat<(urem i8:$dst, Mxi8immSExt8:$opd), 724 def : Pat<(urem i16:$dst, Mxi16immSExt16:$opd),
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInteger.td | 59 defm REM_U : BinaryInt<urem, "rem_u", 0x70, 0x82>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
| H A D | SelectionDAGCompat.td | 72 def : GINodeEquiv<G_UREM, urem>;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 961 return urem(Other); in binaryOp() 1450 ConstantRange ConstantRange::urem(const ConstantRange &RHS) const { in urem() function in ConstantRange 1460 return {LHSInt->urem(*RHSInt)}; in urem()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 913 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
|