parseBytecodes

This method builds the IR nodes for the given method and canonicalizes them.
Provided profiling info is mature, the resulting graph is cached. The caller is responsible
for cloning before modification.