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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp114 Value *XorLHS = 0; ConstantInt *XorRHS = 0; local
115 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) {
121 if (XorRHS->getValue() == -RHSVal) {
124 else if (XorRHS->getValue().isPowerOf2())
125 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
H A DInstCombineSimplifyDemanded.cpp348 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); local
357 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp388 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); local
397 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());
H A DInstCombineAddSub.cpp1061 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; local
1062 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) {
1068 if (XorRHS->getValue() == -RHSVal) {
1071 else if (XorRHS->getValue().isPowerOf2())
1072 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
1089 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) {
1094 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue())
1095 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI),
1100 if (XorRHS->getValue().isSignBit())
1102 ConstantExpr::getXor(XorRHS, C
[all...]

Completed in 59 milliseconds