Uses of Class
org.apache.sysds.parser.StatementBlock
-
-
Uses of StatementBlock in org.apache.sysds.hops.codegen
Methods in org.apache.sysds.hops.codegen with parameters of type StatementBlock Modifier and Type Method Description static ArrayList<Instruction>SpoofCompiler. generateCodeFromHopDAGsToInst(StatementBlock sb, ArrayList<Hop> roots)static voidSpoofCompiler. generateCodeFromStatementBlock(StatementBlock current) -
Uses of StatementBlock in org.apache.sysds.hops.fedplanner
Methods in org.apache.sysds.hops.fedplanner that return types with arguments of type StatementBlock Modifier and Type Method Description ArrayList<StatementBlock>FederatedPlannerCostbased. rewriteStatementBlock(DMLProgram prog, StatementBlock sb, Map<String,Hop> paramMap)Estimates cost and enumerates federated execution plans in hopRelMemo.Methods in org.apache.sysds.hops.fedplanner with parameters of type StatementBlock Modifier and Type Method Description ArrayList<StatementBlock>FederatedPlannerCostbased. rewriteStatementBlock(DMLProgram prog, StatementBlock sb, Map<String,Hop> paramMap)Estimates cost and enumerates federated execution plans in hopRelMemo. -
Uses of StatementBlock in org.apache.sysds.hops.ipa
Methods in org.apache.sysds.hops.ipa that return types with arguments of type StatementBlock Modifier and Type Method Description List<StatementBlock>FunctionCallGraph. getFunctionCallsSB(String fkey)Returns all statement blocks that contain a function operator calling the given function.Methods in org.apache.sysds.hops.ipa with parameters of type StatementBlock Modifier and Type Method Description voidFunctionCallGraph. removeFunctionCall(String fkey, FunctionOp fop, StatementBlock sb)Removes a single function call identified by target function name, and source function op and statement block.booleanIPAPassFlagFunctionsRecompileOnce. rFlagFunctionForRecompileOnce(StatementBlock sb, boolean inLoop)Returns true if this statementblock requires recompilation inside a loop statement block.Constructors in org.apache.sysds.hops.ipa with parameters of type StatementBlock Constructor Description FunctionCallGraph(StatementBlock sb)Constructs the function call graph for all functions reachable from the given statement block.InterProceduralAnalysis(StatementBlock sb) -
Uses of StatementBlock in org.apache.sysds.hops.recompile
-
Uses of StatementBlock in org.apache.sysds.hops.rewrite
-
Uses of StatementBlock in org.apache.sysds.lops.compile
Methods in org.apache.sysds.lops.compile with parameters of type StatementBlock Modifier and Type Method Description ArrayList<Instruction>Dag. getJobs(StatementBlock sb, DMLConfig config)Method to compile a dag generically -
Uses of StatementBlock in org.apache.sysds.parser
Subclasses of StatementBlock in org.apache.sysds.parser Modifier and Type Class Description classForStatementBlockclassFunctionStatementBlockclassIfStatementBlockclassParForStatementBlockThis ParForStatementBlock is essentially identical to a ForStatementBlock, except an extended validate for checking/setting optional parfor parameters and running the loop dependency analysis.classWhileStatementBlockMethods in org.apache.sysds.parser that return StatementBlock Modifier and Type Method Description StatementBlockDMLProgram. getStatementBlock(int i)static StatementBlockParserWrapper. getStatementBlock(Statement current)Custom wrapper to convert statement into statement blocks.Methods in org.apache.sysds.parser that return types with arguments of type StatementBlock Modifier and Type Method Description ArrayList<StatementBlock>ForStatement. getBody()ArrayList<StatementBlock>FunctionStatement. getBody()ArrayList<StatementBlock>WhileStatement. getBody()ArrayList<StatementBlock>IfStatement. getElseBody()ArrayList<StatementBlock>IfStatement. getIfBody()ArrayList<StatementBlock>DMLProgram. getStatementBlocks()static ArrayList<StatementBlock>StatementBlock. mergeFunctionCalls(List<StatementBlock> body, DMLProgram dmlProg)static ArrayList<StatementBlock>StatementBlock. mergeStatementBlocks(List<StatementBlock> sb)static List<StatementBlock>StatementBlock. rHoistFunctionCallsFromExpressions(StatementBlock current, DMLProgram prog)Method parameters in org.apache.sysds.parser with type arguments of type StatementBlock Modifier and Type Method Description voidDMLTranslator. cleanupLiveOutVariables(List<StatementBlock> sbs, VariableSet unionLiveIn)static ArrayList<StatementBlock>StatementBlock. mergeFunctionCalls(List<StatementBlock> body, DMLProgram dmlProg)static ArrayList<StatementBlock>StatementBlock. mergeStatementBlocks(List<StatementBlock> sb)voidForStatement. setBody(ArrayList<StatementBlock> body)voidFunctionStatement. setBody(ArrayList<StatementBlock> body)voidWhileStatement. setBody(ArrayList<StatementBlock> body)voidIfStatement. setElseBody(ArrayList<StatementBlock> body)voidIfStatement. setIfBody(ArrayList<StatementBlock> body)voidDMLProgram. setStatementBlocks(ArrayList<StatementBlock> passed)Constructors in org.apache.sysds.parser with parameters of type StatementBlock Constructor Description StatementBlock(StatementBlock sb) -
Uses of StatementBlock in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram that return StatementBlock Modifier and Type Method Description StatementBlockProgramBlock. getStatementBlock()Methods in org.apache.sysds.runtime.controlprogram with parameters of type StatementBlock Modifier and Type Method Description voidProgramBlock. setStatementBlock(StatementBlock sb) -
Uses of StatementBlock in org.apache.sysds.runtime.controlprogram.parfor.opt
Methods in org.apache.sysds.runtime.controlprogram.parfor.opt with parameters of type StatementBlock Modifier and Type Method Description static voidOptTreePlanChecker. checkProgramCorrectness(ProgramBlock pb, StatementBlock sb, Set<String> fnStack)static 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).longOptTreePlanMappingAbstract. putProgMapping(StatementBlock sb, ProgramBlock pb, OptNode n)static OptNodeOptTreeConverter. rCreateAbstractOptNode(StatementBlock sb, ProgramBlock pb, LocalVariableMap vars, boolean topLevel, OptTreePlanMappingAbstract hlMap, Set<String> memo)static voidProgramRecompiler. replaceConstantScalarVariables(StatementBlock sb, LocalVariableMap vars)static voidProgramRecompiler. rFindAndRecompileIndexingHOP(StatementBlock sb, ProgramBlock pb, String var, ExecutionContext ec, boolean force)NOTE: if force is set, we set and recompile the respective indexing hops; otherwise, we release the forced exec type and recompile again.Method parameters in org.apache.sysds.runtime.controlprogram.parfor.opt with type arguments of type StatementBlock Modifier and Type Method Description static ArrayList<ProgramBlock>ProgramRecompiler. generatePartitialRuntimeProgram(Program rtprog, ArrayList<StatementBlock> sbs) -
Uses of StatementBlock in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return StatementBlock Modifier and Type Method Description static StatementBlockProgramConverter. createStatementBlockCopy(StatementBlock sb, long pid, boolean plain, boolean forceDeepCopy)static StatementBlockProgramConverter. rCreateDeepCopyStatementBlock(StatementBlock sb)Methods in org.apache.sysds.runtime.util with parameters of type StatementBlock Modifier and Type Method Description static StatementBlockProgramConverter. createStatementBlockCopy(StatementBlock sb, long pid, boolean plain, boolean forceDeepCopy)static StatementBlockProgramConverter. rCreateDeepCopyStatementBlock(StatementBlock sb) -
Uses of StatementBlock in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type StatementBlock Modifier and Type Method Description static StringExplain. explain(StatementBlock sb)
-