Lines Matching refs:Or
123 if (I && (I->getOpcode() == Instruction::Or || in XorOpnd()
134 isOr = (I->getOpcode() == Instruction::Or); in XorOpnd()
945 static bool isLoadCombineCandidate(Instruction *Or) { in isLoadCombineCandidate() argument
960 if (!Enqueue(Or)) in isLoadCombineCandidate()
968 case Instruction::Or: in isLoadCombineCandidate()
995 static bool shouldConvertOrWithNoCommonBitsToAdd(Instruction *Or) { in shouldConvertOrWithNoCommonBitsToAdd() argument
1007 if (any_of(Or->operands(), isInteresting)) in shouldConvertOrWithNoCommonBitsToAdd()
1010 Value *VB = Or->user_back(); in shouldConvertOrWithNoCommonBitsToAdd()
1011 if (Or->hasOneUse() && isInteresting(VB)) in shouldConvertOrWithNoCommonBitsToAdd()
1019 static BinaryOperator *convertOrWithNoCommonBitsToAdd(Instruction *Or) { in convertOrWithNoCommonBitsToAdd() argument
1022 CreateAdd(Or->getOperand(0), Or->getOperand(1), "", Or, Or); in convertOrWithNoCommonBitsToAdd()
1025 New->takeName(Or); in convertOrWithNoCommonBitsToAdd()
1028 Or->replaceAllUsesWith(New); in convertOrWithNoCommonBitsToAdd()
1029 New->setDebugLoc(Or->getDebugLoc()); in convertOrWithNoCommonBitsToAdd()
1261 if (Opcode == Instruction::Or) // ...|X|~X = -1 in OptimizeAndOrXor()
1270 if (Opcode == Instruction::And || Opcode == Instruction::Or) { in OptimizeAndOrXor()
1991 case Instruction::Or: in OptimizeExpression()
2244 if (I->getOpcode() == Instruction::Or && in OptimizeInst()