Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A 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()
H A DBypassSlowDivision.cpp94 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp()
118 case Instruction::SRem: in FastDivInsertionTask()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp108 case Instruction::SRem: in isRemExpanded()
137 else if (I.getOpcode() == Instruction::SRem) in getWorklist()
H A DCorrelatedValuePropagation.cpp674 Instr->getOpcode() == Instruction::SRem); in narrowSDivOrSRem()
769 assert(SDI->getOpcode() == Instruction::SRem); in processSRem()
878 Instr->getOpcode() == Instruction::SRem); in processSDivOrSRem()
886 if (Instr->getOpcode() == Instruction::SRem) in processSDivOrSRem()
1047 case Instruction::SRem: in runImpl()
H A DGVNSink.cpp458 case Instruction::SRem: in lookupOrAdd()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp250 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned()
321 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32()
1045 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32()
1055 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32()
1174 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64()
1204 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64()
1232 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h316 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop()
334 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps()
102 case Instruction::SRem: in binOpDescriptor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2354 if (!SRem->hasOneUse()) in foldICmpSRemConstant()
2362 Type *Ty = SRem->getType(); in foldICmpSRemConstant()
2365 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant()
2990 case Instruction::SRem: in foldICmpInstWithConstant()
3056 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant()
4087 BinaryOperator *SRem = nullptr; in foldICmpBinOp() local
4090 SRem = BO0; in foldICmpBinOp()
4092 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp()
4094 SRem = BO1; in foldICmpBinOp()
4095 if (SRem) { in foldICmpBinOp()
[all …]
H A DInstCombineVectorOps.cpp1546 case Instruction::SRem: in canEvaluateShuffled()
1628 case Instruction::SRem: in buildNew()
1718 case Instruction::SRem: in evaluateInDifferentElementOrder()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp238 case Instruction::SRem: in expandPredicationInBinaryOperator()
H A DTypePromotion.cpp201 Opc == Instruction::SRem || Opc == Instruction::SExt; in GenerateSignBits()
/freebsd-13.1/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp580 case Instruction::SRem: in CanInterpret()
697 case Instruction::SRem: in Interpret()
761 case Instruction::SRem: in Interpret()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.def157 HANDLE_BINARY_INST(23, SRem , BinaryOperator)
H A DInstruction.h196 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
H A DVPIntrinsics.def154 HELPER_REGISTER_BINARY_INT_VP(vp_srem, VP_SREM, SRem)
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp935 case Instruction::SRem: in ConstantFoldBinaryInstruction()
1024 case Instruction::SRem: in ConstantFoldBinaryInstruction()
1147 case Instruction::SRem: in ConstantFoldBinaryInstruction()
1177 case Instruction::SRem: in ConstantFoldBinaryInstruction()
1282 case Instruction::SRem: in ConstantFoldBinaryInstruction()
H A DInstruction.cpp368 case SRem: return "srem"; in getOpcodeName()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h462 case Instruction::SRem:
982 case Instruction::SRem: in getUserCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp168 case Instruction::SRem: in getIntImmCostInst()
413 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp261 case Instruction::SRem: in GetARCInstKind()
H A DCFLGraph.h578 case Instruction::SRem: in visitConstantExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp781 case Instruction::SRem: in getConstantValue()
799 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp404 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp794 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator()
836 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator()
2080 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break; in getConstantExprValue()

123