NaplesPUISelDAGToDAG.cpp
From NaplesPU Documentation
The NuPlusDAGToDAGISel class is used to transform target independent LLVM DAG nodes into platform dependent nodes. The class implements the following methods:
- The SelectADDRri, used to handle the nu+ addressing modes (similar to SPARC). The name of this method must be compliant with the third parameter of the ComplexPattern instances defined in the beginning of the NuPlusInstrFormats.td file. Basically, if the node is a FrameIndexSDNode, the address is evaluated as base address + offset.