search for: fooiseldagtodag

Displaying 1 result from an estimated 1 matches for "fooiseldagtodag".

2017 Nov 02
2
RFC: Splitting <Target>DAGISel.inc into declarations and definitions
...top-most functions. To make them members of their corresponding SelectionDAGISel derivative, each target has to include the .inc file directly into the body of the class: --- FooDAGISel.inc --- void SelectCode(Node *N) { // 1E6 lines of pattern matching code } ... ---------------------- --- FooISelDAGToDAG.cpp --- class FooDAGToDAGISel : public SelectionDAGISel { #include "FooDAGISel.inc" }; --------------------------- If someone wanted to put the class definition in a separate header file, the large .inc file would need to be included in that header. If that someone then wanted to split...