Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITMultipleModuleTest.cpp97 TheJIT->addModule(std::move(B)); in TEST_F()
117 TheJIT->addModule(std::move(B)); in TEST_F()
138 TheJIT->addModule(std::move(B)); in TEST_F()
159 TheJIT->addModule(std::move(B)); in TEST_F()
180 TheJIT->addModule(std::move(B)); in TEST_F()
223 TheJIT->addModule(std::move(B)); in TEST_F()
256 TheJIT->addModule(std::move(B)); in TEST_F()
257 TheJIT->addModule(std::move(C)); in TEST_F()
281 TheJIT->addModule(std::move(B)); in TEST_F()
282 TheJIT->addModule(std::move(C)); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/test/LTO/X86/
H A Ddiagnostic-handler-noexit.ll2 ; This test verifies that after addModule() encounters an error, the diagnostic
3 ; handler does not call exit(1) and instead returns to the caller of addModule.
/llvm-project-15.0.7/llvm/lib/Object/
H A DIRSymtab.cpp118 Error addModule(Module *M);
126 Error Builder::addModule(Module *M) { in addModule() function in __anon5649e1b10111::Builder
148 Msymtab.addModule(M); in addModule()
345 if (Error Err = addModule(M)) in build()
H A DIRObjectFile.cpp32 SymTab.addModule(M.get()); in IRObjectFile()
H A DModuleSymbolTable.cpp54 void ModuleSymbolTable::addModule(Module *M) { in addModule() function in ModuleSymbolTable
/llvm-project-15.0.7/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp84 Error addModule(ThreadSafeModule TSM) { in addModule() function in SpeculativeJIT
182 ExitOnErr(SJ->addModule(ThreadSafeModule(std::move(M), std::move(Ctx)))); in main()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DModuleSymbolTable.h47 void addModule(Module *M);
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DIncrementalExecutor.h50 llvm::Error addModule(PartialTranslationUnit &PTU);
H A DIncrementalExecutor.cpp59 llvm::Error IncrementalExecutor::addModule(PartialTranslationUnit &PTU) { in addModule() function in clang::IncrementalExecutor
/llvm-project-15.0.7/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
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h94 void addModule(std::unique_ptr<Module> M) { in addModule() function
207 void addModule(std::unique_ptr<Module> M) override;
H A DMCJIT.cpp89 OwnedModules.addModule(std::move(First)); in MCJIT()
105 void MCJIT::addModule(std::unique_ptr<Module> M) { in addModule() function in MCJIT
111 OwnedModules.addModule(std::move(M)); in addModule()
/llvm-project-15.0.7/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp653 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in thinLink()
774 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in import()
807 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in internalize()
866 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in codegen()
905 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in runAll()
1052 } else if (!CodeGen.addModule(Module.get())) { in main()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h86 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h90 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h93 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h119 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h81 bool addModule(struct LTOModule *);
H A DThinLTOCodeGenerator.h55 void addModule(StringRef Identifier, StringRef Data);
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DLLVMContext.h336 void addModule(Module*);
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DModuleManager.h243 AddModuleResult addModule(StringRef FileName, ModuleKind Type,
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp582 ExitOnErr(TheJIT->addModule( in HandleDefinition()
615 ExitOnErr(TheJIT->addModule(std::move(TSM), RT)); in HandleTopLevelExpression()
/llvm-project-15.0.7/llvm/tools/lto/
H A Dlto.cpp373 return !unwrap(cg)->addModule(unwrap(mod)); in lto_codegen_add_module()
551 unwrap(cg)->addModule(Identifier, StringRef(Data, Length)); in thinlto_codegen_add_module()

123