Displaying 2 results from an estimated 2 matches for "the_template".
Did you mean:
ah_template
2007 Jun 16
0
[LLVMdev] Strategy to compile for LLVM IR (Chris Lattner)
...variable" part (that one corresponding to what the real Faust plug-
>> in will do)
>
>> Is there any more common and simple method to achieve the same
>> result? or any other advice?
>
> Here's a better way. Consider a simple C template like this:
>
> void the_template(int X, int Y) {
> if (X == 123)
> hole1(Y, X*Y);
>
> int *Ptr;
> for (...)
> hole2(Ptr);
> }
>
> The template can do whatever you want obviously. I assume that
> there are
> various pieces that need to be filled in, e.g. the body of a loop....
2007 Jun 15
2
[LLVMdev] Strategy to compile for LLVM IR
Hi,
We have a compiler for the Faust language (faust.grame.fr) that
currently compiles a C++ class which implements a DSP plug-in with
several methods.
Our strategy to compile LLVM IR instead is the following:
- use the current Faust ==> C++ compiler to compile a "empty" plug-in
that we use as a template C++ class.
- compile this template C++ class using "llvm-g++