Compute basic blocks before translation starts.