Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1646 Instruction *DefX2, *CountInst; in detectPopcountIdiom() local
1650 DefX2 = CountInst = nullptr; in detectPopcountIdiom()
1659 DefX2 = dyn_cast<Instruction>(T); in detectPopcountIdiom()
1666 if (!DefX2 || DefX2->getOpcode() != Instruction::And) in detectPopcountIdiom()
1671 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()
1672 VarX1 = DefX2->getOperand(1); in detectPopcountIdiom()
1674 VarX1 = DefX2->getOperand(0); in detectPopcountIdiom()
1675 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()
1690 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp991 auto *DefX2 = cast<MemoryDef>(MSSA.getMemoryAccess(StoreX2)); in TEST_F() local
993 EXPECT_EQ(DefX2->getDefiningAccess(), DefY); in TEST_F()
994 MemoryAccess *X2Clobber = MSSA.getWalker()->getClobberingMemoryAccess(DefX2); in TEST_F()
1000 EXPECT_EQ(DefX2->getDefiningAccess(), DefY); in TEST_F()
1001 EXPECT_EQ(MSSA.getWalker()->getClobberingMemoryAccess(DefX2), in TEST_F()