| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoM.td | 84 def : PatGprGpr<srem, REM>; 107 // Although the sexti32 operands may not have originated from an i32 srem, 110 def : Pat<(srem (sexti32 (i64 GPR:$rs1)), (sexti32 (i64 GPR:$rs2))),
|
| H A D | RISCVInstrInfoVSDPatterns.td | 1078 defm : VPatBinarySDNode_VV_VX<srem, "PseudoVREM", isSEWAware=1>; 1088 (srem (wti.Vector (sext_oneuse (vti.Vector vti.RegClass:$rs1))),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 132 *this = srem(RHS); 145 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
|
| H A D | APInt.h | 989 LLVM_ABI APInt srem(const APInt &RHS) const; 990 LLVM_ABI int64_t srem(int64_t RHS) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips64r6InstrInfo.td | 70 class DMOD_DESC : DIVMOD_DESC_BASE<"dmod", GPR64Opnd, II_DMOD, srem>; 316 def : MipsPat<(i64 (sext (i32 (srem GPR32:$src, GPR32:$src2)))),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 489 LLVM_ABI ConstantRange srem(const ConstantRange &Other) const;
|
| H A D | VPIntrinsics.def | 166 // llvm.vp.srem(x,y,mask,vlen)
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SlowDynamicAPInt.cpp | 236 return SlowDynamicAPInt(Val.sext(Width).srem(O.Val.sext(Width))); in operator %()
|
| H A D | APInt.cpp | 1736 APInt APInt::srem(const APInt &RHS) const { in srem() function in APInt 1747 int64_t APInt::srem(int64_t RHS) const { in srem() function in APInt 2898 C = C.srem(R); in SolveQuadraticEquationWrap()
|
| H A D | KnownBits.cpp | 1066 KnownBits KnownBits::srem(const KnownBits &LHS, const KnownBits &RHS) { in srem() function in KnownBits
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 1491 Remainder = Distance.srem(Two); in weakCrossingSIVtest() 1533 R = Delta.srem(G); in findGCD() 1743 return ConstDividend.srem(ConstDivisor) == 0; in isRemainderZero() 2492 APInt Remainder = ConstDelta.srem(RunningGCD); in gcdMIVtest() 2566 Remainder = ConstDelta.srem(RunningGCD); in gcdMIVtest() 3231 assert(Charlie.srem(Beta) == 0 && "C should be evenly divisible by B"); in propagateLine() 3246 assert(Charlie.srem(Alpha) == 0 && "C should be evenly divisible by A"); in propagateLine() 3260 assert(Charlie.srem(Alpha) == 0 && "C should be evenly divisible by A"); in propagateLine()
|
| H A D | HashRecognize.cpp | 169 return KnownBits::srem(KnownL, KnownR); in computeBinOp()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 258 R->copy(A.getValue().srem(B.getValue())); in rem()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 405 LLVM_ABI static KnownBits srem(const KnownBits &LHS, const KnownBits &RHS);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrArithmetic.td | 656 def : Pat<(srem i8:$dst, i8:$opd), 677 def : Pat<(srem i16:$dst, i16:$opd), 698 def : Pat<(srem i8:$dst, Mxi8immSExt8:$opd), 719 def : Pat<(srem i16:$dst, Mxi16immSExt16:$opd),
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInteger.td | 58 defm REM_S : BinaryInt<srem, "rem_s", 0x6f, 0x81>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
| H A D | SelectionDAGCompat.td | 71 def : GINodeEquiv<G_SREM, srem>;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 963 return srem(Other); in binaryOp() 1472 ConstantRange ConstantRange::srem(const ConstantRange &RHS) const { in srem() function in ConstantRange 1482 return {LHSInt->srem(*RHSInt)}; in srem()
|
| H A D | ConstantFold.cpp | 824 return ConstantInt::get(C1->getType(), C1V.srem(C2V)); in ConstantFoldBinaryInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCExpr.cpp | 428 KBM[Expr] = KnownBits::srem(LHSKnown, RHSKnown); in binaryOpKnownBitsMapHelper()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 913 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 1328 if (ConstInt.isSignedIntN(16) && ConstInt.srem(4) != 0) in runOnLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 936 ModOffset = ModOffset.srem(*Stride); in getStrideAndModOffsetOfGEP()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 758 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator() 800 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 810 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|