OpenASIP
2.0
|
#include <TerminalBasicBlockReference.hh>
Private Attributes | |
const BasicBlock * | bb_ |
Additional Inherited Members | |
Protected Attributes inherited from TTAProgram::TerminalImmediate | |
SimValue | value_ |
Value of the inline immediate. More... | |
Definition at line 42 of file TerminalBasicBlockReference.hh.
TTAProgram::TerminalBasicBlockReference::TerminalBasicBlockReference | ( | const BasicBlock & | bb | ) |
|
inlinevirtual |
Definition at line 45 of file TerminalBasicBlockReference.hh.
|
inlinevirtual |
Returns a reference to the basic block to which the immediate points.
Reimplemented from TTAProgram::Terminal.
Definition at line 51 of file TerminalBasicBlockReference.hh.
References bb_.
Referenced by TTAProgram::TerminalInstructionReference::equals().
|
virtual |
Creates an exact copy of the terminal and returns it.
Reimplemented from TTAProgram::TerminalImmediate.
Definition at line 45 of file TerminalBasicBlockReference.cc.
References bb_, and TerminalBasicBlockReference().
|
virtual |
Checks if terminals are equal.
other | Terminal to compare. |
Reimplemented from TTAProgram::TerminalImmediate.
Definition at line 49 of file TerminalBasicBlockReference.cc.
References bb_, TTAProgram::CodeSnippet::firstInstruction(), TTAProgram::InstructionReference::instruction(), and TTAProgram::TerminalInstructionReference::instructionReference().
|
inlinevirtual |
Tells whether the terminal is reference to a basic block.
Reimplemented from TTAProgram::Terminal.
Definition at line 54 of file TerminalBasicBlockReference.hh.
|
virtual |
Returns the value of the inline immediate.
WrongSubclass | never. |
Reimplemented from TTAProgram::TerminalImmediate.
Definition at line 66 of file TerminalBasicBlockReference.cc.
References bb_, TTAProgram::Address::location(), TTAProgram::CodeSnippet::startAddress(), and WORD_BITWIDTH.
|
private |
Definition at line 56 of file TerminalBasicBlockReference.hh.
Referenced by basicBlock(), copy(), equals(), and value().