Searched refs:RAnd (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1692 BinaryOperator *RAnd = dyn_cast<BinaryOperator>(RHS->getOperand(0)); in FoldOrOfICmps() local 1693 if (LAnd && RAnd && LAnd->hasOneUse() && RHS->hasOneUse() && in FoldOrOfICmps() 1695 RAnd->getOpcode() == Instruction::And) { in FoldOrOfICmps() 1699 if (LAnd->getOperand(0) == RAnd->getOperand(0) && in FoldOrOfICmps() 1702 isKnownToBeAPowerOfTwo(RAnd->getOperand(1), DL, false, 0, AC, CxtI, in FoldOrOfICmps() 1704 Mask = Builder->CreateOr(LAnd->getOperand(1), RAnd->getOperand(1)); in FoldOrOfICmps() 1706 } else if (LAnd->getOperand(1) == RAnd->getOperand(1) && in FoldOrOfICmps() 1709 isKnownToBeAPowerOfTwo(RAnd->getOperand(0), DL, false, 0, AC, in FoldOrOfICmps() 1711 Mask = Builder->CreateOr(LAnd->getOperand(0), RAnd->getOperand(0)); in FoldOrOfICmps()
|