Customized CFG construction in clang

Hello,

I'd like to customize the CFG by creating a new basic block whenever a specific statement is identified. This is in addition to the existing terminator statements. What would be the best approach to achieve this?

Thank you in advance.
Hiren