OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:XorRHS
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp
941
Value *XorLHS = 0; ConstantInt *
XorRHS
= 0;
942
if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(
XorRHS
)))) {
948
if (
XorRHS
->getValue() == -RHSVal) {
951
else if (
XorRHS
->getValue().isPowerOf2())
952
ExtendAmt = TySizeBits -
XorRHS
->getValue().logBase2() - 1;
969
if (LHS->hasOneUse() && (
XorRHS
->getValue()+1).isPowerOf2()) {
974
if ((
XorRHS
->getValue() | LHSKnownZero).isAllOnesValue())
975
return BinaryOperator::CreateSub(ConstantExpr::getAdd(
XorRHS
, CI),
980
if (
XorRHS
->getValue().isSignBit())
982
ConstantExpr::getXor(
XorRHS
, CI))
[
all
...]
InstCombineSimplifyDemanded.cpp
358
ConstantInt *
XorRHS
= cast<ConstantInt>(I->getOperand(1));
367
ConstantInt::get(I->getType(), NewMask &
XorRHS
->getValue());
[
all
...]
Completed in 89 milliseconds