• Home
  • Raw
  • Download

Lines Matching refs:BinaryOperator

143   if (!isa<BinaryOperator>(TI))  in FoldSelectOpOp()
179 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) { in FoldSelectOpOp()
181 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); in FoldSelectOpOp()
183 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); in FoldSelectOpOp()
227 BinaryOperator *TVI_BO = cast<BinaryOperator>(TVI); in FoldSelectIntoOp()
228 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(), in FoldSelectIntoOp()
262 BinaryOperator *FVI_BO = cast<BinaryOperator>(FVI); in FoldSelectIntoOp()
263 BinaryOperator *BO = BinaryOperator::Create(FVI_BO->getOpcode(), in FoldSelectIntoOp()
294 if (BinaryOperator *B = dyn_cast<BinaryOperator>(I)) { in SimplifyWithOpReplaced()
649 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
653 return BinaryOperator::CreateAnd(NotCond, FalseVal); in visitSelectInst()
657 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst()
661 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
667 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
669 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst()
814 return BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
816 return BinaryOperator::CreateAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
868 if (BinaryOperator::isNot(CondVal)) { in visitSelectInst()
869 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst()