Home
last modified time | relevance | path

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

123

/llvm-project/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/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/llvm/lib/Object/
H A DIRSymtab.cpp116 Error addModule(Module *M);
124 Error Builder::addModule(Module *M) {
146 Msymtab.addModule(M); in addModule()
358 if (Error Err = addModule(M)) in build()
126 Error Builder::addModule(Module *M) { addModule() function in __anon23a294540111::Builder
H A DIRObjectFile.cpp31 SymTab.addModule(M.get()); in IRObjectFile()
/llvm-project/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp87 Error addModule(ThreadSafeModule TSM) { in addModule()
179 ExitOnErr(SJ->addModule(ThreadSafeModule(std::move(M), std::move(Ctx)))); in main()
86 Error addModule(ThreadSafeModule TSM) { addModule() function in SpeculativeJIT
/llvm-project/clang/lib/Interpreter/
H A DWasm.h28 llvm::Error addModule(PartialTranslationUnit &PTU) override;
H A DIncrementalExecutor.h56 virtual llvm::Error addModule(PartialTranslationUnit &PTU);
H A DWasm.cpp65 llvm::Error WasmIncrementalExecutor::addModule(PartialTranslationUnit &PTU) { in addModule()
40 llvm::Error WasmIncrementalExecutor::addModule(PartialTranslationUnit &PTU) { addModule() function in clang::WasmIncrementalExecutor
H A DIncrementalExecutor.cpp73 llvm::Error IncrementalExecutor::addModule(PartialTranslationUnit &PTU) { in addModule() function in clang::IncrementalExecutor
/llvm-project/llvm/include/llvm/Object/
H A DModuleSymbolTable.h47 void addModule(Module *M);
/llvm-project/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());
221 void addModule(std::unique_ptr<Module> M) {
230 Now we come to the first of our JIT API methods: addModule. This method is
/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp720 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in emitImports()
842 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in optimize()
875 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in codegen()
934 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in runAll()
973 ThinGenerator.addModule(Filename, InputBuffers.back()->getBuffer()); in main()
1134 } else if (!CodeGen.addModule(Module.get())) { in main()
1135 // Print a message here so that we know addModule() did not abort. in main()
/llvm-project/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.cpp79 // If so, additional functions: addModule, removeModule, FindFunctionNamed, in MCJIT()
88 OwnedModules.addModule(std::move(First)); in MCJIT()
104 void MCJIT::addModule(std::unique_ptr<Module> M) {
110 OwnedModules.addModule(std::move(M)); in addModule()
105 void MCJIT::addModule(std::unique_ptr<Module> M) { addModule() function in MCJIT
/llvm-project/llvm/lib/IRPrinter/
H A DIRPrintingPasses.cpp67 Index->addModule(""); in run()
/llvm-project/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h91 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h86 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h93 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h121 Error addModule(ThreadSafeModule TSM, ResourceTrackerSP RT = nullptr) {
/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h81 bool addModule(struct LTOModule *);
H A DThinLTOCodeGenerator.h62 void addModule(StringRef Identifier, StringRef Data);
/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h342 /// addModule - Register a module as being instantiated in this context. If
344 void addModule(Module*);
/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h241 AddModuleResult addModule(StringRef FileName, ModuleKind Type,

123