Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp350 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0))) { in SimplifyDemandedUseBits() local
352 if (LHSInst->getOpcode() == Instruction::And && LHSInst->hasOneUse() && in SimplifyDemandedUseBits()
354 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()
H A DInstructionCombining.cpp1246 Instruction *LHSInst = dyn_cast<Instruction>(LHS); in matchSymmetricPair() local
1248 if (!LHSInst || !RHSInst || LHSInst->getOpcode() != RHSInst->getOpcode()) in matchSymmetricPair()
1250 switch (LHSInst->getOpcode()) { in matchSymmetricPair()
1254 Value *Cond = LHSInst->getOperand(0); in matchSymmetricPair()
1255 Value *TrueVal = LHSInst->getOperand(1); in matchSymmetricPair()
1256 Value *FalseVal = LHSInst->getOperand(2); in matchSymmetricPair()
1264 MinMaxIntrinsic *LHSMinMax = dyn_cast<MinMaxIntrinsic>(LHSInst); in matchSymmetricPair()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp776 auto LHSInst = dyn_cast<Instruction>(LHS); in computeValueKnownInPredecessorsImpl() local
777 if (LHSInst && LHSInst->getParent() == BB) in computeValueKnownInPredecessorsImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5001 MachineInstr *LHSInst = getDefIgnoringCopies(AndLHS, MRI); in matchNarrowBinopFeedingAnd() local
5002 if (!LHSInst) in matchNarrowBinopFeedingAnd()
5004 unsigned LHSOpc = LHSInst->getOpcode(); in matchNarrowBinopFeedingAnd()
5042 Register BinOpLHS = LHSInst->getOperand(1).getReg(); in matchNarrowBinopFeedingAnd()
5043 Register BinOpRHS = LHSInst->getOperand(2).getReg(); in matchNarrowBinopFeedingAnd()