/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 | 1103 rot = rot.urem(APInt(rot.getBitWidth(), BitWidth)); in rotateModulo() 1636 APInt APInt::urem(const APInt &RHS) const { in urem() function in APInt 1674 uint64_t APInt::urem(uint64_t RHS) const { in urem() function in APInt 1709 return -((-(*this)).urem(-RHS)); in srem() 1710 return -((-(*this)).urem(RHS)); in srem() 1713 return this->urem(-RHS); in srem() 1714 return this->urem(RHS); in srem() 1720 return -((-(*this)).urem(-RHS)); in srem() 1721 return -((-(*this)).urem(RHS)); in srem() 1724 return this->urem(-RHS); in srem() [all …]
|
H A D | KnownBits.cpp | 1042 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 | 257 VecOp = B.CreateExtractElement(NewCalls[0], Idx->getValue().urem(4)); in optimizeSection() 264 B.CreateExtractElement(NewCalls[I], Idx->getValue().urem(4)), I); in optimizeSection()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoM.td | 80 def : PatGprGpr<urem, REMU>; 130 def : PatGprGpr<urem, REMUW, i32, i32>;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 129 *this = urem(RHS); 144 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
|
H A D | APInt.h | 960 APInt urem(const APInt &RHS) const; 961 uint64_t urem(uint64_t RHS) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Loads.cpp | 61 !Offset.urem(APInt(Offset.getBitWidth(), Alignment.value())) in isDereferenceableAndAlignedPointer() 326 if (Offset->getAPInt().urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop() 342 if (EltSize.urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop()
|
H A D | DemandedBits.cpp | 130 uint64_t ShiftAmt = SA->urem(BitWidth); in determineLiveOperandBits()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 475 ConstantRange urem(const ConstantRange &Other) const;
|
/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/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 917 .urem(Form); in prepareBaseForDispFormChain() 1043 .urem(4) && in rewriteLoadStores() 1269 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 375 static KnownBits urem(const KnownBits &LHS, const KnownBits &RHS);
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | IntegralAP.h | 213 *R = IntegralAP(A.V.urem(B.V)); in rem()
|
H A D | InterpBuiltin.cpp | 587 Result = APSInt(Value.rotr(Amount.urem(Value.getBitWidth())), in interp__builtin_rotate() 590 Result = APSInt(Value.rotl(Amount.urem(Value.getBitWidth())), in interp__builtin_rotate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 210 if (Imm != 0 && Imm.urem(ShiftWidth) == 0) in selectShiftMask() 215 if (Imm != 0 && Imm.urem(ShiftWidth) == 0) { in selectShiftMask() 226 if (Imm.urem(ShiftWidth) == ShiftWidth - 1) { in selectShiftMask()
|
/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 | 71 def : GINodeEquiv<G_UREM, urem>;
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 950 return urem(Other); in binaryOp() 1432 ConstantRange ConstantRange::urem(const ConstantRange &RHS) const { in urem() function in ConstantRange 1442 return {LHSInt->urem(*RHSInt)}; in urem()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 863 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 1372 if (!VRegAndVal || VRegAndVal->Value.urem(BitWidth) == 0) in legalizeFunnelShift() 1376 APInt Amount = VRegAndVal->Value.urem(BitWidth); in legalizeFunnelShift()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 757 case Instruction::URem: INTEGER_VECTOR_FUNCTION(urem) break; in visitBinaryOperator() 799 case Instruction::URem: R.IntVal = Src1.IntVal.urem(Src2.IntVal); break; in visitBinaryOperator()
|