OpenASIP
2.0
|
#include <TerminalImmediate.hh>
Protected Attributes | |
SimValue | value_ |
Value of the inline immediate. More... | |
Private Member Functions | |
TerminalImmediate & | operator= (const TerminalImmediate &) |
Assignment not allowed. More... | |
Represents an inline immediate.
Definition at line 44 of file TerminalImmediate.hh.
TTAProgram::TerminalImmediate::TerminalImmediate | ( | SimValue | value | ) |
The constructor.
value | The value of the inline immediate. |
Definition at line 48 of file TerminalImmediate.cc.
Referenced by copy().
|
virtual |
|
virtual |
Creates an exact copy of the terminal and returns it.
Implements TTAProgram::Terminal.
Reimplemented in TTAProgram::TerminalInstructionAddress, TTAProgram::TerminalProgramOperation, TTAProgram::TerminalInstructionReference, TTAProgram::TerminalAddress, TTAProgram::TerminalLaneIDImmediate, TTAProgram::TerminalBasicBlockReference, and TTAProgram::TerminalSymbolReference.
Definition at line 85 of file TerminalImmediate.cc.
References TerminalImmediate(), and value_.
Referenced by TTAProgram::Immediate::copy(), and IUResource::unassign().
|
virtual |
Checks if terminals are equal.
other | Terminal to compare. |
Implements TTAProgram::Terminal.
Reimplemented in TTAProgram::TerminalInstructionAddress, TTAProgram::TerminalProgramOperation, TTAProgram::TerminalInstructionReference, TTAProgram::TerminalAddress, TTAProgram::TerminalLaneIDImmediate, TTAProgram::TerminalBasicBlockReference, and TTAProgram::TerminalSymbolReference.
Definition at line 96 of file TerminalImmediate.cc.
References TTAProgram::Terminal::isImmediate(), value(), and TTAProgram::Terminal::value().
|
virtual |
Tells whether the terminal is an inline immediate value.
Reimplemented from TTAProgram::Terminal.
Definition at line 64 of file TerminalImmediate.cc.
|
private |
Assignment not allowed.
|
virtual |
Implements TTAProgram::Terminal.
Reimplemented in TTAProgram::TerminalLaneIDImmediate, and TTAProgram::TerminalSymbolReference.
Definition at line 108 of file TerminalImmediate.cc.
References POMDisassembler::createInlineImmediate(), and DisassemblyImmediate::toString().
Referenced by MachineConnectivityCheck::requiredImmediateWidth().
|
virtual |
Returns the value of the inline immediate.
WrongSubclass | never. |
Reimplemented from TTAProgram::Terminal.
Reimplemented in TTAProgram::TerminalInstructionAddress, TTAProgram::TerminalLaneIDImmediate, TTAProgram::TerminalBasicBlockReference, and TTAProgram::TerminalSymbolReference.
Definition at line 75 of file TerminalImmediate.cc.
References value_.
Referenced by ITemplateBroker::assign(), ITemplateBroker::assignImmediate(), TTAProgram::TPEFProgramFactory::build(), POMValidator::checkLongImmediates(), TTAProgram::TerminalAddress::copy(), TTAProgram::ProgramWriter::createCodeSection(), POMDisassembler::createImmediateAssignment(), CodeCompressorPlugin::encodeLongImmediate(), equals(), CompiledSimCodeGenerator::generateInstruction(), ProgramImageGenerator::generateProgramImage(), BUBasicBlockScheduler::handleLoopDDG(), ITemplateBroker::isImmediateInTemplate(), main(), SimProgramBuilder::processInstruction(), MachineConnectivityCheck::requiredImmediateWidth(), and BasicBlockScheduler::scheduleMove().
|
protected |
Value of the inline immediate.
Definition at line 62 of file TerminalImmediate.hh.
Referenced by TTAProgram::TerminalAddress::address(), copy(), and value().