Lines Matching refs:Ops
117 std::array<Value *, 2> Ops{I->getOperand(0), I->getOperand(1)}; in getSortedOperandsOfBinOp() local
120 std::swap(Ops[0], Ops[1]); in getSortedOperandsOfBinOp()
121 return Ops; in getSortedOperandsOfBinOp()
169 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
171 if (match(Ops[1], m_One())) in visitImpl()
172 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
404 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
407 if (match(Ops[1], m_One())) in visitImpl()
408 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
442 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
445 if (auto *C = dyn_cast<Constant>(Ops[1])) { in visitImpl()
447 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
455 std::array<Value *, 2> Ops = getSortedOperandsOfBinOp(I); in visitImpl() local
460 if (Value *NegOp1 = negate(Ops[1], /* IsNSW */ false, Depth + 1)) { in visitImpl()
462 OtherOp = Ops[0]; in visitImpl()
463 } else if (Value *NegOp0 = negate(Ops[0], /* IsNSW */ false, Depth + 1)) { in visitImpl()
465 OtherOp = Ops[1]; in visitImpl()