Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp356 ConstantInt *AndRHS, *XorRHS; in SimplifyDemandedUseBits() local
359 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()
363 Constant *AndC = ConstantInt::get(VTy, NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
H A DInstCombineSelect.cpp142 const APInt *AndRHS; in foldSelectICmpAnd() local
143 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd()
146 AndMask = *AndRHS; in foldSelectICmpAnd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp3388 SDValue AndRHS = LHS->getOperand(1); in tryBFE() local
3392 std::swap(AndLHS, AndRHS); in tryBFE()
3395 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in tryBFE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp2306 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local
2310 std::swap(AndLHS, AndRHS); in emitCompareAndBranch()
2312 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1700 } else if (auto *AndRHS = dyn_cast<ConstantSDNode>(Op1)) { in LowerAndToBTST() local
1701 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5040 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local
5045 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC()
5046 if (AndRHS->getAPIntValue().isPowerOf2() && in SimplifySetCC()
5052 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC()
5072 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local
5073 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
H A DSelectionDAG.cpp9982 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode()
9986 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4825 Register AndRHS = MI.getOperand(2).getReg(); in matchNarrowBinopFeedingAnd() local
4856 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22819 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerAndToBT() local
22820 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT()