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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1228 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; local
1229 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) {
1235 if (XorRHS->getValue() == -RHSVal) {
1238 else if (XorRHS->getValue().isPowerOf2())
1239 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
1256 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) {
1258 if ((XorRHS->getValue() | LHSKnown.Zero).isAllOnesValue())
1259 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI),
1264 if (XorRHS->getValue().isSignMask())
1266 ConstantExpr::getXor(XorRHS, C
[all...]
H A DInstCombineSimplifyDemanded.cpp286 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); local
295 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3735 SDValue XorRHS = Op0.getOperand(1); local
3740 getBooleanContents(XorRHS.getOperand(0).getValueType()) ==
3744 return DAG.getSetCC(dl, VT, XorLHS, XorRHS, Cond);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp11938 const ExprResult &XorRHS,
11947 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get());
11953 if (const auto *UO = dyn_cast<UnaryOperator>(XorRHS.get())) {
11937 diagnoseXorMisusedAsPow(Sema &S, const ExprResult &XorLHS, const ExprResult &XorRHS, const SourceLocation Loc) argument

Completed in 149 milliseconds