Efficient Application Mapping in a Heterogeneous Environment using TVM