Displaying 7 results from an estimated 7 matches for "add1t".
Did you mean:
add1
2004 Aug 09
1
[LLVMdev] API on JIT, code snippets
...dd1F;
>
> {
> // first create type for the single argument of add1 function:
> // the type is 'int ()'
> std::vector<const Type*> ArgT(1);
> ArgT[0] = Type::IntTy;
>
> // now create full type of the add1 function:
> FunctionType *Add1T = FunctionType::get(Type::IntTy, // type of result: int ()'
> ArgT,
> /*not vararg*/false);
>
> // Now create the add1 function entry and
> // insert this entry into module M
> // (By passing a module as the last parameter to the Function const...
2004 Aug 09
5
[LLVMdev] API on JIT, code snippets
...dd1F;
>
> {
> // first create type for the single argument of add1 function:
> // the type is 'int ()'
> std::vector<const Type*> ArgT(1);
> ArgT[0] = Type::IntTy;
>
> // now create full type of the add1 function:
> FunctionType *Add1T = FunctionType::get(Type::IntTy, // type of result: int ()'
> ArgT,
> /*not vararg*/false);
>
> // Now create the add1 function entry and
> // insert this entry into module M
> // (By passing a module as the last parameter to the Function const...
2004 Aug 09
0
[LLVMdev] API on JIT, code snippets
...// first create type for the single argument of add1 function:
> > // the type is 'int ()'
> > std::vector<const Type*> ArgT(1);
> > ArgT[0] = Type::IntTy;
> >
> > // now create full type of the add1 function:
> > FunctionType *Add1T = FunctionType::get(Type::IntTy, // type of result: int ()'
> > ArgT,
> > /*not vararg*/false);
> >
> > // Now create the add1 function entry and
> > // insert this entry into module M
> > // (By passing a module as the last para...
2004 Aug 09
0
[LLVMdev] API on JIT, code snippets
Reid wrote:
> I have to agree with Misha on this. None of us knows "everything" about
> LLVM and as you can see, Misha responded three hours before I did :).
> Asking questions here is encouraged, so please feel free to post them on
> LLVMdev. We'll always help where we can.
well, OK :)
Please find the attachment with the first approach to
such an example i've
2004 Aug 09
3
[LLVMdev] API on JIT, code snippets
Valery,
I have to agree with Misha on this. None of us knows "everything" about
LLVM and as you can see, Misha responded three hours before I did :).
Asking questions here is encouraged, so please feel free to post them on
LLVMdev. We'll always help where we can.
Thanks,
Reid.
On Mon, 2004-08-09 at 06:37, Misha Brukman wrote:
> On Mon, Aug 09, 2004 at 12:32:33PM +0400, Valery
2004 Aug 10
1
[LLVMdev] API on JIT, code snippets
...dd1F;
>
> {
> // first create type for the single argument of add1 function:
> // the type is 'int ()'
> std::vector<const Type*> ArgT(1);
> ArgT[0] = Type::IntTy;
>
> // now create full type of the add1 function:
> FunctionType *Add1T = FunctionType::get(Type::IntTy, // type of result: int ()'
> ArgT,
> /*not vararg*/false);
>
> // Now create the add1 function entry and
> // insert this entry into module M
>...
2004 Aug 10
0
[LLVMdev] API on JIT, code snippets
Reid Spencer,
thank you for your quick responce, finally i got to my PC at home.
You wrote:
> Attached are three files: "valery.cpp" which contains your original,
> "reid.cpp" which contains corrections to most of the FIXME items and
> "diffs" which shows the differences between them. The differences
> should be instructive on what to do. You were