public class EvalNaryCPInstruction extends BuiltinNaryCPInstruction
CPInstruction.CPType
Instruction.IType
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Constructor and Description |
---|
EvalNaryCPInstruction(Operator op,
String opcode,
String istr,
CPOperand output,
CPOperand... inputs) |
Modifier and Type | Method and Description |
---|---|
void |
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.
|
void |
updateInstructionThreadID(String pattern,
String replace)
All instructions that have thread-specific filenames or names encoded in it
should overwrite this method in order to update (1) the in-memory instruction
and (2) the instruction string
|
getInputs, getOutput, parseInstruction
getCPInstructionType, getGraphString, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate, updateLabels
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString
public void processInstruction(ExecutionContext ec)
Instruction
processInstruction
in class CPInstruction
ec
- execution contextpublic void updateInstructionThreadID(String pattern, String replace)
Instruction
updateInstructionThreadID
in class Instruction
pattern
- ?replace
- ?Copyright © 2021 The Apache Software Foundation. All rights reserved.