NL i0dZddlmZddlmZmZmZddZy)a%Find basic blocks that are likely to be executed frequently. For example, this would not include blocks that have exception handlers. We can use different optimization heuristics for common and rare code. For example, we can make IR fast to compile instead of fast to execute for rare code. ) annotations) BasicBlockBranchGotoct}|g}|r|j}||vr|j||j}t |t r|j |jnzt |trj|js |j|j |jn6|j |j|j |j|r|S)N) setpopadd terminator isinstancerappendlabelrraretraceback_entryfalsetrue) entry_pointresultworklistblockts ^/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/mypyc/analysis/blockfreq.pyfrequently_executed_blocksrs!eF}H   F?  5    a  OOAGG $ 6 "vv**6('(  MN)rrreturnzset[BasicBlock])__doc__ __future__r mypyc.ir.opsrrrrrrr s#11r