reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
97 TheJIT->addModule(std::move(B)); 99 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); 102 ptr = TheJIT->getFunctionAddress(FB->getName().str()); 117 TheJIT->addModule(std::move(B)); 119 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str()); 120 TheJIT->finalizeObject(); 123 ptr = TheJIT->getFunctionAddress(FA->getName().str()); 138 TheJIT->addModule(std::move(B)); 140 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str()); 141 TheJIT->finalizeObject(); 144 ptr = TheJIT->getFunctionAddress(FA->getName().str()); 159 TheJIT->addModule(std::move(B)); 161 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); 164 ptr = TheJIT->getFunctionAddress(FB->getName().str()); 180 TheJIT->addModule(std::move(B)); 182 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str()); 183 TheJIT->finalizeObject(); 186 ptr = TheJIT->getFunctionAddress(FA2->getName().str()); 223 TheJIT->addModule(std::move(B)); 225 EXPECT_EQ(GVA, TheJIT->FindGlobalVariableNamed("GVA")); 226 EXPECT_EQ(GVB, TheJIT->FindGlobalVariableNamed("GVB")); 227 EXPECT_EQ(GVC, TheJIT->FindGlobalVariableNamed("GVC",true)); 228 EXPECT_EQ(nullptr, TheJIT->FindGlobalVariableNamed("GVC")); 230 uint64_t FBPtr = TheJIT->getFunctionAddress(FB->getName().str()); 231 TheJIT->finalizeObject(); 237 uint64_t FAPtr = TheJIT->getFunctionAddress(FA->getName().str()); 256 TheJIT->addModule(std::move(B)); 257 TheJIT->addModule(std::move(C)); 259 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str()); 262 ptr = TheJIT->getFunctionAddress(FB->getName().str()); 265 ptr = TheJIT->getFunctionAddress(FA->getName().str()); 281 TheJIT->addModule(std::move(B)); 282 TheJIT->addModule(std::move(C)); 284 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); 287 ptr = TheJIT->getFunctionAddress(FB->getName().str()); 290 ptr = TheJIT->getFunctionAddress(FC->getName().str()); 306 TheJIT->addModule(std::move(B)); 307 TheJIT->addModule(std::move(C)); 309 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str()); 312 ptr = TheJIT->getFunctionAddress(FB->getName().str()); 315 ptr = TheJIT->getFunctionAddress(FA->getName().str()); 331 TheJIT->addModule(std::move(B)); 332 TheJIT->addModule(std::move(C)); 334 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); 337 ptr = TheJIT->getFunctionAddress(FB->getName().str()); 340 ptr = TheJIT->getFunctionAddress(FC->getName().str()); 356 TheJIT->addModule(std::move(B)); 358 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); 361 ptr = TheJIT->getFunctionAddress(FB1->getName().str()); 377 TheJIT->addModule(std::move(B)); 379 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str()); 382 ptr = TheJIT->getFunctionAddress(FA->getName().str()); 398 TheJIT->addModule(std::move(B)); 400 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str()); 403 ptr = TheJIT->getFunctionAddress(FB2->getName().str()); 419 TheJIT->addModule(std::move(B)); 421 EXPECT_EQ(FA, TheJIT->FindFunctionNamed(FA->getName().data())); 422 EXPECT_EQ(FB1, TheJIT->FindFunctionNamed(FB1->getName().data()));unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
92 ASSERT_TRUE(bool(TheJIT)); 96 TheJIT->finalizeObject(); 97 void *vPtr = TheJIT->getPointerToFunction(Main); 115 TheJIT->setObjectCache(nullptr); 130 TheJIT->setObjectCache(Cache.get()); 156 TheJIT->setObjectCache(Cache.get()); 157 TheJIT->finalizeObject(); 160 TheJIT.reset(); 173 TheJIT->setObjectCache(Cache.get()); 190 TheJIT->setObjectCache(Cache.get()); 191 TheJIT->finalizeObject(); 194 TheJIT.reset(); 208 TheJIT->setObjectCache(Cache.get());unittests/ExecutionEngine/MCJIT/MCJITTest.cpp
52 void *globalPtr = TheJIT->getPointerToGlobal(Global); 65 uint64_t addPtr = TheJIT->getFunctionAddress(F->getName().str()); 86 uint64_t ptr = TheJIT->getFunctionAddress(Main->getName().str()); 108 uint64_t rgvPtr = TheJIT->getFunctionAddress(ReturnGlobal->getName().str()); 185 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str()); 202 void *A = TheJIT->getPointerToFunction(Foo); 203 void *B = TheJIT->getPointerToFunction(Foo); 241 TheJIT->InstallLazyFunctionCreator(UnresolvedHandler); 244 TheJIT->finalizeObject(); 282 TheJIT->InstallLazyFunctionCreator(UnresolvedHandler); 285 TheJIT->finalizeObject();unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
309 TheJIT.reset(EB.setEngineKind(EngineKind::JIT) 318 assert(TheJIT.get() != NULL && "error creating MCJIT with EngineBuilder");