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()
368 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
371 if (match(Ops[1], m_One())) in visitImpl()
372 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
406 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
409 if (auto *C = dyn_cast<Constant>(Ops[1])) { in visitImpl()
410 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
417 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
422 if (Value *NegOp1 = negate(Ops[1], Depth + 1)) { in visitImpl()
424 OtherOp = Ops[0]; in visitImpl()
425 } else if (Value *NegOp0 = negate(Ops[0], Depth + 1)) { in visitImpl()
427 OtherOp = Ops[1]; in visitImpl()