Transform a translation unit.
(specialize-transunit tunit target-fn target-param const) → new-tunit
Function:
(defun specialize-transunit (tunit target-fn target-param const) (declare (xargs :guard (and (transunitp tunit) (identp target-fn) (identp target-param) (exprp const)))) (let ((__function__ 'specialize-transunit)) (declare (ignorable __function__)) (b* (((transunit tunit) tunit)) (transunit (specialize-extdecl-list tunit.decls target-fn target-param const)))))
Theorem:
(defthm transunitp-of-specialize-transunit (b* ((new-tunit (specialize-transunit tunit target-fn target-param const))) (transunitp new-tunit)) :rule-classes :rewrite)