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.cpp985 if (ConstantInt *AndRHS = GetConstantInt(LHS->getOperand(1))) in calcZeroHeuristics() local
986 if (AndRHS->getValue().isPowerOf2()) in calcZeroHeuristics()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp358 ConstantInt *AndRHS, *XorRHS; in SimplifyDemandedUseBits() local
361 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()
365 Constant *AndC = ConstantInt::get(VTy, NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
H A DInstCombineSelect.cpp3872 const APInt *AndRHS; in foldSelectBitTest() local
3873 if (!match(CmpLHS, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectBitTest()
3876 AndMask = *AndRHS; in foldSelectBitTest()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1769 SDValue AndRHS = LHS->getOperand(1); in tryBFE() local
1773 std::swap(AndLHS, AndRHS); in tryBFE()
1776 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in tryBFE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp2305 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local
2309 std::swap(AndLHS, AndRHS); in emitCompareAndBranch()
2311 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1703 } else if (auto *AndRHS = dyn_cast<ConstantSDNode>(Op1)) { in LowerAndToBTST() local
1704 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5330 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local
5333 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC()
5334 if (AndRHS->getAPIntValue().isPowerOf2() && in SimplifySetCC()
5341 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC()
5360 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local
5361 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
H A DSelectionDAG.cpp10864 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode()
10868 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5118 Register AndRHS = MI.getOperand(2).getReg(); in matchNarrowBinopFeedingAnd() local
5149 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23742 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerAndToBT() local
23743 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT()