20 #define DEBUG_TYPE "nios2-isel" 51 return "NIOS2 DAG->DAG Pattern Instruction Selection";
54 #include "Nios2GenDAGISel.inc" 75 return new Nios2DAGToDAGISel(TM, OptLevel);
raw_ostream & errs()
This returns a reference to a raw_ostream for standard error.
Compute iterated dominance frontiers using a linear time algorithm.
void setNodeId(int Id)
Set unique node id.
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
FunctionPass class - This class is used to implement most global optimizations.
bool isMachineOpcode() const
Test if this node has a post-isel opcode, directly corresponding to a MachineInstr opcode...
void dump() const
Dump this node, for debugging.
FunctionPass * createNios2ISelDag(Nios2TargetMachine &TM, CodeGenOpt::Level OptLevel)
Represents one node in the SelectionDAG.
SelectionDAGISel - This is the common base class used for SelectionDAG-based pattern-matching instruc...
StringRef - Represent a constant reference to a string, i.e.