Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.cpp338 std::pair<unsigned, unsigned> LHSOp = Ops.ParseOperandName(LHSOpName, 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/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1438 Value *LHSOp = nullptr; in canonicalizeExitCondition() local
1439 if (!match(LHS, m_ZExt(m_Value(LHSOp))) || !ICmp->isSigned()) in canonicalizeExitCondition()
1442 const unsigned InnerBitWidth = DL.getTypeSizeInBits(LHSOp->getType()); in canonicalizeExitCondition()
1487 Value *LHSOp = nullptr; in canonicalizeExitCondition() local
1488 if (!match(LHS, m_ZExt(m_Value(LHSOp)))) in canonicalizeExitCondition()
1497 if (!LHS->hasOneUse() && !isa<SCEVAddRecExpr>(SE->getSCEV(LHSOp))) in canonicalizeExitCondition()
1507 Instruction::Trunc, RHS, LHSOp->getType(), "", in canonicalizeExitCondition()
1512 ICmp->setOperand(Swapped ? 1 : 0, LHSOp); in canonicalizeExitCondition()
1520 const unsigned InnerBitWidth = DL.getTypeSizeInBits(LHSOp->getType()); in canonicalizeExitCondition()
/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()
697 LHSOp.Class->Kind == ClassInfo::Token) 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
2706 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2708 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2713 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2715 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2719 if (match(Op0, m_ZExt(m_PtrToIntSameSize(DL, m_Value(LHSOp)))) && in visitSub()
2721 if (auto *GEP = dyn_cast<GEPOperator>(LHSOp)) { in visitSub()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp405 SDValue LHSOp = LHS.getOperand(i); in matchBinaryPredicate() local
407 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
409 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate()
413 if (!AllowTypeMismatch && (LHSOp.getValueType() != SVT || in matchBinaryPredicate()
414 LHSOp.getValueType() != RHSOp.getValueType())) in matchBinaryPredicate()