Basic constructor macro for svex-override-triple structures.
(make-svex-override-triple [:testvar <testvar>] [:valvar <valvar>] [:valexpr <valexpr>])
This is the usual way to construct svex-override-triple structures. It simply conses together a structure with the specified fields.
This macro generates a new svex-override-triple structure from scratch. See also change-svex-override-triple, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-svex-override-triple (&rest args) (std::make-aggregate 'svex-override-triple args '((:testvar) (:valvar) (:valexpr)) 'make-svex-override-triple nil))
Function:
(defun svex-override-triple (testvar valvar valexpr) (declare (xargs :guard (and (svar-p testvar) (svar-p valvar) (svex-p valexpr)))) (declare (xargs :guard t)) (let ((__function__ 'svex-override-triple)) (declare (ignorable __function__)) (b* ((testvar (mbe :logic (svar-fix testvar) :exec testvar)) (valvar (mbe :logic (svar-fix valvar) :exec valvar)) (valexpr (mbe :logic (svex-fix valexpr) :exec valexpr))) (list testvar valvar valexpr))))