public abstract class CPInstruction extends Instruction
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CPInstruction.CPType  | 
Instruction.ITypeDATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX| Modifier and Type | Method and Description | 
|---|---|
CPInstruction.CPType | 
getCPInstructionType()  | 
String | 
getGraphString()  | 
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()  | 
static String | 
updateLabels(String instList,
            LocalVariableMap labelValueMapping)
Takes a delimited string of instructions, and replaces ALL placeholder labels 
 (such as ##mVar2## and ##Var5##) in ALL instructions. 
 | 
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadIDpublic Instruction.IType getType()
getType in class Instructionpublic CPInstruction.CPType getCPInstructionType()
public boolean requiresLabelUpdate()
requiresLabelUpdate in class Instructionpublic String getGraphString()
getGraphString in class Instructionpublic Instruction preprocessInstruction(ExecutionContext ec)
InstructionpreprocessInstruction in class Instructionec - execution contextpublic abstract void processInstruction(ExecutionContext ec)
InstructionprocessInstruction in class Instructionec - execution contextpublic static String updateLabels(String instList, LocalVariableMap labelValueMapping)
instList - instruction list as stringlabelValueMapping - local variable mappublic void postprocessInstruction(ExecutionContext ec)
InstructionpostprocessInstruction in class Instructionec - execution contextCopyright © 2021 The Apache Software Foundation. All rights reserved.