Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp361 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F() local
366 EXPECT_EQ(OldFunc, cast<AllocaInst>(OldIntrin->getAddress())-> in TEST_F()
374 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
378 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F() local
384 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp614 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F() local
619 EXPECT_EQ(OldFunc, cast<AllocaInst>(OldIntrin->getAddress())-> in TEST_F()
625 if (OldIntrin->getDebugLoc()->getInlinedAt()) { in TEST_F()
628 EXPECT_EQ(OldIntrin->getVariable(), NewIntrin->getVariable()); in TEST_F()
632 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
637 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F() local
641 if (!OldIntrin->getDebugLoc()->getInlinedAt()) { in TEST_F()
644 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()