Home
last modified time | relevance | path

Searched refs:XorRHS (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1232 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; in visitAdd() local
1233 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()
1239 if (XorRHS->getValue() == -RHSVal) { in visitAdd()
1242 else if (XorRHS->getValue().isPowerOf2()) in visitAdd()
1243 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()
1260 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) { in visitAdd()
1262 if ((XorRHS->getValue() | LHSKnown.Zero).isAllOnesValue()) in visitAdd()
1263 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()
1268 if (XorRHS->getValue().isSignMask()) in visitAdd()
1270 ConstantExpr::getXor(XorRHS, CI)); in visitAdd()
DInstCombineSimplifyDemanded.cpp298 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); in SimplifyDemandedUseBits() local
307 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue()); in SimplifyDemandedUseBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3501 SDValue XorRHS = Op0.getOperand(1); in SimplifySetCC() local
3506 getBooleanContents(XorRHS.getOperand(0).getValueType()) == in SimplifySetCC()
3510 return DAG.getSetCC(dl, VT, XorLHS, XorRHS, Cond); in SimplifySetCC()