Skip to the relevant sections if needed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Color | |
import com.vividsolutions.jts.geom.Polygon | |
import org.apache.spark.api.java.JavaPairRDD | |
import org.datasyslab.babylon.core.OverlayOperator | |
import org.datasyslab.babylon.extension.imageGenerator.NativeJavaImageGenerator | |
import org.datasyslab.babylon.extension.visualizationEffect.{ ChoroplethMap, HeatMap, ScatterPlot } | |
import org.datasyslab.babylon.utils.ImageType | |
import org.datasyslab.geospark.spatialRDD.{ PolygonRDD, SpatialRDD } |
The easiest way to start using the LLVM C++ API by example is to have LLVM generate the API usage for a given code sample. In this example it will emit the code required to rebuild the test.c
sample by using LLVM:
$ clang -c -emit-llvm test.c -o test.ll
$ llc -march=cpp test.ll -o test.cpp