Basic constructor macro for vl-immdepgraph structures.
(make-vl-immdepgraph [:all-okp <all-okp>] [:deps <deps>] [:reportcard <reportcard>])
This is the usual way to construct vl-immdepgraph structures. It simply conses together a structure with the specified fields.
This macro generates a new vl-immdepgraph structure from scratch. See also change-vl-immdepgraph, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-vl-immdepgraph (&rest args) (std::make-aggregate 'vl-immdepgraph args '((:all-okp . t) (:deps) (:reportcard)) 'make-vl-immdepgraph nil))
Function:
(defun vl-immdepgraph (all-okp deps reportcard) (declare (xargs :guard (and (booleanp all-okp) (vl-depgraph-p deps) (vl-reportcard-p reportcard)))) (declare (xargs :guard t)) (let ((__function__ 'vl-immdepgraph)) (declare (ignorable __function__)) (b* ((all-okp (mbe :logic (acl2::bool-fix all-okp) :exec all-okp)) (deps (mbe :logic (vl-depgraph-fix deps) :exec deps)) (reportcard (mbe :logic (vl-reportcard-fix reportcard) :exec reportcard))) (cons :vl-immdepgraph (std::prod-cons all-okp (std::prod-cons deps reportcard))))))