Home
last modified time | relevance | path

Searched refs:srem (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoM.td84 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 DRISCVInstrInfoVSDPatterns.td1078 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 DAPSInt.h132 *this = srem(RHS);
145 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
H A DAPInt.h989 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 DMips64r6InstrInfo.td70 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 DConstantRange.h489 LLVM_ABI ConstantRange srem(const ConstantRange &Other) const;
H A DVPIntrinsics.def166 // llvm.vp.srem(x,y,mask,vlen)
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSlowDynamicAPInt.cpp236 return SlowDynamicAPInt(Val.sext(Width).srem(O.Val.sext(Width))); in operator %()
H A DAPInt.cpp1736 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 DKnownBits.cpp1066 KnownBits KnownBits::srem(const KnownBits &LHS, const KnownBits &RHS) { in srem() function in KnownBits
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1491 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 DHashRecognize.cpp169 return KnownBits::srem(KnownL, KnownR); in computeBinOp()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegralAP.h258 R->copy(A.getValue().srem(B.getValue())); in rem()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h405 LLVM_ABI static KnownBits srem(const KnownBits &LHS, const KnownBits &RHS);
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrArithmetic.td656 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 DWebAssemblyInstrInteger.td58 defm REM_S : BinaryInt<srem, "rem_s", 0x6f, 0x81>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DSelectionDAGCompat.td71 def : GINodeEquiv<G_SREM, srem>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp963 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 DConstantFold.cpp824 return ConstantInt::get(C1->getType(), C1V.srem(C2V)); in ConstantFoldBinaryInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp428 KBM[Expr] = KnownBits::srem(LHSKnown, RHSKnown); in binaryOpKnownBitsMapHelper()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp913 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp1328 if (ConstInt.isSignedIntN(16) && ConstInt.srem(4) != 0) in runOnLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp936 ModOffset = ModOffset.srem(*Stride); in getStrideAndModOffsetOfGEP()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp758 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 DExecutionEngine.cpp810 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()

123