Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp778 Instruction *DefX2, *CountInst; in detectPopcountIdiom() local
782 DefX2 = CountInst = nullptr; in detectPopcountIdiom()
791 DefX2 = dyn_cast<Instruction>(T); in detectPopcountIdiom()
798 if (!DefX2 || DefX2->getOpcode() != Instruction::And) in detectPopcountIdiom()
803 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()
804 VarX1 = DefX2->getOperand(1); in detectPopcountIdiom()
806 VarX1 = DefX2->getOperand(0); in detectPopcountIdiom()
807 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()
826 (PhiX->getOperand(0) != DefX2 && PhiX->getOperand(1) != DefX2)) { in detectPopcountIdiom()