Lines Matching defs:Or
130 if (I && (I->getOpcode() == Instruction::Or ||
141 isOr = (I->getOpcode() == Instruction::Or);
886 static bool isLoadCombineCandidate(Instruction *Or) {
901 if (!Enqueue(Or))
909 case Instruction::Or:
936 static bool shouldConvertOrWithNoCommonBitsToAdd(Instruction *Or) {
948 if (any_of(Or->operands(), isInteresting))
951 Value *VB = Or->user_back();
952 if (Or->hasOneUse() && isInteresting(VB))
960 static BinaryOperator *convertOrWithNoCommonBitsToAdd(Instruction *Or) {
962 BinaryOperator *New = CreateAdd(Or->getOperand(0), Or->getOperand(1), "",
963 Or->getIterator(), Or);
966 New->takeName(Or);
969 Or->replaceAllUsesWith(New);
970 New->setDebugLoc(Or->getDebugLoc());
1204 if (Opcode == Instruction::Or) // ...|X|~X = -1
1213 if (Opcode == Instruction::And || Opcode == Instruction::Or) {
1214 // Drop duplicate values for And and Or.
1933 case Instruction::Or:
2186 if (I->getOpcode() == Instruction::Or &&