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

References

lib/Transforms/InstCombine/InstructionCombining.cpp
  859   if (!SI->hasOneUse())
  862   Value *TV = SI->getTrueValue();
  863   Value *FV = SI->getFalseValue();
  868   if (SI->getType()->isIntOrIntVectorTy(1))
  893   if (auto *CI = dyn_cast<CmpInst>(SI->getCondition())) {
  896       if ((SI->getOperand(1) == Op0 && SI->getOperand(2) == Op1) ||
  896       if ((SI->getOperand(1) == Op0 && SI->getOperand(2) == Op1) ||
  897           (SI->getOperand(2) == Op0 && SI->getOperand(1) == Op1))
  897           (SI->getOperand(2) == Op0 && SI->getOperand(1) == Op1))
  904   return SelectInst::Create(SI->getCondition(), NewTV, NewFV, "", nullptr, SI);
  904   return SelectInst::Create(SI->getCondition(), NewTV, NewFV, "", nullptr, SI);