public class SpoofCompiler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpoofCompiler.CompilerType |
static class |
SpoofCompiler.GeneratorAPI |
static class |
SpoofCompiler.IntegrationType |
static class |
SpoofCompiler.PlanCachePolicy |
static class |
SpoofCompiler.PlanSelector |
static class |
SpoofCompiler.RegisterAlloc |
Modifier and Type | Field and Description |
---|---|
static SpoofCompiler.GeneratorAPI |
API |
static SpoofCompiler.IntegrationType |
INTEGRATION |
static SpoofCompiler.CompilerType |
JAVA_COMPILER |
static HashMap<SpoofCompiler.GeneratorAPI,Long> |
native_contexts |
static SpoofCompiler.PlanCachePolicy |
PLAN_CACHE_POLICY |
static int |
PLAN_CACHE_SIZE |
static SpoofCompiler.PlanSelector |
PLAN_SEL_POLICY |
static boolean |
PRUNE_REDUNDANT_PLANS |
static boolean |
RECOMPILE_CODEGEN |
static SpoofCompiler.RegisterAlloc |
REG_ALLOC_POLICY |
Constructor and Description |
---|
SpoofCompiler() |
public static SpoofCompiler.CompilerType JAVA_COMPILER
public static SpoofCompiler.PlanSelector PLAN_SEL_POLICY
public static final SpoofCompiler.IntegrationType INTEGRATION
public static final boolean RECOMPILE_CODEGEN
public static final boolean PRUNE_REDUNDANT_PLANS
public static SpoofCompiler.PlanCachePolicy PLAN_CACHE_POLICY
public static final int PLAN_CACHE_SIZE
public static final SpoofCompiler.RegisterAlloc REG_ALLOC_POLICY
public static SpoofCompiler.GeneratorAPI API
public static HashMap<SpoofCompiler.GeneratorAPI,Long> native_contexts
public static void loadNativeCodeGenerator(SpoofCompiler.GeneratorAPI generator)
public static void unloadNativeCodeGenerator()
public static void generateCode(DMLProgram dmlprog)
public static void generateCode(Program rtprog)
public static void generateCodeFromStatementBlock(StatementBlock current)
public static void generateCodeFromProgramBlock(ProgramBlock current)
public static ArrayList<Instruction> generateCodeFromHopDAGsToInst(StatementBlock sb, ArrayList<Hop> roots)
public static ArrayList<Instruction> generateCodeFromHopDAGsToInst(Hop root)
public static Hop optimize(Hop root, boolean recompile)
root
- dag root noderecompile
- true if invoked during dynamic recompilationpublic static ArrayList<Hop> optimize(ArrayList<Hop> roots, boolean recompile)
roots
- dag root nodesrecompile
- true if invoked during dynamic recompilationpublic static void cleanupCodeGenerator()
public static PlanSelection createPlanSelector()
public static void setConfiguredPlanSelector()
public static void setExecTypeSpecificJavaCompiler()
Copyright © 2021 The Apache Software Foundation. All rights reserved.