Searched refs:OldIntrin (Results 1 – 2 of 2) sorted by relevance
361 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F() local366 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() local384 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()
614 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F() local619 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() local641 if (!OldIntrin->getDebugLoc()->getInlinedAt()) { in TEST_F()644 cast<DISubprogram>(OldIntrin->getVariable()->getScope())); in TEST_F()