Home | History | Annotate | Download | only in Fibonacci

Lines Matching refs:Module

10 // This small program provides an example of how to build quickly a small module
13 // The goal of this snippet is to create in the memory the LLVM module
21 // Once we have this, we compile the module via JIT, then execute the `fib'
34 #include "llvm/IR/Module.h"
39 static Function *CreateFibFunction(Module *M, LLVMContext &Context) {
40 // Create the fib function and insert it into module M. This function is said
98 // Create some module to put our function into it.
99 OwningPtr<Module> M(new Module("test", Context));
125 errs() << "We just constructed this LLVM module:\n\n---------\n" << *M;