template patterns w/ Tablegen

Is there any way to write patterns in Tablegen so that the same pattern can be used for a SDNode, Intrinsic and PatFrag nodes? Having to duplicate everything three times is messy and annoying to maintain.

Maybe template patterns?

Thanks,

Micah