reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/DivRemPairs.cpp
  129       if (I.getOpcode() == Instruction::SDiv)
  130         DivMap[DivRemMapKey(true, I.getOperand(0), I.getOperand(1))] = &I;
  130         DivMap[DivRemMapKey(true, I.getOperand(0), I.getOperand(1))] = &I;
  130         DivMap[DivRemMapKey(true, I.getOperand(0), I.getOperand(1))] = &I;
  131       else if (I.getOpcode() == Instruction::UDiv)
  132         DivMap[DivRemMapKey(false, I.getOperand(0), I.getOperand(1))] = &I;
  132         DivMap[DivRemMapKey(false, I.getOperand(0), I.getOperand(1))] = &I;
  132         DivMap[DivRemMapKey(false, I.getOperand(0), I.getOperand(1))] = &I;
  133       else if (I.getOpcode() == Instruction::SRem)
  134         RemMap[DivRemMapKey(true, I.getOperand(0), I.getOperand(1))] = &I;
  134         RemMap[DivRemMapKey(true, I.getOperand(0), I.getOperand(1))] = &I;
  134         RemMap[DivRemMapKey(true, I.getOperand(0), I.getOperand(1))] = &I;
  135       else if (I.getOpcode() == Instruction::URem)
  136         RemMap[DivRemMapKey(false, I.getOperand(0), I.getOperand(1))] = &I;
  136         RemMap[DivRemMapKey(false, I.getOperand(0), I.getOperand(1))] = &I;
  136         RemMap[DivRemMapKey(false, I.getOperand(0), I.getOperand(1))] = &I;
  137       else if (auto Match = matchExpandedRem(I))