Lines Matching refs:G2
66 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() local
67 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
71 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
72 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
88 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() local
89 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
90 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
93 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)) in TEST_F()
96 Engine->updateGlobalMapping(G2, &Mem2); in TEST_F()
98 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem2)) in TEST_F()
114 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() local
117 Engine->addGlobalMapping(G2, &Mem1); in TEST_F()
118 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()