Add SelectionDAG::getTargetIndex.