search for: dagisel_decl

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

2017 Nov 02
2
RFC: Splitting <Target>DAGISel.inc into declarations and definitions
...their .cpp file into smaller pieces, each such .cpp would contain these function bodies (which would then be needlessly compiled multiple times). What I propose is to have TableGen emit information that would allow something like this: class FooDAGToDAGISel : public SelectionDAGISel { #define DAGISEL_DECL #include "FooDAGISel.inc" #undef DAGISEL_DECL }; #define DAGISEL_BODY(FooDAGToDAGISel) #include "FooDAGISel.inc" #undef DAGISEL_BODY This would allow only putting member declarations in the class definition, and then include the member bodies in a single place. What does eve...