search for: jitlisten

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

Did you mean: astlisten
2012 Jun 27
3
[LLVMdev] Counting instructions in MCJIT
...data per-module (per-ExecutionEngine/per-MCJIT), and there is no way of extracting a single statistic without doing string manipulation. I'm also doing several code gens in parallel, so even if the class is thread-safe, I cannot find the values for the single modules. In JIT you can add a JITListener, which can count the MachineInstructions, with the assumption that there is a (more or less) 1-2-1 mapping between machine and assembly instructions. Is there something equivalent for MCJIT? I can write a MachineFunctionPass to do the same, but I can find no way of inserting that into the Pa...
2012 Jun 28
0
[LLVMdev] Counting instructions in MCJIT
...this data per-module (per-ExecutionEngine/per-MCJIT), and there is no way of extracting a single statistic without doing string manipulation. I'm also doing several code gens in parallel, so even if the class is thread-safe, I cannot find the values for the single modules. In JIT you can add a JITListener, which can count the MachineInstructions, with the assumption that there is a (more or less) 1-2-1 mapping between machine and assembly instructions. Is there something equivalent for MCJIT? I can write a MachineFunctionPass to do the same, but I can find no way of inserting that into the PassMa...