Lines Matching refs:Cache
123 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
130 TheJIT->setObjectCache(Cache.get()); in TEST_F()
133 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
139 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer)); in TEST_F()
142 ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
146 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()
152 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
156 TheJIT->setObjectCache(Cache.get()); in TEST_F()
173 TheJIT->setObjectCache(Cache.get()); in TEST_F()
177 EXPECT_TRUE(Cache->wasModuleLookedUp(SecondModulePointer)); in TEST_F()
180 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()
186 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
190 TheJIT->setObjectCache(Cache.get()); in TEST_F()
208 TheJIT->setObjectCache(Cache.get()); in TEST_F()
211 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F()
218 EXPECT_TRUE(Cache->wasModuleLookedUp(SecondModulePointer)); in TEST_F()
221 ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F()
225 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()