NaplesPUISelDAGToDAG.cpp

From NaplesPU Documentation
Revision as of 18:16, 3 July 2018 by Edo (talk | contribs) (Created page with "The NuPlusDAGToDAGISel class is used to transform target independent LLVM DAG nodes into platform dependent nodes. The class implements the following methods: * The '''Select...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.