Searched refs:SubOneOp (Results 1 – 1 of 1) sorted by relevance
1671 BinaryOperator *SubOneOp; in detectPopcountIdiom() local1673 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()1677 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()1679 if (!SubOneOp || SubOneOp->getOperand(0) != VarX1) in detectPopcountIdiom()1682 ConstantInt *Dec = dyn_cast<ConstantInt>(SubOneOp->getOperand(1)); in detectPopcountIdiom()1684 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom()1685 (SubOneOp->getOpcode() == Instruction::Add && in detectPopcountIdiom()