Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1465 Value *LHSOp = nullptr; in canonicalizeExitCondition() local
1466 if (!match(LHS, m_ZExt(m_Value(LHSOp))) || !ICmp->isSigned()) in canonicalizeExitCondition()
1470 const unsigned InnerBitWidth = DL.getTypeSizeInBits(LHSOp->getType()); in canonicalizeExitCondition()
1515 Value *LHSOp = nullptr; in canonicalizeExitCondition() local
1516 if (!match(LHS, m_ZExt(m_Value(LHSOp)))) in canonicalizeExitCondition()
1525 if (!LHS->hasOneUse() && !isa<SCEVAddRecExpr>(SE->getSCEV(LHSOp))) in canonicalizeExitCondition()
1535 CastInst::Create(Instruction::Trunc, RHS, LHSOp->getType(), "", in canonicalizeExitCondition()
1537 ICmp->setOperand(Swapped ? 1 : 0, LHSOp); in canonicalizeExitCondition()
1545 const unsigned InnerBitWidth = DL.getTypeSizeInBits(LHSOp->getType()); in canonicalizeExitCondition()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp274 std::pair<unsigned,unsigned> LHSOp = Ops.ParseOperandName(LHSOpName, false); in ParseConstraint() local
286 bool FirstIsDest = (LHSOp < RHSOp); in ParseConstraint()
287 std::pair<unsigned,unsigned> DestOp = (FirstIsDest ? LHSOp : RHSOp); in ParseConstraint()
289 std::pair<unsigned,unsigned> SrcOp = (FirstIsDest ? RHSOp : LHSOp); in ParseConstraint()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp2146 Value *LHSOp, *RHSOp; in visitSub() local
2147 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) && in visitSub()
2149 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2154 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) && in visitSub()
2156 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp350 SDValue LHSOp = LHS.getOperand(i); in matchBinaryPredicate() local
352 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
354 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate()
358 if (!AllowTypeMismatch && (LHSOp.getValueType() != SVT || in matchBinaryPredicate()
359 LHSOp.getValueType() != RHSOp.getValueType())) in matchBinaryPredicate()