Automatic application partitioning on FPGA/CPU systems based on detailed low-level information