(vl-description->minloc x) → minloc
Function:
(defun vl-description->minloc (x) (declare (xargs :guard (vl-description-p x))) (let ((__function__ 'vl-description->minloc)) (declare (ignorable __function__)) (b* ((x (vl-description-fix x))) (case (tag x) (:vl-module (vl-module->minloc x)) (:vl-udp (vl-udp->minloc x)) (:vl-interface (vl-interface->minloc x)) (:vl-package (vl-package->minloc x)) (:vl-program (vl-program->minloc x)) (:vl-config (vl-config->minloc x)) (:vl-typedef (vl-typedef->minloc x)) (:vl-taskdecl (vl-taskdecl->loc x)) (:vl-fundecl (vl-fundecl->loc x)) (:vl-paramdecl (vl-paramdecl->loc x)) (:vl-import (vl-import->loc x)) (:vl-fwdtypedef (vl-fwdtypedef->loc x)) (otherwise (progn$ (impossible) *vl-fakeloc*))))))
Theorem:
(defthm vl-location-p-of-vl-description->minloc (b* ((minloc (vl-description->minloc x))) (vl-location-p minloc)) :rule-classes :rewrite)