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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1232 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; local
1233 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) {
1239 if (XorRHS->getValue() == -RHSVal) {
1242 else if (XorRHS->getValue().isPowerOf2())
1243 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
1260 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) {
1262 if ((XorRHS->getValue() | LHSKnown.Zero).isAllOnesValue())
1263 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI),
1268 if (XorRHS->getValue().isSignMask())
1270 ConstantExpr::getXor(XorRHS, C
[all...]
H A DInstCombineSimplifyDemanded.cpp298 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); local
307 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3501 SDValue XorRHS = Op0.getOperand(1); local
3506 getBooleanContents(XorRHS.getOperand(0).getValueType()) ==
3510 return DAG.getSetCC(dl, VT, XorLHS, XorRHS, Cond);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp11279 const ExprResult &XorRHS,
11288 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get());
11294 if (const auto *UO = dyn_cast<UnaryOperator>(XorRHS.get())) {
11278 diagnoseXorMisusedAsPow(Sema &S, const ExprResult &XorLHS, const ExprResult &XorRHS, const SourceLocation Loc) argument

Completed in 238 milliseconds