Searched refs:XorC (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1564 const APInt *XorC; in foldICmpXorConstant() local 1565 if (!match(Y, m_APInt(XorC))) in foldICmpXorConstant() 1576 if (!XorC->isNegative()) in foldICmpXorConstant() 1590 if (!Cmp.isEquality() && XorC->isSignMask()) { in foldICmpXorConstant() 1592 return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), C ^ *XorC)); in foldICmpXorConstant() 1596 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant() 1599 return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), C ^ *XorC)); in foldICmpXorConstant() 1606 if (*XorC == ~C && (C + 1).isPowerOf2()) in foldICmpXorConstant() 1609 if (*XorC == C && (C + 1).isPowerOf2()) in foldICmpXorConstant() 1614 if (*XorC == -C && C.isPowerOf2()) in foldICmpXorConstant() [all …]
|
H A D | InstCombineSimplifyDemanded.cpp | 362 Constant *XorC = ConstantInt::get(VTy, NewMask & XorRHS->getValue()); in SimplifyDemandedUseBits() local 363 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
|
H A D | InstCombineAddSub.cpp | 1793 const APInt *XorC; in visitAdd() local 1801 m_APInt(XorC))))))) && in visitAdd() 1803 *XorC == A->getType()->getScalarSizeInBits() - 1) { in visitAdd()
|
H A D | InstCombineAndOrXor.cpp | 2376 const APInt *XorC; in visitAnd() local 2377 if (match(Op0, m_OneUse(m_Xor(m_Value(X), m_APInt(XorC))))) { in visitAnd() 2379 Constant *NewC = ConstantInt::get(Ty, *C & *XorC); in visitAnd()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 13847 auto *XorC = dyn_cast<ConstantSDNode>(N->getOperand(1)); in isDesirableToCommuteXorWithShift() local 13849 if (XorC && ShiftC) { in isDesirableToCommuteXorWithShift() 13851 if (XorC->getAPIntValue().isShiftedMask(MaskIdx, MaskLen)) { in isDesirableToCommuteXorWithShift()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 17527 auto *XorC = dyn_cast<ConstantSDNode>(N->getOperand(1)); in isDesirableToCommuteXorWithShift() local 17529 if (XorC && ShiftC) { in isDesirableToCommuteXorWithShift() 17531 if (XorC->getAPIntValue().isShiftedMask(MaskIdx, MaskLen)) { in isDesirableToCommuteXorWithShift()
|