Home
last modified time | relevance | path

Searched refs:AndRHS (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp989 if (ConstantInt *AndRHS = GetConstantInt(LHS->getOperand(1))) in calcZeroHeuristics() local
990 if (AndRHS->getValue().isPowerOf2()) in calcZeroHeuristics()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp351 ConstantInt *AndRHS, *XorRHS; in SimplifyDemandedUseBits() local
354 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()
358 Constant *AndC = ConstantInt::get(VTy, NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
H A DInstCombineSelect.cpp143 const APInt *AndRHS; in foldSelectICmpAnd() local
144 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd()
147 AndMask = *AndRHS; in foldSelectICmpAnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp3553 SDValue AndRHS = LHS->getOperand(1); in tryBFE() local
3557 std::swap(AndLHS, AndRHS); in tryBFE()
3560 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in tryBFE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp2307 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local
2311 std::swap(AndLHS, AndRHS); in emitCompareAndBranch()
2313 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1701 } else if (auto *AndRHS = dyn_cast<ConstantSDNode>(Op1)) { in LowerAndToBTST() local
1702 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5115 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local
5118 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC()
5119 if (AndRHS->getAPIntValue().isPowerOf2() && in SimplifySetCC()
5126 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC()
5146 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local
5147 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
H A DSelectionDAG.cpp10319 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode()
10323 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4987 Register AndRHS = MI.getOperand(2).getReg(); in matchNarrowBinopFeedingAnd() local
5018 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23000 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerAndToBT() local
23001 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT()