Home
last modified time | relevance | path

Searched refs:SRem (Results 1 – 25 of 198) sorted by relevance

12345678

/external/llvm-project/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp65 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() local
70 return SRem; in generateSignedRemainderCode()
376 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder()
388 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder()
486 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits()
511 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits()
535 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits()
559 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
DBypassSlowDivision.cpp94 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp()
118 case Instruction::SRem: in FastDivInsertionTask()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp65 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() local
70 return SRem; in generateSignedRemainderCode()
376 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder()
388 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder()
486 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits()
511 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits()
535 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits()
559 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
DBypassSlowDivision.cpp94 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp()
118 case Instruction::SRem: in FastDivInsertionTask()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp66 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() local
71 return SRem; in generateSignedRemainderCode()
377 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder()
389 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder()
487 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits()
512 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits()
536 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits()
560 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
DBypassSlowDivision.cpp223 bool UseRemOp = Opcode == Instruction::SRem || Opcode == Instruction::URem; in bypassSlowDivision()
225 Opcode == Instruction::SRem; in bypassSlowDivision()
/external/llvm-project/mlir/test/Dialect/SPIRV/
Darithmetic-ops.mlir189 // spv.SRem
193 // CHECK: spv.SRem
194 %0 = spv.SRem %arg, %arg : i32
/external/llvm-project/polly/lib/Support/
DSCEVValidator.cpp420 ValidatorResult visitSRemInstruction(Instruction *SRem, const SCEV *S) { in visitSRemInstruction()
421 assert(SRem->getOpcode() == Instruction::SRem && in visitSRemInstruction()
424 auto *Divisor = SRem->getOperand(1); in visitSRemInstruction()
427 return visitGenericInst(SRem, S); in visitSRemInstruction()
429 auto *Dividend = SRem->getOperand(0); in visitSRemInstruction()
455 case Instruction::SRem: in visitUnknown()
595 if (!Inst || (Inst->getOpcode() != Instruction::SRem && in follow()
DSCEVAffinator.cpp523 PWACtx SCEVAffinator::visitSRemInstruction(Instruction *SRem) { in visitSRemInstruction() argument
524 assert(SRem->getOpcode() == Instruction::SRem && "Assumed SRem instruction!"); in visitSRemInstruction()
527 auto *Divisor = SRem->getOperand(1); in visitSRemInstruction()
533 auto *Dividend = SRem->getOperand(0); in visitSRemInstruction()
547 case Instruction::SRem: in visitUnknown()
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/
Darithmetic-ops.mlir80 // CHECK: {{%.*}} = spv.SRem {{%.*}}, {{%.*}} : vector<4xi32>
81 %0 = spv.SRem %arg0, %arg1 : vector<4xi32>
/external/llvm-project/mlir/test/Conversion/SPIRVToLLVM/
Darithmetic-ops-to-llvm.mlir220 // spv.SRem
226 %0 = spv.SRem %arg0, %arg1 : i32
233 %0 = spv.SRem %arg0, %arg1 : vector<4xi32>
/external/llvm-project/llvm/unittests/Transforms/Utils/
DIntegerDivisionTest.cpp82 TEST(IntegerDivision, SRem) { in TEST() argument
101 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST()
222 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST()
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp83 TEST(IntegerDivision, SRem) { in TEST() argument
102 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST()
223 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp106 case Instruction::SRem: in isRemExpanded()
134 else if (I.getOpcode() == Instruction::SRem) in getWorklist()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp108 case Instruction::SRem: in isRemExpanded()
137 else if (I.getOpcode() == Instruction::SRem) in getWorklist()
DCorrelatedValuePropagation.cpp622 Instr->getOpcode() == Instruction::SRem); in narrowSDivOrSRem()
717 assert(SDI->getOpcode() == Instruction::SRem); in processSRem()
826 Instr->getOpcode() == Instruction::SRem); in processSDivOrSRem()
834 if (Instr->getOpcode() == Instruction::SRem) in processSDivOrSRem()
998 case Instruction::SRem: in runImpl()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp270 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned()
341 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32()
1035 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32()
1045 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32()
1164 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64()
1194 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64()
1222 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
/external/llvm-project/polly/include/polly/Support/
DSCEVAffinator.h116 PWACtx visitSRemInstruction(llvm::Instruction *SRem);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp222 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned()
291 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32()
745 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32()
755 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32()
899 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h304 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop()
322 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp166 case Instruction::SRem: in getIntImmCost()
/external/llvm-project/llvm/lib/FuzzMutate/
DOperations.cpp24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps()
102 case Instruction::SRem: in binOpDescriptor()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps()
102 case Instruction::SRem: in binOpDescriptor()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVArithmeticOps.td480 def SPV_SRemOp : SPV_ArithmeticBinaryOp<"SRem", SPV_Integer, []> {
502 srem-op ::= ssa-id `=` `spv.SRem` ssa-use, ssa-use
508 %4 = spv.SRem %0, %1 : i32
509 %5 = spv.SRem %2, %3 : vector<4xi32>
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp94 LLVMOpcode = Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem; in DecodeBinaryOpcode()

12345678