Home
last modified time | relevance | path

Searched refs:TheJIT (Results 1 – 11 of 11) sorted by relevance

/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMultipleModuleTest.cpp98 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()
[all …]
DMCJITObjectCacheTest.cpp93 ASSERT_TRUE(bool(TheJIT)); in compileAndRun()
97 TheJIT->finalizeObject(); in compileAndRun()
98 void *vPtr = TheJIT->getPointerToFunction(Main); in compileAndRun()
116 TheJIT->setObjectCache(nullptr); in TEST_F()
131 TheJIT->setObjectCache(Cache.get()); in TEST_F()
157 TheJIT->setObjectCache(Cache.get()); in TEST_F()
158 TheJIT->finalizeObject(); in TEST_F()
161 TheJIT.reset(); in TEST_F()
174 TheJIT->setObjectCache(Cache.get()); in TEST_F()
191 TheJIT->setObjectCache(Cache.get()); in TEST_F()
[all …]
DMCJITTest.cpp54 void *globalPtr = TheJIT->getPointerToGlobal(Global); in TEST_F()
67 uint64_t addPtr = TheJIT->getFunctionAddress(F->getName().str()); in TEST_F()
88 uint64_t ptr = TheJIT->getFunctionAddress(Main->getName().str()); in TEST_F()
109 uint64_t rgvPtr = TheJIT->getFunctionAddress(ReturnGlobal->getName().str()); in TEST_F()
180 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str()); in TEST_F()
196 void *A = TheJIT->getPointerToFunction(Foo); in TEST_F()
197 void *B = TheJIT->getPointerToFunction(Foo); in TEST_F()
233 TheJIT->InstallLazyFunctionCreator(UnresolvedHandler); in TEST_F()
236 TheJIT->finalizeObject(); in TEST_F()
272 TheJIT->InstallLazyFunctionCreator(UnresolvedHandler); in TEST_F()
[all …]
DMCJITTestBase.h320 TheJIT.reset(EB.setEngineKind(EngineKind::JIT) in createJIT()
331 assert(TheJIT.get() != NULL && "error creating MCJIT with EngineBuilder"); in createJIT()
339 std::unique_ptr<ExecutionEngine> TheJIT; variable
/external/llvm/tools/llvm-jitlistener/
Dllvm-jitlistener.cpp141 TheJIT.reset(EngineBuilder(std::move(TheModule)) in InitEE()
151 TheJIT.reset(); in DestroyEE()
155 std::unique_ptr<ExecutionEngine> TheJIT; member in __anon60d0aa710111::JitEventListenerTest
165 TheJIT->RegisterJITEventListener(Listener.get()); in ProcessInput()
167 TheJIT->finalizeObject(); in ProcessInput()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp393 static std::unique_ptr<KaleidoscopeJIT> TheJIT; variable
532 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
554 TheJIT->addModule(std::move(TheModule)); in HandleDefinition()
583 auto H = TheJIT->addModule(std::move(TheModule)); in HandleTopLevelExpression()
587 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); in HandleTopLevelExpression()
596 TheJIT->removeModule(H); in HandleTopLevelExpression()
663 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp517 static std::unique_ptr<KaleidoscopeJIT> TheJIT; variable
806 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
828 TheJIT->addModule(std::move(TheModule)); in HandleDefinition()
857 auto H = TheJIT->addModule(std::move(TheModule)); in HandleTopLevelExpression()
861 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); in HandleTopLevelExpression()
870 TheJIT->removeModule(H); in HandleTopLevelExpression()
937 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp608 static std::unique_ptr<KaleidoscopeJIT> TheJIT; variable
924 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
946 TheJIT->addModule(std::move(TheModule)); in HandleDefinition()
975 auto H = TheJIT->addModule(std::move(TheModule)); in HandleTopLevelExpression()
979 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); in HandleTopLevelExpression()
988 TheJIT->removeModule(H); in HandleTopLevelExpression()
1055 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp678 static std::unique_ptr<KaleidoscopeJIT> TheJIT; variable
1090 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModuleAndPassManager()
1112 TheJIT->addModule(std::move(TheModule)); in HandleDefinition()
1141 auto H = TheJIT->addModule(std::move(TheModule)); in HandleTopLevelExpression()
1145 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); in HandleTopLevelExpression()
1154 TheJIT->removeModule(H); in HandleTopLevelExpression()
1222 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()
/external/llvm/docs/tutorial/
DLangImpl4.rst135 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout());
230 done by adding a global variable ``TheJIT``, and initializing it in
235 static std::unique_ptr<KaleidoscopeJIT> TheJIT;
239 TheJIT = llvm::make_unique<KaleidoscopeJIT>();
267 auto H = TheJIT->addModule(std::move(TheModule));
271 auto ExprSymbol = TheJIT->findSymbol("__anon_expr");
280 TheJIT->removeModule(H);
404 static std::unique_ptr<KaleidoscopeJIT> TheJIT;
461 TheJIT->addModule(std::move(TheModule));
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp860 static std::unique_ptr<KaleidoscopeJIT> TheJIT; variable
1323 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); in InitializeModule()
1418 TheJIT = llvm::make_unique<KaleidoscopeJIT>(); in main()