Lines Matching defs:Ops
117 std::array<Value *, 2> Ops{I->getOperand(0), I->getOperand(1)};
120 std::swap(Ops[0], Ops[1]);
121 return Ops;
169 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
171 if (match(Ops[1], m_One()))
172 return Builder.CreateNot(Ops[0], I->getName() + ".neg");
421 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
424 if (match(Ops[1], m_One()))
425 return Builder.CreateNot(Ops[0], I->getName() + ".neg");
459 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
462 if (auto *C = dyn_cast<Constant>(Ops[1])) {
464 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C));
472 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I);
477 if (Value *NegOp1 = negate(Ops[1], /* IsNSW */ false, Depth + 1)) {
479 OtherOp = Ops[0];
480 } else if (Value *NegOp0 = negate(Ops[0], /* IsNSW */ false, Depth + 1)) {
482 OtherOp = Ops[1];