Lines Matching refs:BinaryOperator

94   Instruction *visitAdd(BinaryOperator &I);
95 Instruction *visitFAdd(BinaryOperator &I);
98 Instruction *visitSub(BinaryOperator &I);
99 Instruction *visitFSub(BinaryOperator &I);
100 Instruction *visitMul(BinaryOperator &I);
101 Instruction *foldPowiReassoc(BinaryOperator &I);
102 Instruction *foldFMulReassoc(BinaryOperator &I);
103 Instruction *visitFMul(BinaryOperator &I);
104 Instruction *visitURem(BinaryOperator &I);
105 Instruction *visitSRem(BinaryOperator &I);
106 Instruction *visitFRem(BinaryOperator &I);
107 bool simplifyDivRemOfSelectWithZeroOp(BinaryOperator &I);
108 Instruction *commonIRemTransforms(BinaryOperator &I);
109 Instruction *commonIDivTransforms(BinaryOperator &I);
110 Instruction *visitUDiv(BinaryOperator &I);
111 Instruction *visitSDiv(BinaryOperator &I);
112 Instruction *visitFDiv(BinaryOperator &I);
114 Instruction *visitAnd(BinaryOperator &I);
115 Instruction *visitOr(BinaryOperator &I);
118 Instruction *visitXor(BinaryOperator &I);
119 Instruction *visitShl(BinaryOperator &I);
121 BinaryOperator *Sh0, const SimplifyQuery &SQ,
124 BinaryOperator &I);
126 BinaryOperator &OldAShr);
127 Instruction *visitAShr(BinaryOperator &I);
128 Instruction *visitLShr(BinaryOperator &I);
129 Instruction *commonShiftTransforms(BinaryOperator &I);
134 BinaryOperator &I);
369 bool willNotOverflow(BinaryOperator::BinaryOps Opcode, const Value *LHS, in willNotOverflow()
383 Instruction *foldCastedBitwiseLogic(BinaryOperator &I);
384 Instruction *foldFBinOpOfIntCasts(BinaryOperator &I);
387 BinaryOperator &BO, bool OpsFromSigned, std::array<Value *, 2> IntOps,
389 Instruction *foldBinopOfSextBoolToSelect(BinaryOperator &I);
391 Instruction *narrowMaskedBinOp(BinaryOperator &And);
392 Instruction *narrowMathIfNoOverflow(BinaryOperator &I);
396 Instruction *foldNot(BinaryOperator &I);
397 Instruction *foldBinOpOfDisplacedShifts(BinaryOperator &I);
415 Value *foldXorOfICmps(ICmpInst *LHS, ICmpInst *RHS, BinaryOperator &Xor);
428 Instruction *foldLogicOfIsFPClass(BinaryOperator &Operator, Value *LHS,
432 canonicalizeConditionalNegationViaMathToSelect(BinaryOperator &i);
441 Instruction *foldLShrOverflowBit(BinaryOperator &I);
445 Instruction *foldFPSignBitOps(BinaryOperator &I);
446 Instruction *foldFDivConstantDivisor(BinaryOperator &I);
496 bool SimplifyAssociativeOrCommutative(BinaryOperator &I);
505 Value *foldUsingDistributiveLaws(BinaryOperator &I);
512 Value *SimplifyAddWithRemainder(BinaryOperator &I);
516 Value *SimplifySelectsFeedingBinaryOp(BinaryOperator &I, Value *LHS,
527 Instruction *foldBinOpShiftWithShift(BinaryOperator &I);
533 Instruction *foldBinOpOfSelectAndCastOfSelectCondition(BinaryOperator &I);
537 Value *tryFactorizationFolds(BinaryOperator &I);
591 Instruction *foldVectorBinop(BinaryOperator &Inst);
608 Instruction *foldBinopWithPhiOperands(BinaryOperator &BO);
618 Instruction *foldBinOpIntoSelectOrPhi(BinaryOperator &I);
620 Instruction *foldAddWithConstant(BinaryOperator &Add);
622 Instruction *foldSquareSumInt(BinaryOperator &I);
623 Instruction *foldSquareSumFP(BinaryOperator &I);
679 Instruction *foldICmpBinOpWithConstant(ICmpInst &Cmp, BinaryOperator *BO,
687 Instruction *foldICmpAndConstant(ICmpInst &Cmp, BinaryOperator *And,
689 Instruction *foldICmpXorConstant(ICmpInst &Cmp, BinaryOperator *Xor,
691 Instruction *foldICmpOrConstant(ICmpInst &Cmp, BinaryOperator *Or,
693 Instruction *foldICmpMulConstant(ICmpInst &Cmp, BinaryOperator *Mul,
695 Instruction *foldICmpShlConstant(ICmpInst &Cmp, BinaryOperator *Shl,
697 Instruction *foldICmpShrConstant(ICmpInst &Cmp, BinaryOperator *Shr,
699 Instruction *foldICmpSRemConstant(ICmpInst &Cmp, BinaryOperator *UDiv,
701 Instruction *foldICmpUDivConstant(ICmpInst &Cmp, BinaryOperator *UDiv,
703 Instruction *foldICmpDivConstant(ICmpInst &Cmp, BinaryOperator *Div,
705 Instruction *foldICmpSubConstant(ICmpInst &Cmp, BinaryOperator *Sub,
707 Instruction *foldICmpAddConstant(ICmpInst &Cmp, BinaryOperator *Add,
709 Instruction *foldICmpAndConstConst(ICmpInst &Cmp, BinaryOperator *And,
711 Instruction *foldICmpAndShift(ICmpInst &Cmp, BinaryOperator *And,
713 Instruction *foldICmpXorShiftConst(ICmpInst &Cmp, BinaryOperator *Xor,
721 BinaryOperator *BO,