Lines Matching refs:Xor
141 case Instruction::Xor:
173 // Adding a one to a single bit bit-field should be turned into an XOR
189 // the XOR is to toggle the bit. If it is clear, then the ADD has
195 // Pull the XOR out of the AND.
372 case Instruction::Xor:
1034 case Instruction::Xor:
1579 APInt Xor = LHSCst->getValue() ^ RHSCst->getValue();
1580 if (Xor.isPowerOf2()) {
1581 Value *NegCst = Builder->getInt(~Xor);
1759 /// when the XOR of the two constants is "all ones" (-1).
1769 APInt Xor = CI1->getValue() ^ CI2->getValue();
1770 if (!Xor.isAllOnesValue()) return 0;
1986 // Canonicalize xor to the RHS.
2020 B->getOpcode() == Instruction::Xor)) {
2170 // xor (cmp A, B), true = not (cmp A, B) = !cmp A, B
2176 // fold (xor(zext(cmp)), 1) and (xor(sext(cmp)), -1) to ext(!cmp).
2237 E1->getOpcode() == Instruction::Xor &&
2355 // fold (xor (cast A), (cast B)) -> (cast (xor A, B))