Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp1010 Instruction *DefX2, *CountInst; in detectPopcountIdiom() local
1014 DefX2 = CountInst = nullptr; in detectPopcountIdiom()
1023 DefX2 = dyn_cast<Instruction>(T); in detectPopcountIdiom()
1030 if (!DefX2 || DefX2->getOpcode() != Instruction::And) in detectPopcountIdiom()
1035 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()
1036 VarX1 = DefX2->getOperand(1); in detectPopcountIdiom()
1038 VarX1 = DefX2->getOperand(0); in detectPopcountIdiom()
1039 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()
1058 (PhiX->getOperand(0) != DefX2 && PhiX->getOperand(1) != DefX2)) { in detectPopcountIdiom()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp1172 Instruction *DefX2, *CountInst; in detectPopcountIdiom() local
1176 DefX2 = CountInst = nullptr; in detectPopcountIdiom()
1185 DefX2 = dyn_cast<Instruction>(T); in detectPopcountIdiom()
1192 if (!DefX2 || DefX2->getOpcode() != Instruction::And) in detectPopcountIdiom()
1197 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) in detectPopcountIdiom()
1198 VarX1 = DefX2->getOperand(1); in detectPopcountIdiom()
1200 VarX1 = DefX2->getOperand(0); in detectPopcountIdiom()
1201 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); in detectPopcountIdiom()
1216 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp988 auto *DefX2 = cast<MemoryDef>(MSSA.getMemoryAccess(StoreX2)); in TEST_F() local
990 EXPECT_EQ(DefX2->getDefiningAccess(), DefY); in TEST_F()
991 MemoryAccess *X2Clobber = MSSA.getWalker()->getClobberingMemoryAccess(DefX2); in TEST_F()
997 EXPECT_EQ(DefX2->getDefiningAccess(), DefY); in TEST_F()
998 EXPECT_EQ(MSSA.getWalker()->getClobberingMemoryAccess(DefX2), in TEST_F()