Lines Matching defs:Ops
113 std::array<Value *, 2> Ops{I->getOperand(0), I->getOperand(1)};
116 std::swap(Ops[0], Ops[1]);
117 return Ops;
165 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
167 if (match(Ops[1], m_One()))
168 return Builder.CreateNot(Ops[0], I->getName() + ".neg");
420 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
423 if (match(Ops[1], m_One()))
424 return Builder.CreateNot(Ops[0], I->getName() + ".neg");
458 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
461 if (auto *C = dyn_cast<Constant>(Ops[1])) {
463 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C));
471 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
476 if (Value *NegOp1 = negate(Ops[1], /* IsNSW */ false, Depth + 1)) {
478 OtherOp = Ops[0];
479 } else if (Value *NegOp0 = negate(Ops[0], /* IsNSW */ false, Depth + 1)) {
481 OtherOp = Ops[1];