Uses of Class
org.apache.sysds.runtime.instructions.Instruction
-
-
Uses of Instruction in org.apache.sysds.api.jmlc
Methods in org.apache.sysds.api.jmlc that return types with arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>
JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, String... outputs)
Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names.static ArrayList<Instruction>
JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, HashSet<String> outputs)
Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names.Method parameters in org.apache.sysds.api.jmlc with type arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>
JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, String... outputs)
Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names.static ArrayList<Instruction>
JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, HashSet<String> outputs)
Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names. -
Uses of Instruction in org.apache.sysds.hops.codegen
Methods in org.apache.sysds.hops.codegen that return types with arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>
SpoofCompiler. generateCodeFromHopDAGsToInst(Hop root)
static ArrayList<Instruction>
SpoofCompiler. generateCodeFromHopDAGsToInst(StatementBlock sb, ArrayList<Hop> roots)
-
Uses of Instruction in org.apache.sysds.hops.recompile
-
Uses of Instruction in org.apache.sysds.lops.compile
Methods in org.apache.sysds.lops.compile that return types with arguments of type Instruction Modifier and Type Method Description ArrayList<Instruction>
Dag. getJobs(StatementBlock sb, DMLConfig config)
Method to compile a dag generically -
Uses of Instruction in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram that return Instruction Modifier and Type Method Description Instruction
ProgramBlock. getExitInstruction()
Instruction
BasicProgramBlock. getInstruction(int i)
Methods in org.apache.sysds.runtime.controlprogram that return types with arguments of type Instruction Modifier and Type Method Description ArrayList<Instruction>
ForProgramBlock. getFromInstructions()
ArrayList<Instruction>
ForProgramBlock. getIncrementInstructions()
ArrayList<Instruction>
BasicProgramBlock. getInstructions()
ArrayList<Instruction>
IfProgramBlock. getPredicate()
ArrayList<Instruction>
WhileProgramBlock. getPredicate()
ArrayList<Instruction>
ForProgramBlock. getToInstructions()
Methods in org.apache.sysds.runtime.controlprogram with parameters of type Instruction Modifier and Type Method Description void
BasicProgramBlock. addInstruction(Instruction inst)
void
ProgramBlock. setExitInstruction(Instruction rmVar)
Method parameters in org.apache.sysds.runtime.controlprogram with type arguments of type Instruction Modifier and Type Method Description void
BasicProgramBlock. addInstructions(ArrayList<Instruction> inst)
ScalarObject
ProgramBlock. executePredicate(ArrayList<Instruction> inst, Hop hops, boolean requiresRecompile, Types.ValueType retType, ExecutionContext ec)
Executes given predicate instructions (incl recompilation if required)void
ForProgramBlock. setFromInstructions(ArrayList<Instruction> instructions)
void
ForProgramBlock. setIncrementInstructions(ArrayList<Instruction> instructions)
void
BasicProgramBlock. setInstructions(ArrayList<Instruction> inst)
void
IfProgramBlock. setPredicate(ArrayList<Instruction> predicate)
void
WhileProgramBlock. setPredicate(ArrayList<Instruction> predicate)
void
ForProgramBlock. setToInstructions(ArrayList<Instruction> instructions)
Constructor parameters in org.apache.sysds.runtime.controlprogram with type arguments of type Instruction Constructor Description IfProgramBlock(Program prog, ArrayList<Instruction> predicate)
WhileProgramBlock(Program prog, ArrayList<Instruction> predicate)
-
Uses of Instruction in org.apache.sysds.runtime.controlprogram.context
Methods in org.apache.sysds.runtime.controlprogram.context with parameters of type Instruction Modifier and Type Method Description void
ExecutionContext. maintainLineageDebuggerInfo(Instruction inst)
void
ExecutionContext. traceLineage(Instruction inst)
-
Uses of Instruction in org.apache.sysds.runtime.controlprogram.federated
Methods in org.apache.sysds.runtime.controlprogram.federated with parameters of type Instruction Modifier and Type Method Description void
FederatedWorkloadAnalyzer. incrementWorkload(ExecutionContext ec, long tid, Instruction ins)
-
Uses of Instruction in org.apache.sysds.runtime.controlprogram.parfor.opt
Methods in org.apache.sysds.runtime.controlprogram.parfor.opt with parameters of type Instruction Modifier and Type Method Description static OptNode
OptTreeConverter. createOptNode(Instruction inst, LocalVariableMap vars, OptTreePlanMappingRuntime rtMap, boolean storeObjs)
long
OptTreePlanMappingRuntime. putMapping(Instruction inst, OptNode n)
Method parameters in org.apache.sysds.runtime.controlprogram.parfor.opt with type arguments of type Instruction Modifier and Type Method Description static boolean
OptTreeConverter. containsSparkInstruction(ArrayList<Instruction> instSet, boolean inclCPFile)
static ArrayList<OptNode>
OptTreeConverter. createOptNodes(ArrayList<Instruction> instset, LocalVariableMap vars, OptTreePlanMappingRuntime rtMap, boolean storeObjs)
-
Uses of Instruction in org.apache.sysds.runtime.instructions
Methods in org.apache.sysds.runtime.instructions that return Instruction Modifier and Type Method Description static Instruction[]
InstructionParser. parseMixedInstructions(String str)
static Instruction
InstructionParser. parseSingleInstruction(String str)
Instruction
Instruction. preprocessInstruction(ExecutionContext ec)
This method should be used for any setup before executing this instruction.Methods in org.apache.sysds.runtime.instructions with parameters of type Instruction Modifier and Type Method Description void
Instruction. setLocation(Instruction oldInst)
-
Uses of Instruction in org.apache.sysds.runtime.instructions.cp
Methods in org.apache.sysds.runtime.instructions.cp that return Instruction Modifier and Type Method Description static Instruction
VariableCPInstruction. prepareCopyInstruction(String srcVar, String destVar)
static Instruction
VariableCPInstruction. prepareRemoveInstruction(long... varName)
static Instruction
VariableCPInstruction. prepareRemoveInstruction(String... varNames)
static Instruction
VariableCPInstruction. prepCreatevarInstruction(String varName, String fileName, boolean fNameOverride, String format)
static Instruction
VariableCPInstruction. prepCreatevarInstruction(String varName, String fileName, boolean fNameOverride, Types.DataType dt, String format, DataCharacteristics mc, MatrixObject.UpdateType update)
static Instruction
VariableCPInstruction. prepCreatevarInstruction(String varName, String fileName, boolean fNameOverride, Types.DataType dt, String format, DataCharacteristics mc, MatrixObject.UpdateType update, boolean hasHeader, String delim, boolean sparse)
static Instruction
VariableCPInstruction. prepMoveInstruction(String srcVar, String destVar)
static Instruction
VariableCPInstruction. prepMoveInstruction(String srcVar, String destFileName, String format)
Instruction
CPInstruction. preprocessInstruction(ExecutionContext ec)
Instruction
FunctionCallCPInstruction. preprocessInstruction(ExecutionContext ec)
-
Uses of Instruction in org.apache.sysds.runtime.instructions.cpfile
Subclasses of Instruction in org.apache.sysds.runtime.instructions.cpfile Modifier and Type Class Description class
MatrixIndexingCPFileInstruction
This instruction is used if a single partition is too large to fit in memory. -
Uses of Instruction in org.apache.sysds.runtime.instructions.fed
Methods in org.apache.sysds.runtime.instructions.fed that return Instruction Modifier and Type Method Description static Instruction
FEDInstructionUtils. checkAndReplaceCP(Instruction inst, ExecutionContext ec)
Check and replace CP instructions with federated instructions if the instruction match criteria.static Instruction
FEDInstructionUtils. checkAndReplaceSP(Instruction inst, ExecutionContext ec)
Instruction
FEDInstruction. preprocessInstruction(ExecutionContext ec)
Methods in org.apache.sysds.runtime.instructions.fed with parameters of type Instruction Modifier and Type Method Description static Instruction
FEDInstructionUtils. checkAndReplaceCP(Instruction inst, ExecutionContext ec)
Check and replace CP instructions with federated instructions if the instruction match criteria.static Instruction
FEDInstructionUtils. checkAndReplaceSP(Instruction inst, ExecutionContext ec)
-
Uses of Instruction in org.apache.sysds.runtime.instructions.gpu
Subclasses of Instruction in org.apache.sysds.runtime.instructions.gpu Modifier and Type Class Description class
AggregateBinaryGPUInstruction
class
AggregateUnaryGPUInstruction
Implements aggregate unary instructions for CUDAclass
ArithmeticBinaryGPUInstruction
class
BuiltinBinaryGPUInstruction
class
BuiltinUnaryGPUInstruction
class
DnnGPUInstruction
class
GPUInstruction
class
MatrixAppendGPUInstruction
Implements the cbind and rbind functions for matricesclass
MatrixBuiltinGPUInstruction
class
MatrixIndexingGPUInstruction
class
MatrixMatrixArithmeticGPUInstruction
class
MatrixMatrixAxpyGPUInstruction
class
MatrixMatrixBuiltinGPUInstruction
class
MatrixMatrixRelationalBinaryGPUInstruction
class
MatrixReshapeGPUInstruction
class
MMTSJGPUInstruction
class
RelationalBinaryGPUInstruction
class
ReorgGPUInstruction
class
ScalarMatrixArithmeticGPUInstruction
class
ScalarMatrixBuiltinGPUInstruction
class
ScalarMatrixRelationalBinaryGPUInstruction
class
SpoofCUDAInstruction
Methods in org.apache.sysds.runtime.instructions.gpu that return Instruction Modifier and Type Method Description Instruction
GPUInstruction. preprocessInstruction(ExecutionContext ec)
-
Uses of Instruction in org.apache.sysds.runtime.instructions.spark
Methods in org.apache.sysds.runtime.instructions.spark that return Instruction Modifier and Type Method Description Instruction
SPInstruction. preprocessInstruction(ExecutionContext ec)
-
Uses of Instruction in org.apache.sysds.runtime.lineage
Methods in org.apache.sysds.runtime.lineage with parameters of type Instruction Modifier and Type Method Description static boolean
LineageRewriteReuse. executeRewrites(Instruction curr, ExecutionContext ec)
static boolean
LineageCacheConfig. isOutputFederated(Instruction inst, Data data)
static boolean
LineageCacheConfig. isReusable(Instruction inst, ExecutionContext ec)
static void
LineageDebugger. maintainSpecialValueBits(Lineage lineage, Instruction inst, ExecutionContext ec)
static void
LineageEstimator. processSingleInst(Instruction inst, ExecutionContext ec, long starttime)
static void
LineageCache. putMatrix(Instruction inst, ExecutionContext ec, long computetime)
static void
LineageCache. putValue(Instruction inst, ExecutionContext ec, long starttime)
static boolean
LineageCache. reuse(Instruction inst, ExecutionContext ec)
void
Lineage. trace(Instruction inst, ExecutionContext ec)
void
LineageMap. trace(Instruction inst, ExecutionContext ec)
-
Uses of Instruction in org.apache.sysds.runtime.privacy.propagation
Methods in org.apache.sysds.runtime.privacy.propagation that return Instruction Modifier and Type Method Description static Instruction
PrivacyPropagator. preprocessInstruction(Instruction inst, ExecutionContext ec)
Propagate privacy constraints from input to output CPOperands in case the privacy constraints of the input are activated.Methods in org.apache.sysds.runtime.privacy.propagation with parameters of type Instruction Modifier and Type Method Description static void
PrivacyPropagator. postProcessInstruction(Instruction inst, ExecutionContext ec)
Propagate privacy constraints to output variables based on privacy constraint of CPOperand output in instruction which has been set during privacy propagation preprocessing.static Instruction
PrivacyPropagator. preprocessInstruction(Instruction inst, ExecutionContext ec)
Propagate privacy constraints from input to output CPOperands in case the privacy constraints of the input are activated. -
Uses of Instruction in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return Instruction Modifier and Type Method Description static Instruction
ProgramConverter. cloneInstruction(Instruction oInst, long pid, boolean plain, boolean cpFunctions)
Methods in org.apache.sysds.runtime.util that return types with arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>
ProgramConverter. createDeepCopyInstructionSet(ArrayList<Instruction> instSet, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean cpFunctions)
Creates a deep copy of an array of instructions and replaces the placeholders of parworker IDs with the concrete IDs of this parfor instance.Methods in org.apache.sysds.runtime.util with parameters of type Instruction Modifier and Type Method Description static Instruction
ProgramConverter. cloneInstruction(Instruction oInst, long pid, boolean plain, boolean cpFunctions)
Method parameters in org.apache.sysds.runtime.util with type arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>
ProgramConverter. createDeepCopyInstructionSet(ArrayList<Instruction> instSet, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean cpFunctions)
Creates a deep copy of an array of instructions and replaces the placeholders of parworker IDs with the concrete IDs of this parfor instance. -
Uses of Instruction in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type Instruction Modifier and Type Method Description static String
Explain. explain(Instruction inst)
static String
Statistics. getCPHeavyHitterCode(Instruction inst)
Method parameters in org.apache.sysds.utils with type arguments of type Instruction Modifier and Type Method Description static String
Explain. explain(ArrayList<Instruction> inst)
static String
Explain. explain(ArrayList<Instruction> inst, int level)
-