Lines Matching refs:Ops
124 std::array<Value *, 2> Ops{I->getOperand(0), I->getOperand(1)}; in getSortedOperandsOfBinOp() local
127 std::swap(Ops[0], Ops[1]); in getSortedOperandsOfBinOp()
128 return Ops; in getSortedOperandsOfBinOp()
176 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
178 if (match(Ops[1], m_One())) in visitImpl()
179 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
396 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
399 if (match(Ops[1], m_One())) in visitImpl()
400 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
434 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
437 if (auto *C = dyn_cast<Constant>(Ops[1])) { in visitImpl()
438 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
445 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
450 if (Value *NegOp1 = negate(Ops[1], Depth + 1)) { in visitImpl()
452 OtherOp = Ops[0]; in visitImpl()
453 } else if (Value *NegOp0 = negate(Ops[0], Depth + 1)) { in visitImpl()
455 OtherOp = Ops[1]; in visitImpl()