Searched refs:RAnd (Results 1 – 1 of 1) sorted by relevance
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1722 BinaryOperator *RAnd = dyn_cast<BinaryOperator>(RHS->getOperand(0)); in FoldOrOfICmps() local 1723 if (LAnd && RAnd && LAnd->hasOneUse() && RHS->hasOneUse() && in FoldOrOfICmps() 1725 RAnd->getOpcode() == Instruction::And) { in FoldOrOfICmps() 1729 if (LAnd->getOperand(0) == RAnd->getOperand(0) && in FoldOrOfICmps() 1731 isKnownToBeAPowerOfTwo(RAnd->getOperand(1), false, 0, AC, CxtI, DT)) { in FoldOrOfICmps() 1732 Mask = Builder->CreateOr(LAnd->getOperand(1), RAnd->getOperand(1)); in FoldOrOfICmps() 1734 } else if (LAnd->getOperand(1) == RAnd->getOperand(1) && in FoldOrOfICmps() 1737 isKnownToBeAPowerOfTwo(RAnd->getOperand(0), false, 0, AC, CxtI, in FoldOrOfICmps() 1739 Mask = Builder->CreateOr(LAnd->getOperand(0), RAnd->getOperand(0)); in FoldOrOfICmps()
|