Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp355 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0))) { in SimplifyDemandedUseBits() local
357 if (LHSInst->getOpcode() == Instruction::And && LHSInst->hasOneUse() && in SimplifyDemandedUseBits()
359 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()
H A DInstructionCombining.cpp1223 Instruction *LHSInst = dyn_cast<Instruction>(LHS); in matchSymmetricPair() local
1225 if (!LHSInst || !RHSInst || LHSInst->getOpcode() != RHSInst->getOpcode()) in matchSymmetricPair()
1227 switch (LHSInst->getOpcode()) { in matchSymmetricPair()
1231 Value *Cond = LHSInst->getOperand(0); in matchSymmetricPair()
1232 Value *TrueVal = LHSInst->getOperand(1); in matchSymmetricPair()
1233 Value *FalseVal = LHSInst->getOperand(2); in matchSymmetricPair()
1241 MinMaxIntrinsic *LHSMinMax = dyn_cast<MinMaxIntrinsic>(LHSInst); in matchSymmetricPair()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp779 auto LHSInst = dyn_cast<Instruction>(LHS); in computeValueKnownInPredecessorsImpl() local
780 if (LHSInst && LHSInst->getParent() == BB) in computeValueKnownInPredecessorsImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4839 MachineInstr *LHSInst = getDefIgnoringCopies(AndLHS, MRI); in matchNarrowBinopFeedingAnd() local
4840 if (!LHSInst) in matchNarrowBinopFeedingAnd()
4842 unsigned LHSOpc = LHSInst->getOpcode(); in matchNarrowBinopFeedingAnd()
4880 Register BinOpLHS = LHSInst->getOperand(1).getReg(); in matchNarrowBinopFeedingAnd()
4881 Register BinOpRHS = LHSInst->getOperand(2).getReg(); in matchNarrowBinopFeedingAnd()