Lines Matching refs:TheJIT
98 TheJIT->addModule(std::move(B)); in TEST_F()
100 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
103 ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
118 TheJIT->addModule(std::move(B)); in TEST_F()
120 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
121 TheJIT->finalizeObject(); in TEST_F()
124 ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
139 TheJIT->addModule(std::move(B)); in TEST_F()
141 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
142 TheJIT->finalizeObject(); in TEST_F()
145 ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
160 TheJIT->addModule(std::move(B)); in TEST_F()
162 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
165 ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
181 TheJIT->addModule(std::move(B)); in TEST_F()
183 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
184 TheJIT->finalizeObject(); in TEST_F()
187 ptr = TheJIT->getFunctionAddress(FA2->getName().str()); in TEST_F()
221 TheJIT->addModule(std::move(B)); in TEST_F()
223 EXPECT_EQ(GVA, TheJIT->FindGlobalVariableNamed("GVA")); in TEST_F()
224 EXPECT_EQ(GVB, TheJIT->FindGlobalVariableNamed("GVB")); in TEST_F()
225 EXPECT_EQ(GVC, TheJIT->FindGlobalVariableNamed("GVC",true)); in TEST_F()
226 EXPECT_EQ(nullptr, TheJIT->FindGlobalVariableNamed("GVC")); in TEST_F()
228 uint64_t FBPtr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
229 TheJIT->finalizeObject(); in TEST_F()
235 uint64_t FAPtr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
254 TheJIT->addModule(std::move(B)); in TEST_F()
255 TheJIT->addModule(std::move(C)); in TEST_F()
257 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str()); in TEST_F()
260 ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
263 ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
279 TheJIT->addModule(std::move(B)); in TEST_F()
280 TheJIT->addModule(std::move(C)); in TEST_F()
282 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
285 ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
288 ptr = TheJIT->getFunctionAddress(FC->getName().str()); in TEST_F()
304 TheJIT->addModule(std::move(B)); in TEST_F()
305 TheJIT->addModule(std::move(C)); in TEST_F()
307 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str()); in TEST_F()
310 ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
313 ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
329 TheJIT->addModule(std::move(B)); in TEST_F()
330 TheJIT->addModule(std::move(C)); in TEST_F()
332 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
335 ptr = TheJIT->getFunctionAddress(FB->getName().str()); in TEST_F()
338 ptr = TheJIT->getFunctionAddress(FC->getName().str()); in TEST_F()
354 TheJIT->addModule(std::move(B)); in TEST_F()
356 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
359 ptr = TheJIT->getFunctionAddress(FB1->getName().str()); in TEST_F()
375 TheJIT->addModule(std::move(B)); in TEST_F()
377 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str()); in TEST_F()
380 ptr = TheJIT->getFunctionAddress(FA->getName().str()); in TEST_F()
396 TheJIT->addModule(std::move(B)); in TEST_F()
398 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str()); in TEST_F()
401 ptr = TheJIT->getFunctionAddress(FB2->getName().str()); in TEST_F()
417 TheJIT->addModule(std::move(B)); in TEST_F()
419 EXPECT_EQ(FA, TheJIT->FindFunctionNamed(FA->getName().data())); in TEST_F()
420 EXPECT_EQ(FB1, TheJIT->FindFunctionNamed(FB1->getName().data())); in TEST_F()