Lines Matching defs:DVR1
910 DbgVariableRecord *DVR1 = nullptr;
921 DVR1 = new DbgVariableRecord(DPI);
922 EXPECT_EQ(DVR1->getVariable(), Var);
923 EXPECT_EQ(DVR1->getExpression(), Expr);
924 EXPECT_EQ(DVR1->getDebugLoc().get(), Loc);
925 EXPECT_EQ(DVR1->getRawLocation(), MLoc);
929 // Re-create from DVR1, inserting at front.
930 DVR1->createDebugIntrinsic(&*M,
950 EXPECT_NE(DVR1->getRawLocation(), DVR2->getRawLocation());
962 // Insert DbgRecords into markers, order should come out DVR2, DVR1.
963 FirstInst->DebugMarker->insertDbgRecord(DVR1, false);
968 (&Item == DVR1 && ItCount == 1));
984 (Item.getRawLocation() == DVR1->getRawLocation() && ItCount == 1));
987 EXPECT_NE(&Item, DVR1);
1000 // same values as DVR1.
1004 DVR1->getRawLocation());
1013 // Should be the DVR1 and DVR2 objects.
1017 (&Item == DVR1 && ItCount == 1));
1034 // Test again that it's those two DbgVariableRecords, DVR1 and DVR2.
1038 (&Item == DVR1 && ItCount == 1));
1135 DbgVariableRecord *DVR1 = cast<DbgVariableRecord>(
1137 EXPECT_EQ(DVR1->getMarker(), FirstInst->DebugMarker);
1139 EXPECT_TRUE(isa<Argument>(DVR1->getVariableLocationOp(0)));
1164 DVR1->setMarker(nullptr);
1169 DVR1->setMarker(FirstInst->DebugMarker);
1171 DILocalVariable *DLV1 = DVR1->getVariable();
1172 DIExpression *Expr1 = DVR1->getExpression();