Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1211 BinaryOperator *SubOneOp; in detectPopcountIdiom() local
1213 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()
1217 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()
1219 if (!SubOneOp || SubOneOp->getOperand(0) != VarX1) in detectPopcountIdiom()
1222 ConstantInt *Dec = dyn_cast<ConstantInt>(SubOneOp->getOperand(1)); in detectPopcountIdiom()
1224 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom()
1225 (SubOneOp->getOpcode() == Instruction::Add && in detectPopcountIdiom()