|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
A set of CodeParts. More...
#include <CodePart.h>

Public Member Functions | |
| CodeSet () | |
| CodeSet (const CodeSet &cs) | |
| void | append (const CodePart &part, CodePart::TYPE type) |
| CodePart & | append (CodePart::TYPE type) |
| CodePart & | prepend (CodePart::TYPE type) |
| std::string | toString (RegisterSet &ignored, bool &ok) const |
| writes the contained CodeParts as needed with respect to the given RegisterSet of bits that are not required to be set by this code | |
Static Private Member Functions | |
| static void | writeCodeParts (std::string &code, const std::list< CodePart > &parts, bool required, RegisterSet &ignored, bool intersect) |
Private Attributes | |
| std::list< CodePart > | pindbgretreq_parts_ |
| std::list< CodePart > | inireq_parts_ |
| std::list< CodePart > | midopt_parts_ |
| std::list< CodePart > | appreq_parts_ |
| std::list< CodePart > | appopt_parts_ |
| std::list< CodePart > | appretreq_parts_ |
A set of CodeParts.
This class stores CodeParts and appends them as needed in the CodeSet::toString function
Definition at line 398 of file CodePart.h.
|
inline |
Definition at line 402 of file CodePart.h.
|
inline |
Definition at line 403 of file CodePart.h.
References appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, midopt_parts_, and pindbgretreq_parts_.
|
inline |
Definition at line 436 of file CodePart.h.
References etiss::CodePart::APPENDEDOPTIONAL, etiss::CodePart::APPENDEDREQUIRED, etiss::CodePart::APPENDEDRETURNINGREQUIRED, appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, etiss::CodePart::INITIALREQUIRED, midopt_parts_, etiss::CodePart::OPTIONALMIDDLE, pindbgretreq_parts_, and etiss::CodePart::PREINITIALDEBUGRETURNING.
|
inline |
Definition at line 412 of file CodePart.h.
References etiss::CodePart::APPENDEDOPTIONAL, etiss::CodePart::APPENDEDREQUIRED, etiss::CodePart::APPENDEDRETURNINGREQUIRED, appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, etiss::CodePart::INITIALREQUIRED, midopt_parts_, etiss::CodePart::OPTIONALMIDDLE, pindbgretreq_parts_, and etiss::CodePart::PREINITIALDEBUGRETURNING.
Referenced by etiss::plugin::InstructionSpecificAddressCallback::finalizeInstrSet(), etiss::plugin::PrintInstruction::finalizeInstrSet(), etiss::plugin::VariableValueLogger::finalizeInstrSet(), RV32IMACFDArch::initInstrSet(), and RV64IMACFDArch::initInstrSet().

|
inline |
Definition at line 465 of file CodePart.h.
References etiss::CodePart::APPENDEDOPTIONAL, etiss::CodePart::APPENDEDREQUIRED, etiss::CodePart::APPENDEDRETURNINGREQUIRED, appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, etiss::CodePart::INITIALREQUIRED, midopt_parts_, etiss::CodePart::OPTIONALMIDDLE, pindbgretreq_parts_, and etiss::CodePart::PREINITIALDEBUGRETURNING.
Referenced by etiss::plugin::InstructionAccurateCallback::finalizeInstrSet(), etiss::DataSheetAccurateTiming::handleMatch_cycles(), and Server_finalizeInstrSet().

| std::string CodeSet::toString | ( | RegisterSet & | ignored, |
| bool & | ok | ||
| ) | const |
writes the contained CodeParts as needed with respect to the given RegisterSet of bits that are not required to be set by this code
Definition at line 82 of file CodePart.cpp.
References appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, midopt_parts_, pindbgretreq_parts_, and writeCodeParts().

|
staticprivate |
Definition at line 19 of file CodePart.cpp.
References etiss::RegisterSet::applyShadow(), etiss::RegisterSet::clear(), etiss::RegisterSet::intersect(), and etiss::RegisterSet::merge().
Referenced by toString().


|
private |
Definition at line 511 of file CodePart.h.
Referenced by append(), append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 510 of file CodePart.h.
Referenced by append(), append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 512 of file CodePart.h.
Referenced by append(), append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 508 of file CodePart.h.
Referenced by append(), append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 509 of file CodePart.h.
Referenced by append(), append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 507 of file CodePart.h.
Referenced by append(), append(), CodeSet(), prepend(), and toString().