Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp620 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F() local
625 EXPECT_EQ(OldFunc, cast<AllocaInst>(OldIntrin->getAddress())-> in TEST_F()
631 if (OldIntrin->getDebugLoc()->getInlinedAt()) { in TEST_F()
634 EXPECT_EQ(OldIntrin->getVariable(), NewIntrin->getVariable()); in TEST_F()
638 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
643 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F() local
647 if (!OldIntrin->getDebugLoc()->getInlinedAt()) { in TEST_F()
650 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()