search for: molu

Displaying 5 results from an estimated 5 matches for "molu".

Did you mean: moll
2013 Apr 16
2
[LLVMdev] creating and inserting a function with variable arguments
I am working on a pass in which I need to define and insert a function with variable arguments. Can I do it with the help of getOrInsertFunction()? If not can someone tell me any other method? It will be very helpful if anyone can help. Thanks in advance -- *Akshay Jain * -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Apr 16
0
[LLVMdev] creating and inserting a function with variable arguments
Akshay Jain <jivan.molu at gmail.com> writes: > I am working on a pass in which I need to define and insert a function with > variable arguments. Can I do it with the help of getOrInsertFunction()? Sure. There is an overload of getOrInsertFunction that takes a FunctionType, and there are FunctionType::get stati...
2013 Apr 16
2
[LLVMdev] creating and inserting a function with variable arguments
...kind of error. Can you explain how can I get a function type for function which returns void (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? Thanks in advance. On Tue, Apr 16, 2013 at 7:22 AM, Óscar Fuentes <ofv at wanadoo.es> wrote: > Akshay Jain <jivan.molu at gmail.com> writes: > > > I am working on a pass in which I need to define and insert a function > with > > variable arguments. Can I do it with the help of getOrInsertFunction()? > > Sure. There is an overload of getOrInsertFunction that takes a > FunctionType, and...
2013 Apr 16
0
[LLVMdev] creating and inserting a function with variable arguments
Akshay Jain <jivan.molu at gmail.com> writes: > I have tried it, but I always end up with some kind of error. Can you > explain how can I get a function type for function which returns void > (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? Instead of getting something to cut&...
2013 Apr 16
1
[LLVMdev] creating and inserting a function with variable arguments
...to ‘const std::vector<const llvm::Type*>&’ It may be a silly mistake, but I am quite new to c and c++ coding especially in llvm. So I will be very grateful if you can help out. On Tue, Apr 16, 2013 at 3:41 PM, Óscar Fuentes <ofv at wanadoo.es> wrote: > Akshay Jain <jivan.molu at gmail.com> writes: > > > I have tried it, but I always end up with some kind of error. Can you > > explain how can I get a function type for function which returns void > > (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? > > Instead of g...