[Native] Decouple insert entry point codegen into separated phase