search for: hole2

Displaying 2 results from an estimated 2 matches for "hole2".

Did you mean: hole
2007 Jun 16
0
[LLVMdev] Strategy to compile for LLVM IR (Chris Lattner)
...ommon 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. > In you > C template code, just put simple function calls to external functions > (named hole1/hole2 in this e...
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++