Go to the documentation of this file.
41 if (processedInputNodes.count(
const_cast<MoveNode*
>(&node))) {
42 return std::make_pair(
true, resFU);
44 processedInputNodes.insert(
const_cast<MoveNode*
>(&node));
50 "Output move does not have FU source!");
58 return std::make_pair(
false, resFU);
72 return std::make_pair(
true, resFU);
85 return std::make_pair(
false, resFU);
87 return std::make_pair(
true, resFU);
92 return std::make_pair(
false, resFU);
98 if (resFU ==
nullptr) {
100 return std::make_pair(
true, fu);
103 return std::make_pair(
false, resFU);
107 return std::make_pair(
true,fu);
virtual bool isFUPort() const
std::set< MoveNode *, typename MoveNode ::Comparator > NodeSet
Terminal & destination() const
bool hasResourceOf(const TTAMachine::MachinePart &mp) const
bool isLegalFU(const TTAMachine::FunctionUnit &fu) const
#define assert(condition)
std::pair< bool, const TTAMachine::FunctionUnit * > findFUOfPO(ProgramOperation &po, const TTAMachine::FunctionUnit *resFU) const
unsigned int destinationOperationCount() const
const TTAMachine::FunctionUnit * scheduledFU() const
virtual const TTAMachine::FunctionUnit & functionUnit() const
ProgramOperation & destinationOperation(unsigned int index=0) const
TTAProgram::Move & move()
std::pair< bool, const TTAMachine::FunctionUnit * > findDstFUOfMove(const MoveNode &node, const TTAMachine::FunctionUnit *resFU, DataDependenceGraph::NodeSet &processedInputNodes) const