/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandLargeDivRem.cpp | 54 return Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in isSigned() 95 case Instruction::SDiv: in runImpl() 135 I->getOpcode() == Instruction::SDiv) { in runImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | DivRemPairs.cpp | 66 M.Key.SignedOp = Div->getOpcode() == Instruction::SDiv; in matchExpandedRem() 87 DivInst->getOpcode() == Instruction::SDiv) && in DivRemPairWorklistEntry() 98 bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; } in isSigned() 131 if (I.getOpcode() == Instruction::SDiv) in getWorklist()
|
H A D | CorrelatedValuePropagation.cpp | 748 assert(Instr->getOpcode() == Instruction::SDiv || in narrowSDivOrSRem() 784 if (BinOp->getOpcode() == Instruction::SDiv) in narrowSDivOrSRem() 987 assert(SDI->getOpcode() == Instruction::SDiv); in processSDiv() 1043 assert(Instr->getOpcode() == Instruction::SDiv || in processSDivOrSRem() 1050 if (Instr->getOpcode() == Instruction::SDiv) in processSDivOrSRem() 1234 case Instruction::SDiv: in runImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 408 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision() 417 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision() 553 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo32Bits() 577 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo32Bits() 601 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo64Bits() 623 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo64Bits()
|
H A D | SimplifyIndVar.cpp | 105 bool eliminateSDiv(BinaryOperator *SDiv); 298 bool SimplifyIndvar::eliminateSDiv(BinaryOperator *SDiv) { in eliminateSDiv() argument 300 auto *N = SE->getSCEV(SDiv->getOperand(0)); in eliminateSDiv() 301 auto *D = SE->getSCEV(SDiv->getOperand(1)); in eliminateSDiv() 304 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv() 311 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv() 312 SDiv->getName() + ".udiv", SDiv->getIterator()); in eliminateSDiv() 313 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv() 314 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv() 315 UDiv->setDebugLoc(SDiv->getDebugLoc()); in eliminateSDiv() [all …]
|
H A D | BypassSlowDivision.cpp | 91 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isSignedOp() 96 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isDivisionOp() 114 case Instruction::SDiv: in FastDivInsertionTask()
|
H A D | SCCPSolver.cpp | 208 case Instruction::SDiv: in replaceSignedInst() 215 auto NewOpcode = Inst.getOpcode() == Instruction::SDiv ? Instruction::UDiv in replaceSignedInst() 218 if (Inst.getOpcode() == Instruction::SDiv) in replaceSignedInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanAnalysis.cpp | 96 case Instruction::SDiv: in inferScalarTypeForRecipe() 162 case Instruction::SDiv: in inferScalarTypeForRecipe()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 395 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 469 if (I.getOpcode() == Instruction::SDiv || in promoteUniformOpToI32() 1377 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 1386 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32() 1387 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 1505 bool IsDiv = Opc == Instruction::SDiv || Opc == Instruction::UDiv; in shrinkDivRem64() 1506 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() 1531 if (Opc == Instruction::UDiv || Opc == Instruction::SDiv) { in expandDivRem64() 1564 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 665 case Instruction::SDiv: in ConstantFoldBinaryInstruction() 740 case Instruction::SDiv: in ConstantFoldBinaryInstruction() 823 case Instruction::SDiv: in ConstantFoldBinaryInstruction() 858 case Instruction::SDiv: in ConstantFoldBinaryInstruction() 967 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
|
H A D | Operator.cpp | 36 case Instruction::SDiv: in hasPoisonGeneratingFlags()
|
H A D | Instruction.cpp | 421 case Instruction::SDiv: in dropPoisonGeneratingFlags() 727 case SDiv: return "sdiv"; in getOpcodeName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 207 case Instruction::SDiv: in getIntImmCostInst() 453 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost() 1095 UserI->getOpcode() == Instruction::SDiv || in isFoldableLoad() 1120 case Instruction::SDiv:// SE: 32->64 in isFoldableLoad()
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | Operations.cpp | 22 Ops.push_back(binOpDescriptor(1, Instruction::SDiv)); in describeFuzzerIntOps() 125 case Instruction::SDiv: in binOpDescriptor()
|
H A D | IRMutator.cpp | 256 case Instruction::SDiv: in mutate() 298 case Instruction::SDiv: in mutate()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 157 case Instruction::SDiv: { in generateCreationChecksForBinOp()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRInterpreter.cpp | 623 case Instruction::SDiv: in CanInterpret() 771 case Instruction::SDiv: in Interpret() 834 case Instruction::SDiv: in Interpret()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instruction.def | 154 HANDLE_BINARY_INST(20, SDiv , BinaryOperator)
|
H A D | Operator.h | 176 return OpC == Instruction::SDiv ||
|
H A D | Instruction.h | 304 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 311 case Instruction::SDiv: // 0 / X = 0 in getSafeVectorConstantForBinop()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 400 Div->getOpcode() != Instruction::SDiv)) { in visitMul() 408 Div->getOpcode() == Instruction::SDiv)) { in visitMul() 1082 assert((I.getOpcode() == Instruction::SDiv || in foldIDivShl() 1086 bool IsSigned = I.getOpcode() == Instruction::SDiv; in foldIDivShl() 1170 bool IsSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
|
H A D | InstCombineNegator.cpp | 277 case Instruction::SDiv: in visitImpl()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 568 case Instruction::SDiv: 1245 case Instruction::SDiv: in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ObjCARCInstKind.cpp | 258 case Instruction::SDiv: in GetARCInstKind()
|