Class SpoofCompiler


  • public class SpoofCompiler
    extends Object
    • Constructor Detail

      • SpoofCompiler

        public SpoofCompiler()
    • Method Detail

      • unloadNativeCodeGenerator

        public static void unloadNativeCodeGenerator()
      • generateCode

        public static void generateCode​(DMLProgram dmlprog)
      • generateCode

        public static void generateCode​(Program rtprog)
      • generateCodeFromStatementBlock

        public static void generateCodeFromStatementBlock​(StatementBlock current)
      • generateCodeFromProgramBlock

        public static void generateCodeFromProgramBlock​(ProgramBlock current)
      • optimize

        public static Hop optimize​(Hop root,
                                   boolean recompile)
        Main interface of sum-product optimizer, predicate dag.
        Parameters:
        root - dag root node
        recompile - true if invoked during dynamic recompilation
        Returns:
        dag root node of modified dag
      • optimize

        public static ArrayList<Hop> optimize​(ArrayList<Hop> roots,
                                              boolean recompile)
        Main interface of sum-product optimizer, statement block dag.
        Parameters:
        roots - dag root nodes
        recompile - true if invoked during dynamic recompilation
        Returns:
        dag root nodes of modified dag
      • cleanupCodeGenerator

        public static void cleanupCodeGenerator()
      • createPlanSelector

        public static PlanSelection createPlanSelector()
        Factory method for alternative plan selection policies.
        Returns:
        plan selector
      • setConfiguredPlanSelector

        public static void setConfiguredPlanSelector()
      • setExecTypeSpecificJavaCompiler

        public static void setExecTypeSpecificJavaCompiler()