TCE
1.21
|
#include <ProgramPartitioner.hh>
Public Member Functions | |
ProgramPartitioner () | |
virtual bool | doInitialization (llvm::Module &M) override |
virtual bool | runOnMachineFunction (llvm::MachineFunction &MF) override |
virtual bool | doFinalization (llvm::Module &M) override |
virtual bool | findNodeIndex (const llvm::MachineInstr &I, hash_map< const llvm::MachineInstr *, unsigned > &partitions, llvm::MachineFunction &MF, unsigned int &index) |
virtual llvm::StringRef | getPassName () const override |
Static Public Attributes | |
static char | ID = 0 |
Definition at line 77 of file ProgramPartitioner.hh.
|
inline |
Definition at line 79 of file ProgramPartitioner.hh.
References doFinalization(), doInitialization(), findNodeIndex(), getPassName(), and runOnMachineFunction().
|
overridevirtual |
Definition at line 192 of file ProgramPartitioner.cc.
Referenced by ProgramPartitioner().
|
overridevirtual |
Definition at line 63 of file ProgramPartitioner.cc.
Referenced by ProgramPartitioner().
|
virtual |
Attemts to find an index of lane to which the instruction belongs based on metadata or parent instruction assignment.
mi | Machine instruction to analyze |
paritions | map between machine instruction and the lane indexes |
MF | machine function to which the mi belongs |
nodeIndex | index found |
Definition at line 206 of file ProgramPartitioner.cc.
References llvm::TCETargetMachine::maxVectorSize(), llvm::TCETargetMachinePlugin::nodeRegClass(), and llvm::TCETargetMachine::targetPlugin().
Referenced by ProgramPartitioner().
|
inlineoverridevirtual |
Definition at line 92 of file ProgramPartitioner.hh.
Referenced by ProgramPartitioner().
|
overridevirtual |
Definition at line 68 of file ProgramPartitioner.cc.
References llvm::TCETargetMachinePlugin::extractElementLane(), llvm::TCETargetMachine::maxVectorSize(), PRINT_VAR, and llvm::TCETargetMachine::targetPlugin().
Referenced by ProgramPartitioner().
|
static |
Definition at line 78 of file ProgramPartitioner.hh.