search for: const_instr

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

2011 May 25
2
[LLVMdev] Precompiled templates
...run the optimization and JIT-compile into a anonymous function on the heap. Is that possible and if yes how? Basically I thought of declaring the parameter P as "extern const" and when the CFG is created, also create a constant node with the actual value and run a "replace-symbol (P, const_instr)". After that everything should be as easy as in the JIT compiler tutorial. Is something like that feasible? And how? I would appreciate any suggestions. Thanks in advance, Andreas
2011 May 27
0
[LLVMdev] Precompiled templates
...ctions; following that by a run of the simplifycfg pass will get rid of dead basic blocks. Basically I thought of declaring the > parameter P as "extern const" and when the CFG is created, also create a > constant node with the actual value and run a "replace-symbol (P, > const_instr)". After that everything should be as easy as in the JIT > compiler tutorial. Yup, that's a good approach. Ciao, Duncan. > > Is something like that feasible? And how? I would appreciate any > suggestions. > > Thanks in advance, > > Andreas > > _____________...