Searched defs:RHSBinOp (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp164 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); local
168 assert(isa<OverflowingBinaryOperator>(RHSBinOp) &&
170 if (LHSBinOp->hasNoUnsignedWrap() != RHSBinOp->hasNoUnsignedWrap() ||
171 LHSBinOp->hasNoSignedWrap() != RHSBinOp->hasNoSignedWrap())
176 return LHSBinOp->getOperand(0) == RHSBinOp->getOperand(1) &&
177 LHSBinOp->getOperand(1) == RHSBinOp->getOperand(0);

Completed in 82 milliseconds