search for: foodagisel

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

2017 Nov 02
2
RFC: Splitting <Target>DAGISel.inc into declarations and definitions
Hi, Currently, TableGen generates all the instruction selection functions (in the .inc file) as if they were 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 i...