Displaying 3 results from an estimated 3 matches for "node_do_foo".
2010 Jul 17
1
[LLVMdev] Tool for run-time code generation?
....e. Clang/LLVM invocation time). Each operation is pretty
> simple, so we'd like to inline the children's operations into the parent
> where a C compiler would do it.
>
> Could your technique be extended to that? e.g. precompile to LLVM IR
> with calls to a non-existent "node_do_foo()" call, and then replace it
> with the specific "childtype_do_foo()" call when we know the type of the
> child?
Will you know the prototype of the function call in advance? If so, you
can do something really simple where you write the C functions with a
function pointer par...
2010 Jul 18
0
[LLVMdev] Tool for run-time code generation?
...ation time). Each operation is pretty
>> simple, so we'd like to inline the children's operations into the parent
>> where a C compiler would do it.
>>
>> Could your technique be extended to that? e.g. precompile to LLVM IR
>> with calls to a non-existent "node_do_foo()" call, and then replace it
>> with the specific "childtype_do_foo()" call when we know the type of the
>> child?
>
> Will you know the prototype of the function call in advance? If so, you
> can do something really simple where you write the C functions with a...
2010 Jul 16
6
[LLVMdev] Tool for run-time code generation?
Using C++ code, I would like to generate code at run-time (the same way .NET code can use dynamic methods or compiled expressions) in order to obtain very high performance code (to read binary data records whose formats are only known at run-time.) I need to target x86 (Win32) and ARM (WinCE).
Can LLVM be used for this purpose, or would something else work better? Are there any open-source