public abstract class SPInstruction extends Instruction
Modifier and Type | Class and Description |
---|---|
static class |
SPInstruction.SPType |
Instruction.IType
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Modifier and Type | Method and Description |
---|---|
String |
getGraphString() |
SPInstruction.SPType |
getSPInstructionType() |
Instruction.IType |
getType() |
void |
postprocessInstruction(ExecutionContext ec)
This method should be used for any tear down after executing this instruction.
|
Instruction |
preprocessInstruction(ExecutionContext ec)
This method should be used for any setup before executing this instruction.
|
abstract void |
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.
|
boolean |
requiresLabelUpdate() |
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadID
public Instruction.IType getType()
getType
in class Instruction
public SPInstruction.SPType getSPInstructionType()
public boolean requiresLabelUpdate()
requiresLabelUpdate
in class Instruction
public String getGraphString()
getGraphString
in class Instruction
public Instruction preprocessInstruction(ExecutionContext ec)
Instruction
preprocessInstruction
in class Instruction
ec
- execution contextpublic abstract void processInstruction(ExecutionContext ec)
Instruction
processInstruction
in class Instruction
ec
- execution contextpublic void postprocessInstruction(ExecutionContext ec)
Instruction
postprocessInstruction
in class Instruction
ec
- execution contextCopyright © 2020 The Apache Software Foundation. All rights reserved.