OpenASIP
2.0
src
applibs
Scheduler
Algorithms
BFCopyRegWithOp.hh
Go to the documentation of this file.
1
#ifndef BF_COPY_REG_WITH_OP_HH
2
#define BF_COPY_REG_WITH_OP_HH
3
4
#include "
BFRegCopy.hh
"
5
#include "
TCEString.hh
"
6
#include "
MachineConnectivityCheck.hh
"
7
8
class
BFCopyRegWithOp
:
public
BFRegCopy
{
9
public
:
10
BFCopyRegWithOp
(
BF2Scheduler
& sched,
MoveNode
& mn,
int
lc,
11
MachineConnectivityCheck::FUSet
candidateFUs) :
12
BFRegCopy
(sched,mn,lc),
candidateFUs_
(candidateFUs) {}
13
virtual
~BFCopyRegWithOp
() {}
14
protected
:
15
bool
splitMove
(
BasicBlockNode
& bbn);
16
void
undoSplit
();
17
ProgramOperationPtr
pop_
;
18
MachineConnectivityCheck::FUSet
candidateFUs_
;
19
};
20
21
#endif
MachineConnectivityCheck.hh
BFCopyRegWithOp::BFCopyRegWithOp
BFCopyRegWithOp(BF2Scheduler &sched, MoveNode &mn, int lc, MachineConnectivityCheck::FUSet candidateFUs)
Definition:
BFCopyRegWithOp.hh:10
BFCopyRegWithOp::pop_
ProgramOperationPtr pop_
Definition:
BFCopyRegWithOp.hh:17
MoveNode
Definition:
MoveNode.hh:65
ProgramOperationPtr
std::shared_ptr< ProgramOperation > ProgramOperationPtr
Definition:
MoveNode.hh:52
BFRegCopy
Definition:
BFRegCopy.hh:47
BFCopyRegWithOp::splitMove
bool splitMove(BasicBlockNode &bbn)
Definition:
BFCopyRegWithOp.cc:15
TCEString.hh
MachineConnectivityCheck::FUSet
std::set< const TTAMachine::FunctionUnit *, const TTAMachine::MachinePart::Comparator > FUSet
Definition:
MachineConnectivityCheck.hh:76
BasicBlockNode
Definition:
BasicBlockNode.hh:64
BF2Scheduler
Definition:
BF2Scheduler.hh:74
BFCopyRegWithOp
Definition:
BFCopyRegWithOp.hh:8
BFCopyRegWithOp::undoSplit
void undoSplit()
Definition:
BFCopyRegWithOp.cc:65
BFCopyRegWithOp::~BFCopyRegWithOp
virtual ~BFCopyRegWithOp()
Definition:
BFCopyRegWithOp.hh:13
BFCopyRegWithOp::candidateFUs_
MachineConnectivityCheck::FUSet candidateFUs_
Definition:
BFCopyRegWithOp.hh:18
BFRegCopy.hh
Generated by
1.8.17