Home
last modified time | relevance | path

Searched refs:addModule (Results 1 – 25 of 52) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DIRSymtab.cpp109 Error addModule(Module *M);
117 Error Builder::addModule(Module *M) { in addModule() function in __anon76d26b6c0111::Builder
139 Msymtab.addModule(M); in addModule()
331 if (Error Err = addModule(M)) in build()
H A DIRObjectFile.cpp32 SymTab.addModule(M.get()); in IRObjectFile()
H A DModuleSymbolTable.cpp57 void ModuleSymbolTable::addModule(Module *M) { in addModule() function in ModuleSymbolTable
/netbsd-src/external/apache2/llvm/dist/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp80 Error addModule(ThreadSafeModule TSM) { in addModule() function in SpeculativeJIT
178 ExitOnErr(SJ->addModule(ThreadSafeModule(std::move(M), std::move(Ctx)))); in main()
/netbsd-src/external/apache2/llvm/dist/clang/examples/clang-interpreter/
H A Dmain.cpp104 Error addModule(ThreadSafeModule M) { in addModule() function in llvm::orc::SimpleJIT
224 ExitOnErr(J->addModule( in main()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp605 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in thinLink()
726 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in import()
759 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in internalize()
818 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in codegen()
857 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in runAll()
1002 } else if (!CodeGen.addModule(Module.get())) { in main()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/
H A DIncrementalExecutor.h42 llvm::Error addModule(std::unique_ptr<llvm::Module> M);
H A DIncrementalExecutor.cpp55 llvm::Error IncrementalExecutor::addModule(std::unique_ptr<llvm::Module> M) { in addModule() function in clang::IncrementalExecutor
H A DInterpreter.cpp217 if (auto Err = IncrExecutor->addModule(std::move(T.TheModule))) in Execute()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/
H A DBuildingAJIT3.rst41 Chapter 2, but its addModule method behaves quite differently from the layers
143 call to addModule, and use the resulting indirect stubs manager to create
154 return cantFail(CODLayer.addModule(std::move(Ms),
166 Finally, we need to replace the references to OptimizeLayer in our addModule,
H A DBuildingAJIT2.rst55 apply to each Module that is added via addModule:
93 return cantFail(OptimizeLayer.addModule(std::move(M),
97 Next we need to update our addModule method to replace the call to
137 addModule the OptimizeLayer will call our optimizeModule function before passing
139 called optimizeModule directly in our addModule function and not gone to the
H A DBuildingAJIT1.rst68 1. ``Error addModule(std::unique_ptr<Module> M)``: Make the given IR module
79 J.addModule(buildModule());
222 void addModule(std::unique_ptr<Module> M) {
231 Now we come to the first of our JIT API methods: addModule. This method is
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DModuleSymbolTable.h47 void addModule(Module *M);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h95 void addModule(std::unique_ptr<Module> M) { in addModule() function
214 void addModule(std::unique_ptr<Module> M) override;
H A DMCJIT.cpp88 OwnedModules.addModule(std::move(First)); in MCJIT()
104 void MCJIT::addModule(std::unique_ptr<Module> M) { in addModule() function in MCJIT
110 OwnedModules.addModule(std::move(M)); in addModule()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h89 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h89 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h96 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DLLVMContext.h314 void addModule(Module*);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h81 bool addModule(struct LTOModule *);
H A DThinLTOCodeGenerator.h56 void addModule(StringRef Identifier, StringRef Data);
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp582 ExitOnErr(TheJIT->addModule( in HandleDefinition()
615 ExitOnErr(TheJIT->addModule(std::move(TSM), RT)); in HandleTopLevelExpression()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DModuleManager.h248 AddModuleResult addModule(StringRef FileName, ModuleKind Type,
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h122 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/netbsd-src/external/apache2/llvm/dist/llvm/tools/lto/
H A Dlto.cpp375 return !unwrap(cg)->addModule(unwrap(mod)); in lto_codegen_add_module()
549 unwrap(cg)->addModule(Identifier, StringRef(Data, Length)); in thinlto_codegen_add_module()

123