Use the function template getSubtarget off of the machine function,