ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
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 More... | |
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 436 of file CodePart.h.
|
inline |
Definition at line 440 of file CodePart.h.
|
inline |
Definition at line 441 of file CodePart.h.
References appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, midopt_parts_, and pindbgretreq_parts_.
|
inline |
Definition at line 474 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_, etiss::CodePart::PREINITIALDEBUGRETURNING, and get_metrics::type.
|
inline |
Definition at line 450 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_, etiss::CodePart::PREINITIALDEBUGRETURNING, and get_metrics::type.
Referenced by etiss::plugin::InstructionAccurateCallback::finalizeInstrSet(), etiss::plugin::InstructionSpecificAddressCallback::finalizeInstrSet(), etiss::plugin::PrintInstruction::finalizeInstrSet(), etiss::plugin::VariableValueLogger::finalizeInstrSet(), RV32IMACFDArch::initInstrSet(), and RV64IMACFDArch::initInstrSet().
|
inline |
Definition at line 503 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_, etiss::CodePart::PREINITIALDEBUGRETURNING, and get_metrics::type.
Referenced by 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 120 of file CodePart.cpp.
References appopt_parts_, appreq_parts_, appretreq_parts_, inireq_parts_, midopt_parts_, pindbgretreq_parts_, and writeCodeParts().
|
staticprivate |
Definition at line 57 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 549 of file CodePart.h.
Referenced by append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 548 of file CodePart.h.
Referenced by append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 550 of file CodePart.h.
Referenced by append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 546 of file CodePart.h.
Referenced by append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 547 of file CodePart.h.
Referenced by append(), CodeSet(), prepend(), and toString().
|
private |
Definition at line 545 of file CodePart.h.
Referenced by append(), CodeSet(), prepend(), and toString().