Searched refs:XorRHS (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1081 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; local
1082 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) {
1088 if (XorRHS->getValue() == -RHSVal) {
1091 else if (XorRHS->getValue().isPowerOf2())
1092 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
1109 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) {
1114 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue())
1115 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI),
1120 if (XorRHS->getValue().isSignBit())
1122 ConstantExpr::getXor(XorRHS, C
[all...]
H A DInstCombineSimplifyDemanded.cpp389 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); local
398 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());

Completed in 57 milliseconds