Lines Matching defs:DInst
328 Instruction *DInst = CInst->getNextNode();
338 ASSERT_TRUE(DInst->DebugMarker);
339 EXPECT_FALSE(DInst->DebugMarker->StoredDbgRecords.empty());
343 DInst->moveBeforePreserving(BB, BB.begin());
344 EXPECT_FALSE(DInst->DebugMarker->StoredDbgRecords.empty());
345 EXPECT_EQ(&*BB.begin(), DInst);
349 DInst->moveAfterPreserving(CInst);
350 EXPECT_FALSE(DInst->DebugMarker->StoredDbgRecords.empty());
353 DInst->moveBeforePreserving(BB, BB.begin());
361 EXPECT_FALSE(DInst->DebugMarker->StoredDbgRecords.empty());
363 EXPECT_EQ(CInst->getNextNode(), DInst);
367 EXPECT_EQ(&*BB.begin(), DInst);
370 // Now move CInst to the position of DInst, but using getIterator instead of
375 CInst->moveBefore(BB, DInst->getIterator());
377 EXPECT_TRUE(!DInst->DebugMarker ||
378 DInst->DebugMarker->StoredDbgRecords.empty());
417 Instruction *DInst = CInst->getNextNode();
443 EXPECT_FALSE(DInst->hasDbgRecords());