Searched refs:SubOneOp (Results 1 – 1 of 1) sorted by relevance
2030 BinaryOperator *SubOneOp; in detectPopcountIdiom() local2032 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()2036 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()2038 if (!SubOneOp || SubOneOp->getOperand(0) != VarX1) in detectPopcountIdiom()2041 ConstantInt *Dec = dyn_cast<ConstantInt>(SubOneOp->getOperand(1)); in detectPopcountIdiom()2043 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom()2044 (SubOneOp->getOpcode() == Instruction::Add && in detectPopcountIdiom()