Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22461

GIMPLE insertion

$
0
0

I want to insert a GIMPLE_COND from the GCC API.

What is the best approach for doing this from a plugin? Should this done before or after the CFG has been created. I made a plugin that gets called after the "cfg" and can see the output in the ASM, but it is incorrect. I think it is due to edge issues.

If I should insert before the CFG - what is the correct reference_pass_name I should be targeting? Is there a specific function or data structure I should be appending before the CFG creation?


Viewing all articles
Browse latest Browse all 22461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>