similar to: [LLVMdev] llvm-c headers: How to call external function?

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] llvm-c headers: How to call external function?"

2010 Aug 12
3
[LLVMdev] LLVM-C: Calling functions contained in other libraries
Hello, I have a question concerning llvm-c. I have set up a function that needs to invoke an external method, in a other library. It has the following signature: void* NSFullUserName(void); The void* can be replaced with a i8*, that far I was able to get, but when my call is invoked, the engine gives me the following message: LLVM ERROR: Tried to execute an unknown external function: i8* ()*
2010 Aug 31
4
[LLVMdev] LLVM-C tutorial
I am going to post my first chapter, just to see if it is acceptable. Any feedback is good feedback for me. Filip On 31 Aug 2010, at 17:25, Rajika Kumarasiri wrote: > Most of the documents (html) are generated using rst2html. So I think a patch to the rst file in llvm/tools/llvmc/doc should be fine. > > Rajika > > On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
I think it'd be nice to have a ToC describing what you plan to cover in the "hello world" tutorial. I'll take a look at the tutorial in the week end and send feed back. Rajika On Wed, Sep 1, 2010 at 2:02 AM, F van der Meeren <llvm-dev at code2develop.com>wrote: > I am going to post my first chapter, just to see if it is acceptable. > Any feedback is good feedback
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
That was all I needed to hear :-) Because I am already at "chapter 3", which is regular expressions in C, but then made so that each regex becomes a real and true function. And doubt suddenly struck. What if my style isn't exactly what the LLVM community wants... On 01 Sep 2010, at 15:09, nessim wrote: > hey Filip, > > I'm afraid i can't give you technical
2010 Aug 30
2
[LLVMdev] LLVM-C tutorial
As I have stated before, I am creating a LLVM-C tutorial. Now I expect it to be in a final draft form within 2~3 weeks, but how do I have to deliver it to the community? - File format ? - Style ? - ... Thank you, Filip
2010 Aug 31
0
[LLVMdev] LLVM-C tutorial
Most of the documents (html) are generated using rst2html. So I think a patch to the rst file in llvm/tools/llvmc/doc should be fine. Rajika On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren <llvm-dev at code2develop.com > wrote: > As I have stated before, I am creating a LLVM-C tutorial. > Now I expect it to be in a final draft form within 2~3 weeks, but how do I > have to
2010 Sep 13
3
[LLVMdev] Emit C
I am still having some trouble finding my way in the C++ files. Could you give me a clearer direction? Filip On 13 Sep 2010, at 18:39, Charles Davis wrote: > On 9/13/10 10:32 AM, F van der Meeren wrote: >> Hello, >> >> I am trying to emit C code from the module I just created. And this from LLVM-C. >> If someone could give me a pointer on how to do this in llvm (with
2010 Jul 06
2
[LLVMdev] LLVM-C headers: create native library
Hi, Is it possible to create a .dll / .so / .dylib by only using the LLVM-C headers ? If so, I cannot find it. Filip
2010 Jul 07
0
[LLVMdev] LLVM-C headers: create native library
Aside from using the C API, you cannot create dynamic libraries with LLVM. For that you need a linker. LLVM generates assembly files (.s) and very soon it will generate object files natively (.o). The clang driver generally uses an installed gcc to do the assemble and link steps at the moment. Reid On Tue, Jul 6, 2010 at 7:51 AM, F van der Meeren <llvm-dev at code2develop.com> wrote:
2008 Sep 24
1
function can permanently modify calling function via substitute?
Dear R-devel: The following code seems to allow one function to permanently modify a calling function. I did not expect this would be allowed (short of more creative gymnastics) and wonder if it is really intended. (I can see other ways to accomplish the intended task of this code [e.g. via match.call instead of substitute below] that do not trigger the problem, but I don't think that is
2004 May 07
1
meetme conf-background.agi
Hello there! Somebody tried the meetme|b which initiates the conf-background AGI. Actually I want to originate another call from a conference.my AGI originates the call and connects it to the conference, but the calleeee is nowhere My extension exten => 21,1,meetme(21|pb) and my AGI **************************************************************************** #!/usr/bin/perl -w
2004 May 10
1
AGI.pm wait_for_digit() not working for me!!!
Hello everybody!!! I really need your help guys, I am using the AGI mode in meetme application, and I want that AGI should wait for an input from the client/user i.e. a digit and then proceed, but I have used that AGI function agi->wait_for_digit(), but no use....my agi just passes, or ignores this function, where AGI should stop here and wait for the input.... .....my extension in my
2010 Jul 06
0
[LLVMdev] llvm-c: llvm-c headers documentation?
Hi Filip, It's best to email llvmdev, not me directly. A place to start helping is to start working on a new tutorial! :) -Chris On Jul 5, 2010, at 2:29 PM, F van der Meeren wrote: > Will there be any change in this situation? > And if not, how can I help? > > Filip > > On 04 Jul 2010, at 19:34, Chris Lattner wrote: > >> >> On Jul 4, 2010, at 12:40 AM,
2010 Jul 04
2
[LLVMdev] llvm-c: llvm-c headers documentation?
Hi, I am trying to get started with the llvm-c headers. Is there any place where I can get/retrieve documentation about it? Such as a basic tutorial, memory managment... Thank you, Filip
2009 Nov 03
1
likely bug in 'serialize' or please explain the memory usage
Hi all, assume the following problem: a function call takes a function object and a data variable and calls this function with this data on a remote host. It uses serialization to pass both the function and the data via a socket connection to a remote host. The problem is that depending on the way we call the same construct, the function may be serialized to include the data, which was not
2010 Sep 13
0
[LLVMdev] Emit C
On Sep 13, 2010, at 10:40 AM, F van der Meeren wrote: > I am still having some trouble finding my way in the C++ files. > Could you give me a clearer direction? If you have llvm IR then you can use 'llc' to generate c code. Try $ llc <input_llvm_ir> -march=c -o /tmp/output.c This C backend is implemented in llvm/lib/Target/CBackend - Devang
2010 Aug 12
0
[LLVMdev] LLVM-C: Calling functions contained in other libraries
On Aug 12, 2010, at 10:43 AM, F van der Meeren wrote: > Where am I going wrong here? > Did you link against the library that contains the function? -eric
2003 Oct 23
3
List of lm objects
Hi R-Helpers: I?m trying to fit the same linear model to a bunch of variables in a data frame, so I was trying to adapt the codes John Fox, Spencer Graves and Peter Dalgaard proposed and discused yesterday on this e-mail list: for (y in df[, 3:5]) { mod = lm(y ~ Trt*Dose, data = x, contrasts = list(Trt = contr.sum, Dose = contr.sum)) Anova(mod, type = "III") } ## by John Fox or for
2003 Oct 10
1
number of arguments in .Call function registration
I initially sent this to the biocore mailing list - but it was suggested that r-devel would also find it interesting. Many of us use a macro like #define CALL_DEF(fname, nargs) { #fname, (DL_FUNC)&fname, nargs} for use in function registration for use with .Call. For example, using the example from R Extension manual, if we want to register a C function myCall with three arguments, we
2010 Apr 13
0
Multicore mapply
Quick question regarding multicore versions of mapply. Package 'multicore' provides a parallelized version of 'lapply', called 'mclapply'. I haven't found any parallelized versions of 'mapply', however (although one can use the lower level function 'parallel', it becomes harder to control the number of spawned processes etc). Is anyone aware of a