Uses of Class
org.apache.sysds.parser.DMLProgram
Packages that use DMLProgram
Package
Description
-
Uses of DMLProgram in org.apache.sysds.api.mlcontext
Methods in org.apache.sysds.api.mlcontext that return DMLProgram -
Uses of DMLProgram in org.apache.sysds.hops.codegen
Methods in org.apache.sysds.hops.codegen with parameters of type DMLProgram -
Uses of DMLProgram in org.apache.sysds.hops.fedplanner
Methods in org.apache.sysds.hops.fedplanner with parameters of type DMLProgramModifier and TypeMethodDescriptionstatic FederatedMemoTable.FedPlanFederatedPlanCostEnumerator.enumerateProgram(DMLProgram prog, FederatedMemoTable memoTable, boolean isPrint) Enumerates the entire DML program to generate federated execution plans.static voidFederatedPlanCostEnumerator.enumerateStatementBlock(StatementBlock sb, DMLProgram prog, FederatedMemoTable memoTable, Map<Long, FederatedMemoTable.HopCommon> hopCommonTable, Map<Long, List<Hop>> rewireTable, Map<Long, FTypes.Privacy> privacyConstraintMap, Map<Long, FTypes.FType> fTypeMap, Set<Long> unRefTwriteSet, Set<String> fnStack, int numOfWorkers, Set<Long> visitedHops) Enumerates the statement block and updates the transient and memoization tables.static voidFederatedPlanRewireTransTable.rewireProgram(DMLProgram prog, Map<Long, List<Hop>> rewireTable, Map<Long, FederatedMemoTable.HopCommon> hopCommonTable, Map<Long, FTypes.Privacy> privacyConstraintMap, Map<Long, FTypes.FType> fTypeMap, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> fedMap, Set<Long> unRefTwriteSet, Set<Long> unRefSet, Set<Hop> progRootHopSet) FederatedPlanRewireTransTable.rewireStatementBlock(StatementBlock sb, DMLProgram prog, Set<Long> visitedHops, Map<Long, List<Hop>> rewireTable, Map<Long, FederatedMemoTable.HopCommon> hopCommonTable, List<Map<String, List<Hop>>> outerTransTableList, Map<String, List<Hop>> formerTransTable, Map<Long, FTypes.Privacy> privacyConstraintMap, Map<Long, FTypes.FType> fTypeMap, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> fedMap, Set<Long> unRefTwriteSet, Set<Long> unRefSet, Set<Hop> progRootHopSet, Set<String> fnStack, double computeWeight, double networkWeight, List<org.apache.commons.lang3.tuple.Pair<Long, Double>> parentLoopStack) abstract voidAFederatedPlanner.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Selects a federated execution plan for the given program by setting the forced execution type.voidFederatedPlannerFedAll.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) voidFederatedPlannerFedCostBased.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) -
Uses of DMLProgram in org.apache.sysds.hops.ipa
Methods in org.apache.sysds.hops.ipa with parameters of type DMLProgramModifier and TypeMethodDescriptionabstract booleanIPAPass.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Rewrites the given program or its functions in place, with access to the read-only function call graph.booleanIPAPassApplyStaticAndDynamicHopRewrites.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassCompressionWorkloadAnalysis.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassEliminateDeadCode.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassFlagFunctionsRecompileOnce.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassFlagLoopsRecompileOnce.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassFlagNonDeterminism.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassForwardFunctionCalls.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassInjectOOCTee.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassInlineFunctions.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassPropagateReplaceLiterals.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassPruneUnreachableHops.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassRemoveConstantBinaryOps.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassRemoveUnnecessaryCheckpoints.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassRemoveUnusedFunctions.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassReplaceEvalFunctionCalls.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) booleanIPAPassRewriteFederatedPlan.rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Estimates cost and selects a federated execution plan by setting the federated output value of each hop in the program.Constructors in org.apache.sysds.hops.ipa with parameters of type DMLProgramModifierConstructorDescriptionFunctionCallGraph(DMLProgram prog) Constructs the function call graph for all functions reachable from the main program.Creates a handle for performing inter-procedural analysis for a given DML program and its associated HOP DAGs. -
Uses of DMLProgram in org.apache.sysds.hops.rewrite
Methods in org.apache.sysds.hops.rewrite with parameters of type DMLProgramModifier and TypeMethodDescriptionstatic booleanHopRewriteUtils.knownParamservFunctions(Hop hop, DMLProgram prog) ProgramRewriter.rewriteProgramHopDAGs(DMLProgram dmlp) ProgramRewriter.rewriteProgramHopDAGs(DMLProgram dmlp, boolean splitDags) ProgramRewriter.rewriteProgramHopDAGs(DMLProgram dmlp, boolean splitDags, ProgramRewriteStatus state) -
Uses of DMLProgram in org.apache.sysds.lops.rewrite
Methods in org.apache.sysds.lops.rewrite with parameters of type DMLProgram -
Uses of DMLProgram in org.apache.sysds.parser
Methods in org.apache.sysds.parser that return DMLProgramMethods in org.apache.sysds.parser with parameters of type DMLProgramModifier and TypeMethodDescriptionvoidDMLTranslator.codgenHopsDAG(DMLProgram dmlp) voidDMLTranslator.constructHops(DMLProgram dmlp) voidDMLTranslator.constructHops(DMLProgram dmlp, boolean inclFuns) voidDMLTranslator.constructLops(DMLProgram dmlp) DMLTranslator.getRuntimeProgram(DMLProgram prog, DMLConfig config) booleanStatementBlock.isMergeableFunctionCallBlock(DMLProgram dmlProg) booleanStatementBlock.isRewritableFunctionCall(Statement stmt, DMLProgram dmlProg) voidDMLTranslator.liveVariableAnalysis(DMLProgram dmlp) voidDMLTranslator.liveVariableAnalysis(DMLProgram dmlp, boolean inclFuns) voidDMLTranslator.liveVariableAnalysisFunction(DMLProgram dmlp, FunctionStatementBlock fsb) static ArrayList<StatementBlock>StatementBlock.mergeFunctionCalls(List<StatementBlock> body, DMLProgram dmlProg) static voidDMLTranslator.refreshMemEstimates(DMLProgram dmlp) static voidDMLTranslator.resetHopsDAGVisitStatus(DMLProgram dmlp) voidDMLTranslator.resetLopsDAGVisitStatus(DMLProgram dmlp) StatementBlock.rewriteFunctionCallStatements(DMLProgram dmlProg, ArrayList<Statement> statements) voidDMLTranslator.rewriteHopsDAG(DMLProgram dmlp) voidDMLTranslator.rewriteLopDAG(DMLProgram dmlp) static ExpressionStatementBlock.rHoistFunctionCallsFromExpressions(Expression expr, boolean root, ArrayList<Statement> tmp, DMLProgram prog) static List<StatementBlock>StatementBlock.rHoistFunctionCallsFromExpressions(StatementBlock current, DMLProgram prog) StatementBlock.rHoistFunctionCallsFromExpressions(Statement stmt, DMLProgram prog) voidStatementBlock.setDMLProg(DMLProgram dmlProg) ForStatementBlock.validate(DMLProgram dmlProg, VariableSet ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) FunctionStatementBlock.validate(DMLProgram dmlProg, VariableSet ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) TODO: DRB: This needs to be changed to reflect: 1) Default values for variables -- need to add R styled check here to make sure that once vars with default values start, they keep going to the right 2) The other parameters for External FunctionsIfStatementBlock.validate(DMLProgram dmlProg, VariableSet ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) ParForStatementBlock.validate(DMLProgram dmlProg, VariableSet ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) StatementBlock.validate(DMLProgram dmlProg, VariableSet ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) WhileStatementBlock.validate(DMLProgram dmlProg, VariableSet ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) voidFunctionCallIdentifier.validateExpression(DMLProgram dmlp, HashMap<String, DataIdentifier> ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) Validate parse tree : Process ExtBuiltinFunction Expression is an assignment statement NOTE: this does not override the normal validateExpression because it needs to pass dmlp!voidDMLTranslator.validateFunction(DMLProgram dmlp, FunctionStatementBlock fsb) voidDMLTranslator.validateFunction(DMLProgram dmlp, FunctionStatementBlock fsb, boolean conditional) voidDMLTranslator.validateParseTree(DMLProgram dmlp) voidDMLTranslator.validateParseTree(DMLProgram dmlp, boolean inclFuns) Constructors in org.apache.sysds.parser with parameters of type DMLProgram -
Uses of DMLProgram in org.apache.sysds.parser.dml
Methods in org.apache.sysds.parser.dml that return DMLProgramModifier and TypeMethodDescriptionDMLParserWrapper.doParse(String fileName, String dmlScript, String sourceNamespace, Map<String, String> argVals) This function is supposed to be called directly only from DmlSyntacticValidator when it encounters 'import'Parses the passed file with command line parameters. -
Uses of DMLProgram in org.apache.sysds.resource
Methods in org.apache.sysds.resource with parameters of type DMLProgramModifier and TypeMethodDescriptionstatic voidResourceCompiler.replaceFilename(DMLProgram dmlp, HashMap<String, String> replaceVars) -
Uses of DMLProgram in org.apache.sysds.runtime.compress.workload
Methods in org.apache.sysds.runtime.compress.workload with parameters of type DMLProgram -
Uses of DMLProgram in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram that return DMLProgramMethods in org.apache.sysds.runtime.controlprogram with parameters of type DMLProgramConstructors in org.apache.sysds.runtime.controlprogram with parameters of type DMLProgram -
Uses of DMLProgram in org.apache.sysds.runtime.controlprogram.parfor.opt
Methods in org.apache.sysds.runtime.controlprogram.parfor.opt with parameters of type DMLProgramModifier and TypeMethodDescriptionstatic LocalVariableMapProgramRecompiler.getReusableScalarVariables(DMLProgram prog, StatementBlock parforSB, LocalVariableMap vars) static booleanProgramRecompiler.isApplicableForReuseVariable(DMLProgram prog, StatementBlock parforSB, String var) This function determines if an parfor input variable is guaranteed to be read-only across multiple invocations of parfor optimization (e.g., in a surrounding while loop).voidOptTreePlanMapping.putRootProgram(DMLProgram prog, Program rtprog) -
Uses of DMLProgram in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type DMLProgramModifier and TypeMethodDescriptionstatic StringExplain.display(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts) static StringExplain.explain(DMLProgram prog) static StringExplain.explain(DMLProgram prog, Program rtprog, Explain.ExplainType type) static StringExplain.explain(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts)