Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfoM.td69 def : PatGprGpr<srem, REM>;
89 // Although the sexti32 operands may not have originated from an i32 srem,
92 def : Pat<(srem (sexti32 GPR:$rs1), (sexti32 GPR:$rs2)),
94 def : Pat<(sext_inreg (srem (sexti32 GPR:$rs1),
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_arith_ll.ll325 %result = srem i32 %a, %b
333 %result.trunc = srem i8 %a.trunc, %b.trunc
341 %result.trunc = srem i16 %a.trunc, %b.trunc
349 %result = srem i32 %a, %b
357 %result = srem i64 %a, %b
365 %result = srem <4 x i32> %a, %b
373 %result = srem <8 x i16> %a, %b
381 %result = srem <16 x i8> %a, %b
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h121 *this = srem(RHS);
134 return IsUnsigned ? APSInt(urem(RHS), true) : APSInt(srem(RHS), false);
DAPInt.h1093 APInt srem(const APInt &RHS) const;
1094 int64_t srem(int64_t RHS) const;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.def46 X(Srem, "srem", 0) \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h914 APInt srem(const APInt &RHS) const;
1916 inline APInt srem(const APInt &LHS, const APInt &RHS) { return LHS.srem(RHS); } in srem() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h402 ConstantRange srem(const ConstantRange &Other) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips64r6InstrInfo.td70 class DMOD_DESC : DIVMOD_DESC_BASE<"dmod", GPR64Opnd, II_DMOD, srem>;
316 def : MipsPat<(i64 (sext (i32 (srem GPR32:$src, GPR32:$src2)))),
DMipsMSAInstrInfo.td2437 class MOD_S_B_DESC : MSA_3R_DESC_BASE<"mod_s.b", srem, MSA128BOpnd>;
2438 class MOD_S_H_DESC : MSA_3R_DESC_BASE<"mod_s.h", srem, MSA128HOpnd>;
2439 class MOD_S_W_DESC : MSA_3R_DESC_BASE<"mod_s.w", srem, MSA128WOpnd>;
2440 class MOD_S_D_DESC : MSA_3R_DESC_BASE<"mod_s.d", srem, MSA128DOpnd>;
DMips32r6InstrInfo.td554 class MOD_DESC : DIVMOD_DESC_BASE<"mod", GPR32Opnd, II_MOD, srem>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp1385 Remainder = Distance.srem(Two); in weakCrossingSIVtest()
1427 R = Delta.srem(G); in findGCD()
1664 return ConstDividend.srem(ConstDivisor) == 0; in isRemainderZero()
2405 APInt Remainder = ConstDelta.srem(RunningGCD); in gcdMIVtest()
2480 Remainder = ConstDelta.srem(RunningGCD); in gcdMIVtest()
3132 assert(Charlie.srem(Beta) == 0 && "C should be evenly divisible by B"); in propagateLine()
3147 assert(Charlie.srem(Alpha) == 0 && "C should be evenly divisible by A"); in propagateLine()
3161 assert(Charlie.srem(Alpha) == 0 && "C should be evenly divisible by A"); in propagateLine()
DScalarEvolutionExpander.cpp272 Remainder, SE.getConstant(C->getAPInt().srem(FC->getAPInt()))); in FactorOutConstant()
285 if (!C->getAPInt().srem(FC->getAPInt())) { in FactorOutConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp383 return C1.srem(C2); in ConstantFoldBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/GlobalISel/
DSelectionDAGCompat.td62 def : GINodeEquiv<G_SREM, srem>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInteger.td58 defm REM_S : BinaryInt<srem, "rem_s", 0x6f, 0x81>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp794 return srem(Other); in binaryOp()
1150 ConstantRange ConstantRange::srem(const ConstantRange &RHS) const { in srem() function in ConstantRange
DConstantFold.cpp1272 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V)); in ConstantFoldBinaryInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp839 if (ConstInt.isSignedIntN(16) && ConstInt.srem(4) != 0) in runOnLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp792 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator()
834 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator()
2084 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break; in getConstantExprValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp1764 APInt APInt::srem(const APInt &RHS) const { in srem() function in APInt
1775 int64_t APInt::srem(int64_t RHS) const { in srem() function in APInt
2952 C = C.srem(R); in SolveQuadraticEquationWrap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.cpp847 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp805 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DREADME.txt1588 %382 = srem i32 %tmp14.i, 64 ; [#uses=1]
1593 The srem can be transformed to an and because if %tmp14.i is negative, the
2263 %4 = srem i32 %A, %B
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1887 APInt APInt::srem(const APInt &RHS) const { in srem() function in APInt
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreInstrInfo.td461 def REMS_l3r : FL3R<0b110001100, "rems", srem>;

12