Home
last modified time | relevance | path

Searched refs:RHSOp (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.cpp346 std::pair<unsigned, unsigned> RHSOp = Ops.ParseOperandName(RHSOpName, false); in ParseConstraint() local
350 bool FirstIsDest = (LHSOp < RHSOp); in ParseConstraint()
351 std::pair<unsigned, unsigned> DestOp = (FirstIsDest ? LHSOp : RHSOp); in ParseConstraint()
353 std::pair<unsigned, unsigned> SrcOp = (FirstIsDest ? RHSOp : LHSOp); in ParseConstraint()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp637 for (const auto &[LHSOp, RHSOp] : zip_equal(AsmOperands, RHS.AsmOperands)) { in shouldBeMatchedBefore()
638 if (*LHSOp.Class < *RHSOp.Class) in shouldBeMatchedBefore()
640 if (*RHSOp.Class < *LHSOp.Class) in shouldBeMatchedBefore()
695 for (const auto &[LHSOp, RHSOp] : zip_equal(AsmOperands, RHS.AsmOperands)) { in couldMatchAmbiguouslyWith()
696 if (LHSOp.Class->Kind != RHSOp.Class->Kind || in couldMatchAmbiguouslyWith()
698 if (*LHSOp.Class < *RHSOp.Class || *RHSOp.Class < *LHSOp.Class) in couldMatchAmbiguouslyWith()
706 for (const auto &[LHSOp, RHSOp] : zip_equal(AsmOperands, RHS.AsmOperands)) { in couldMatchAmbiguouslyWith()
707 if (*LHSOp.Class < *RHSOp.Class) in couldMatchAmbiguouslyWith()
709 if (*RHSOp.Class < *LHSOp.Class) in couldMatchAmbiguouslyWith()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp2705 Value *LHSOp, *RHSOp; in visitSub() local
2707 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2708 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2714 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
2715 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2720 match(Op1, m_ZExtOrSelf(m_PtrToInt(m_Value(RHSOp))))) { in visitSub()
2722 if (GEP->getPointerOperand() == RHSOp) { in visitSub()
H A DInstCombineAndOrXor.cpp3308 auto MatchRHSOp = [LHS0, CInt](const Value *RHSOp) { in foldAndOrOfICmpEqConstantAndICmp() argument
3309 return match(RHSOp, in foldAndOrOfICmpEqConstantAndICmp()
3311 (CInt->isZero() && RHSOp == LHS0); in foldAndOrOfICmpEqConstantAndICmp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp406 SDValue RHSOp = RHS.getOperand(i); in matchBinaryPredicate() local
408 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
410 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate()
414 LHSOp.getValueType() != RHSOp.getValueType())) in matchBinaryPredicate()