| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 66 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()
|
| H A D | BypassSlowDivision.cpp | 95 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp() 119 case Instruction::SRem: in FastDivInsertionTask()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 204 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 273 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32() 614 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 624 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 765 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | DivRemPairs.cpp | 66 else if (I.getOpcode() == Instruction::SRem) in optimizeDivRem()
|
| H A D | CorrelatedValuePropagation.cpp | 714 case Instruction::SRem: in runImpl()
|
| H A D | GVNSink.cpp | 455 case Instruction::SRem: in lookupOrAdd()
|
| /freebsd-12.1/contrib/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 25 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps() 103 case Instruction::SRem: in binOpDescriptor()
|
| /freebsd-12.1/contrib/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 96 case Instruction::SRem: in createReplacementInstr()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 2636 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant() 3323 BinaryOperator *SRem = nullptr; in foldICmpBinOp() local 3326 SRem = BO0; in foldICmpBinOp() 3328 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp() 3330 SRem = BO1; in foldICmpBinOp() 3331 if (SRem) { in foldICmpBinOp() 3334 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) { in foldICmpBinOp() 3343 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1), in foldICmpBinOp() 3344 Constant::getAllOnesValue(SRem->getType())); in foldICmpBinOp() 3347 return new ICmpInst(ICmpInst::ICMP_SLT, SRem->getOperand(1), in foldICmpBinOp() [all …]
|
| H A D | InstCombineInternal.h | 237 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop() 254 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
|
| H A D | InstCombineVectorOps.cpp | 983 case Instruction::SRem: in canEvaluateShuffled() 1053 case Instruction::SRem: in buildNew() 1151 case Instruction::SRem: in evaluateInDifferentElementOrder()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Instruction.h | 154 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
| H A D | Instruction.def | 157 HANDLE_BINARY_INST(22, SRem , BinaryOperator)
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 966 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1053 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1156 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1186 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1278 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
| H A D | Instruction.cpp | 320 case SRem: return "srem"; in getOpcodeName()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 166 case Instruction::SRem: in getIntImmCost() 374 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 589 case Instruction::SRem: in CanInterpret() 709 case Instruction::SRem: in Interpret() 775 case Instruction::SRem: in Interpret()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | CFLGraph.h | 570 case Instruction::SRem: in visitConstantExpr()
|
| H A D | ObjCARCInstKind.cpp | 262 case Instruction::SRem: in GetARCInstKind()
|
| H A D | InstructionSimplify.cpp | 1092 if ((Opcode == Instruction::SRem && in simplifyRem() 1100 ((Opcode == Instruction::SRem && in simplifyRem() 1119 if (isDivZero(Op0, Op1, Q, MaxRecurse, Opcode == Instruction::SRem)) in simplifyRem() 1165 return simplifyRem(Instruction::SRem, Op0, Op1, Q, MaxRecurse); in SimplifySRemInst() 2614 case Instruction::SRem: in setLimitsForBinOp() 4740 case Instruction::SRem: in SimplifyBinOp() 5243 case Instruction::SRem: in SimplifyInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCCTRLoops.cpp | 443 J->getOpcode() == Instruction::SRem)) { in mightUseCTR()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 788 case Instruction::SRem: in getConstantValue() 806 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 69 case Instruction::SRem: in getOperationCost()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 401 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 739 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator() 781 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator() 2031 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break; in getConstantExprValue()
|