Lines Matching defs:BinaryOperator
2558 // BinaryOperator Class
2561 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty,
2563 : Instruction(Ty, iType, OperandTraits<BinaryOperator>::op_begin(this),
2564 OperandTraits<BinaryOperator>::operands(this), InsertBefore) {
2571 void BinaryOperator::AssertOK() {
2639 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
2644 return new BinaryOperator(Op, S1, S2, S1->getType(), Name, InsertBefore);
2647 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
2650 return new BinaryOperator(Instruction::Sub, Zero, Op, Op->getType(), Name,
2654 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
2657 return BinaryOperator::CreateNSWSub(Zero, Op, Name, InsertBefore);
2660 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
2663 return new BinaryOperator(Instruction::Xor, Op, C,
2671 bool BinaryOperator::swapOperands() {
4199 BinaryOperator *BinaryOperator::cloneImpl() const {