/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITMultipleModuleTest.cpp | 32 EXPECT_NE(0, TheJIT->getObjectImage()) 35 TheJIT->addModule(createEmptyModule("<other module>")); 36 TheJIT->addModule(createEmptyModule("<other other module>")); 39 EXPECT_NE(0, TheJIT->getObjectImage()) 75 EXPECT_NE(0, TheJIT->getObjectImage()) 78 TheJIT->addModule(createEmptyModule("<other module>")); 79 TheJIT->addModule(createEmptyModule("<other other module>")); 82 EXPECT_NE(0, TheJIT->getObjectImage()) 98 TheJIT->addModule(std::move(B)); 100 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()) [all...] |
MCJITObjectCacheTest.cpp | 93 ASSERT_TRUE(bool(TheJIT)); 97 TheJIT->finalizeObject(); 98 void *vPtr = TheJIT->getPointerToFunction(Main); 116 TheJIT->setObjectCache(nullptr); 131 TheJIT->setObjectCache(Cache.get()); 157 TheJIT->setObjectCache(Cache.get()); 158 TheJIT->finalizeObject(); 161 TheJIT.reset(); 174 TheJIT->setObjectCache(Cache.get()); 191 TheJIT->setObjectCache(Cache.get()) [all...] |
MCJITTest.cpp | 43 //EXPECT_NE(0, TheJIT->getObjectImage()) 54 void *globalPtr = TheJIT->getPointerToGlobal(Global); 67 uint64_t addPtr = TheJIT->getFunctionAddress(F->getName().str()); 88 uint64_t ptr = TheJIT->getFunctionAddress(Main->getName().str()); 109 uint64_t rgvPtr = TheJIT->getFunctionAddress(ReturnGlobal->getName().str()); 139 void *gvPtr = TheJIT->getPointerToGlobal(GV); 142 void *vPtr = TheJIT->getFunctionAddress(IncrementGlobal->getName().str()); 180 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str()); 196 void *A = TheJIT->getPointerToFunction(Foo); 197 void *B = TheJIT->getPointerToFunction(Foo) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITMultipleModuleTest.cpp | 32 EXPECT_NE(0, TheJIT->getObjectImage()) 35 TheJIT->addModule(createEmptyModule("<other module>")); 36 TheJIT->addModule(createEmptyModule("<other other module>")); 39 EXPECT_NE(0, TheJIT->getObjectImage()) 75 EXPECT_NE(0, TheJIT->getObjectImage()) 78 TheJIT->addModule(createEmptyModule("<other module>")); 79 TheJIT->addModule(createEmptyModule("<other other module>")); 82 EXPECT_NE(0, TheJIT->getObjectImage()) 98 TheJIT->addModule(std::move(B)); 100 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str()) [all...] |
MCJITObjectCacheTest.cpp | 93 ASSERT_TRUE(bool(TheJIT)); 97 TheJIT->finalizeObject(); 98 void *vPtr = TheJIT->getPointerToFunction(Main); 116 TheJIT->setObjectCache(nullptr); 131 TheJIT->setObjectCache(Cache.get()); 157 TheJIT->setObjectCache(Cache.get()); 158 TheJIT->finalizeObject(); 161 TheJIT.reset(); 174 TheJIT->setObjectCache(Cache.get()); 191 TheJIT->setObjectCache(Cache.get()) [all...] |
MCJITTest.cpp | 42 //EXPECT_NE(0, TheJIT->getObjectImage()) 53 void *globalPtr = TheJIT->getPointerToGlobal(Global); 66 uint64_t addPtr = TheJIT->getFunctionAddress(F->getName().str()); 87 uint64_t ptr = TheJIT->getFunctionAddress(Main->getName().str()); 108 uint64_t rgvPtr = TheJIT->getFunctionAddress(ReturnGlobal->getName().str()); 138 void *gvPtr = TheJIT->getPointerToGlobal(GV); 141 void *vPtr = TheJIT->getFunctionAddress(IncrementGlobal->getName().str()); 179 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str()); 195 void *A = TheJIT->getPointerToFunction(Foo); 196 void *B = TheJIT->getPointerToFunction(Foo) [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 113 JIT *TheJIT; 118 TheJIT(jit) {} 122 assert(locked.holds(TheJIT->lock)); 127 assert(lck.holds(TheJIT->lock)); 133 assert(locked.holds(TheJIT->lock)); 147 assert(locked.holds(TheJIT->lock)); 191 JIT *TheJIT; 195 : state(&jit), nextGOTIndex(0), JE(je), TheJIT(&jit) { 363 JIT *TheJIT; 368 EmittedFunctions(this), TheJIT(&jit) [all...] |
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
JITTest.cpp | 199 TheJIT.reset(EngineBuilder(M).setEngineKind(EngineKind::JIT) 202 ASSERT_TRUE(TheJIT.get() != NULL) << Error; 212 OwningPtr<ExecutionEngine> TheJIT; 301 TheJIT->addGlobalMapping(KnownFunction, (void*)(intptr_t)PlusOne); 314 TheJIT->DisableLazyCompilation(true); 316 (intptr_t)TheJIT->getPointerToFunction(TestFunction)); 323 TheJIT->DisableLazyCompilation(true); 371 reinterpret_cast<void(*)()>((intptr_t)TheJIT->getPointerToFunction(Func1)); 379 TheJIT->DisableLazyCompilation(true); 401 (void)TheJIT->getPointerToFunction(Func1) [all...] |
/external/llvm/tools/llvm-jitlistener/ |
llvm-jitlistener.cpp | 139 TheJIT.reset(EngineBuilder(std::move(TheModule)) 149 TheJIT.reset(); 153 std::unique_ptr<ExecutionEngine> TheJIT; 163 TheJIT->RegisterJITEventListener(Listener.get()); 165 TheJIT->finalizeObject();
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-jitlistener/ |
llvm-jitlistener.cpp | 137 TheJIT.reset(EngineBuilder(std::move(TheModule)) 147 TheJIT.reset(); 151 std::unique_ptr<ExecutionEngine> TheJIT; 161 TheJIT->RegisterJITEventListener(Listener.get()); 163 TheJIT->finalizeObject();
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 405 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 542 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 564 TheJIT->addModule(std::move(TheModule)); 592 auto H = TheJIT->addModule(std::move(TheModule)); 596 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 605 TheJIT->removeModule(H); 672 TheJIT = llvm::make_unique<KaleidoscopeJIT>();
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 417 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 554 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 577 TheJIT->addModule(std::move(TheModule)); 606 auto H = TheJIT->addModule(std::move(TheModule)); 610 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 619 TheJIT->removeModule(H); 692 TheJIT = llvm::make_unique<KaleidoscopeJIT>();
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 530 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 814 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 836 TheJIT->addModule(std::move(TheModule)); 864 auto H = TheJIT->addModule(std::move(TheModule)); 868 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 877 TheJIT->removeModule(H); 944 TheJIT = llvm::make_unique<KaleidoscopeJIT>();
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 544 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 828 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 851 TheJIT->addModule(std::move(TheModule)); 880 auto H = TheJIT->addModule(std::move(TheModule)); 884 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 893 TheJIT->removeModule(H); 966 TheJIT = llvm::make_unique<KaleidoscopeJIT>();
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
toy.cpp | 701 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1112 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1131 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
toy.cpp | 712 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1123 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1142 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
toy.cpp | 691 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1094 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1102 TheJIT->addModule(std::move(TheModule)); 1130 auto H = TheJIT->addModule(std::move(TheModule)); 1134 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 1143 TheJIT->removeModule(H); [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
toy.cpp | 691 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1094 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1102 TheJIT->addModule(std::move(TheModule)); 1130 auto H = TheJIT->addModule(std::move(TheModule)); 1134 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 1143 TheJIT->removeModule(H); [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
toy.cpp | 691 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1094 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1102 TheJIT->addModule(std::move(TheModule)); 1130 auto H = TheJIT->addModule(std::move(TheModule)); 1134 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 1143 TheJIT->removeModule(H); [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
toy.cpp | 679 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1090 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1109 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); 1137 auto H = TheJIT->addModule(std::move(TheModule)); 1141 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 1150 TheJIT->removeModule(H); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 621 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 932 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 954 TheJIT->addModule(std::move(TheModule)); 982 auto H = TheJIT->addModule(std::move(TheModule)); 986 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 995 TheJIT->removeModule(H); 1062 TheJIT = llvm::make_unique<KaleidoscopeJIT>();
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 692 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1098 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1120 TheJIT->addModule(std::move(TheModule)); 1148 auto H = TheJIT->addModule(std::move(TheModule)); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
toy.cpp | 703 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1106 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1115 TheJIT->addModule(std::move(TheModule)); 1144 auto H = TheJIT->addModule(std::move(TheModule)); 1150 (double (*)())(intptr_t)TheJIT->getSymbolAddress("__anon_expr"); 1155 TheJIT->removeModule(H); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
toy.cpp | 703 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1106 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1115 TheJIT->addModule(std::move(TheModule)); 1144 auto H = TheJIT->addModule(std::move(TheModule)); 1148 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 1157 TheJIT->removeModule(H); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
toy.cpp | 703 static std::unique_ptr<KaleidoscopeJIT> TheJIT; 1106 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1115 TheJIT->addModule(std::move(TheModule)); 1144 auto H = TheJIT->addModule(std::move(TheModule)); 1148 auto ExprSymbol = TheJIT->findSymbol("__anon_expr"); 1157 TheJIT->removeModule(H); [all...] |