| Package | Description | 
|---|---|
| org.apache.sysds.hops.rewrite | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MarkForLineageReuse | 
| class  | RewriteCompressedReblockRule: Compressed Re block if config compressed.linalg is enabled, we inject compression directions after read of
 matrices if number of rows is above 1000 and cols at least 1. | 
| class  | RewriteForLoopVectorizationRule: Simplify program structure by pulling if or else statement body out
 (removing the if statement block ifself) in order to allow intra-procedure
 analysis to propagate exact statistics. | 
| class  | RewriteHoistLoopInvariantOperationsRule: Simplify program structure by hoisting loop-invariant operations
 out of while, for, or parfor loops. | 
| class  | RewriteInjectSparkLoopCheckpointingRule: Insert checkpointing operations for caching purposes. | 
| class  | RewriteMarkLoopVariablesUpdateInPlaceRule: Mark loop variables that are only read/updated through cp left indexing
 for update in-place. | 
| class  | RewriteMergeBlockSequenceRule: Simplify program structure by merging sequences of last-level
 statement blocks in order to create optimization opportunities. | 
| class  | RewriteRemoveEmptyBasicBlocksRule: Simplify program structure by removing empty last-level blocks,
 which may originate from the original program or due to a sequence of
 rewrites (e.g., checkpoint injection and subsequent IPA). | 
| class  | RewriteRemoveForLoopEmptySequenceRule: Simplify program structure by removing (par)for statements iterating over
 an empty sequence, i.e., (par)for-loops without a single iteration. | 
| class  | RewriteRemoveUnnecessaryBranchesRule: Simplify program structure by pulling if or else statement body out
 (removing the if statement block ifself) in order to allow intra-procedure
 analysis to propagate exact statistics. | 
| class  | RewriteSplitDagDataDependentOperatorsRule: Split Hop DAG after specific data-dependent operators. | 
| class  | RewriteSplitDagUnknownCSVReadRule: Split Hop DAG after CSV reads with unknown size. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ProgramRewriter. removeStatementBlockRewrite(Class<? extends StatementBlockRewriteRule> clazz) | 
| Constructor and Description | 
|---|
| ProgramRewriter(StatementBlockRewriteRule... rewrites)Construct a program rewriter for a given rewrite which is passed from outside. | 
| Constructor and Description | 
|---|
| ProgramRewriter(ArrayList<HopRewriteRule> hRewrites,
               ArrayList<StatementBlockRewriteRule> sbRewrites)Construct a program rewriter for the given rewrite sets which are passed from outside. | 
Copyright © 2021 The Apache Software Foundation. All rights reserved.