Lines Matching refs:Cache
124 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
131 TheJIT->setObjectCache(Cache.get()); in TEST_F()
134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
140 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer)); in TEST_F()
143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
147 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()
153 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
157 TheJIT->setObjectCache(Cache.get()); in TEST_F()
174 TheJIT->setObjectCache(Cache.get()); in TEST_F()
178 EXPECT_TRUE(Cache->wasModuleLookedUp(SecondModulePointer)); in TEST_F()
181 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()
187 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
191 TheJIT->setObjectCache(Cache.get()); in TEST_F()
209 TheJIT->setObjectCache(Cache.get()); in TEST_F()
212 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F()
219 EXPECT_TRUE(Cache->wasModuleLookedUp(SecondModulePointer)); in TEST_F()
222 ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F()
226 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()