Searched refs:SubOneOp (Results 1 – 2 of 2) sorted by relevance
1195 BinaryOperator *SubOneOp; in detectPopcountIdiom() local1197 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()1201 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()1203 if (!SubOneOp || SubOneOp->getOperand(0) != VarX1) in detectPopcountIdiom()1206 ConstantInt *Dec = dyn_cast<ConstantInt>(SubOneOp->getOperand(1)); in detectPopcountIdiom()1208 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom()1209 (SubOneOp->getOpcode() == Instruction::Add && in detectPopcountIdiom()
1033 BinaryOperator *SubOneOp; in detectPopcountIdiom() local1035 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()1039 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()1041 if (!SubOneOp) in detectPopcountIdiom()1044 Instruction *SubInst = cast<Instruction>(SubOneOp); in detectPopcountIdiom()